. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Just for record, steps of how I installed. These are instructions for newbie -machinists, such as me :D
    - it was not plain sailing for me, in particular with Heekscnc and Heekscad.
    - There are probably other ways of doing it, but these worked for me, with Linuxcnc Ubuntu, 10.04.

    - Initially I tried using steps from here
    UbuntuInstallation - heekscad - How to build and install HeeksCAD and related projects for Ubuntu - Free CAD based on Open CASCADE - Google Project Hosting
    ...however got all sorts of errors, in a number of places, for example,
    # ----------------------- begin list of errors ---------------------------
    E: Package git has no installation candidate
    make: *** No rule to make target `package'. Stop.
    Could not find module FindOCE.cmake or a configuration file for package
    OCE.

    Adjust CMAKE_MODULE_PATH to find FindOCE.cmake or set OCE_DIR to the
    directory containing a CMake configuration file for OCE. The file will
    have one of the following names:

    OCEConfig.cmake
    oce-config.cmake
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND
    FTGL_INCLUDE_DIR
    Package python-wxgtk2.8 is not installed
    heekscad: error while loading shared libraries: libTKVRML.so.5: cannot open shared object file: No such file or directory

    # ----------------------- begin list of end ---------------------------


    However, here are steps that one did today 2013-01-06, got them working nice:

    1. Install a clean Ubuntu 10.04. "LinuxCNC" -version
    - had done this step before here:
    http://www.mycncuk.com/forums/mill-b...html#post29153

    2. Install Heekscad and Heekscnc - with their pre-requisities
    - so we have an un-touched Ubuntu 10.04 -installation before these steps.
    - all commands below are executed on command -prompt as linux "root" -user


    apt-get install emacs # install my favourite editor
    # install some pre-requisities:
    apt-get install git-core subversion libwxbase2.8-dev cmake build-essential libopencascade-dev libwxgtk2.8-dev libgtkglext1-dev python-dev cmake libboost-python-dev

    # Install some more pre-requisities:
    apt-get install python-wxgtk2.8 python-wxversion


    # Retrieve source -files
    mkdir /mycnc
    cd /mycnc
    git clone --recursive git://github.com/Heeks/heekscad.git
    cd /mycnc/heekscad
    git clone --recursive git://github.com/Heeks/heekscnc.git
    git clone --recursive git://github.com/Heeks/libarea.git
    git clone --recursive git://github.com/Heeks/libactp.git
    git clone --recursive https://github.com/sliptonic/opencamlib.git
    git clone --recursive git://github.com/tpaviot/oce.git

    # Continue still in directory
    # /mycnc/heekscad
    sudo apt-get -y install libftgl-dev
    ldconfig

    # OCE -installation:
    cd /mycnc/heekscad/oce/
    # Read instructions if you feel like it
    # more INSTALL.Unix
    mkdir build
    cd build
    cmake ..
    # Give one (1) only of two commands below
    make
    # Or, alternatively
    # make -j2
    # to enable multiprocessed compilation and speedup the whole compilation
    # process.

    make install/strip


    # That is OCE -installation done.

    # HeeksCNC uses a number of libraries to perform various operations. Install all of them or
    # only the ones you plan to use.
    # Install libarea
    #
    # area.so is required for pocket operations.

    cd /mycnc/heekscad/libarea/
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    make
    make install


    # Install libactp
    # actp.so is required for adaptive roughing operations.
    # This may be removed from git soon thus you may want to skip it

    cd /mycnc/heekscad/libactp/PythonLib
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    make
    make install


    # Install opencamlib
    # opencamlib is the replacement for pycam. It's required for zigzag operations.

    cd /mycnc/heekscad/opencamlib/src
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    cmake .
    make
    make install


    # Install heekscnc:
    cd /mycnc/heekscad/heekscnc/
    cmake .
    make package
    sudo dpkg -i heekscnc_*.deb # only one .deb to install, but the filename may change


    # Install heekscad:
    cd /mycnc/heekscad
    cmake .
    make package
    sudo dpkg -i heekscad*.deb #only one .deb to install, but the filename may change

    # Give command:
    ldconfig

    # Let's start our newly installed heekscad / heekscnc:
    heekscad


    DONE.


    By default, it seems G0 -button (Postprocess) is missing (due to a bug) from Heekscad.
    Click image for larger version. 

Name:	G0-missing.Screenshot.png 
Views:	1014 
Size:	111.4 KB 
ID:	7877
    # To find that missing G0 -button, change from options ---> tool icon size to smaller (eg. 16) and then larger again
    Click image for larger version. 

Name:	G0_button_missing2.png 
Views:	938 
Size:	130.1 KB 
ID:	7878

    # ...and the button appears on top right hand corner of toolbar:
    Click image for larger version. 

Name:	G0buttonback.png 
Views:	630 
Size:	113.6 KB 
ID:	7879


    Thanks for reading and have fun

  2. The Following 2 Users Say Thank You to diy-john For This Useful Post:


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mach3 vs LinuxCNC/EMC What do you use and why?
    By Lee Roberts in forum Machine Control Software
    Replies: 46
    Last Post: 26-11-2013, 01:02 AM
  2. How many LinuxCNC/EMC users do we have?
    By birchy in forum LinuxCNC (EMC)
    Replies: 16
    Last Post: 30-12-2012, 08:08 PM
  3. Aspire tutorials supplied with the installation dvd
    By habibuzziwa in forum CAD & CAM Software
    Replies: 4
    Last Post: 17-11-2012, 03:38 PM
  4. Setting up LinuxCNC (Linux newbe)
    By Mad Professor in forum LinuxCNC (EMC)
    Replies: 1
    Last Post: 04-03-2012, 09:22 PM
  5. FOR SALE: For sale Boxford 125 part converted pc mack / ubuntu EMC
    By Steve Beale in forum Items For Sale
    Replies: 0
    Last Post: 19-03-2011, 09:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •