Installation of HeeksCAD on LinuxCNC (or Debian)

Here I will explain how to install HeeksCAD on LinuxCNC who is a Debian system.

As you may already notice, HeeksCAD doesn’t have an installer *.deb for Debian on their website, but they offer you an oportunity to you to compile and install, and I will try to explain here how you can accomplish that because the lack of info on Heeks website to do that.

Until we start the installation, notice that each compilation can take few minutes to several hours, depending on your hardware.

First you should update your packages list,

sudo apt-get update

then install required dependecies,

 
sudo apt-get install build-essential debhelper cmake libboost-python-dev liboce-visualization-dev libwxgtk2.8-dev libgtkglext1-dev python-dev bzr git libboost-dev liboce-ocaf2 liboce-ocaf-dev oce-draw

and after that, choose a folder in your system(e.g. /home/foo/Downloads) and navigate to that folder, to download and compile,

 
cd /home/foo/Downloads

now download Libarea doing,

 
git clone https://github.com/Heeks/libarea.git

go to,

 
cd libarea

now compile through,

 
dpkg-buildpackage -b -us -uc

if the compilation was not successfull don’t panic(!), during the non successfull compile, you will have a reference in the end with the missing dependecie that you need to install, and to do that you should just do,

 
sudo apt-get install add_here_the_dependecie_name

and compile again, now you should be able to do that, unless you have more missing dependencies in your system, in that case repeat the dependecie install part.

Now go up in directory tree,

 
cd ..

and install both libarea and python-area, through,

sudo dpkg -i libarea*.deb python-area*.deb

after that, you must download HeeksCAD,

 
git clone https://github.com/Heeks/heekscad.git 

go to,

cd heekscad

compile,

 
dpkg-buildpackage -b -us -uc

If for some reason you still have missing dependencies and where not possible to compile HeeksCAD, repeat the same procedure that I have wrote before in Libarea compilation.

Now go up in directory tree,

 
cd ..

and install HeeksCAD, through,

 
sudo dpkg -i *heeks*.deb

and its done, just do,

heekscad

Screenshot - 02212018 - 12_34_19 PM

You will also have an entrie through GUI in “Graphics” for HeeksCAD.

Note: HeeksCAD was installed in a Debian 3.4.55-4 LinuxCNC i836.

One thought on “Installation of HeeksCAD on LinuxCNC (or Debian)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s