Installing HeeksCAD in Debian 8.0

Just follow these instructions:
https://code.google.com/p/heekscad/wiki/BuildDebianPackages

And replace libwxgtk2.8-dev by libwxgtk3.0-dev as explained below.

First, download source code, compile and install libarea:

$ sudo apt-get install subversion build-essential debhelper cmake libboost-python-dev
$ svn checkout http://libarea.googlecode.com/svn/trunk/ libarea
$ cd libarea/
$ dpkg-buildpackage -b -us -uc
$ cd ..
$ sudo dpkg -i libarea*.deb python-area*.deb

Install dependences libraries for heekscad:

$ sudo apt-get install liboce-visualization-dev libwxgtk3.0-dev libgtkglext1-dev python-dev

Download heekscad source code:

$ svn checkout http://heekscad.googlecode.com/svn/trunk/ heekscad

Edit debian/control replacing libwxgtk2.8-dev dependence by libwxgtk3.0-dev:
$ cd heekscad/
$ vi debian/control
Rename libwxgtk2.8-dev to libwxgtk3.0-dev

Finally compile and install heekscad:

$ dpkg-buildpackage -b -us -uc
$ cd ..
$ sudo apt-get install wx3.0-i18n
$ sudo dpkg -i *heeks*.deb
Advertisements

2 thoughts on “Installing HeeksCAD in Debian 8.0

  1. tried this on debian jessie and all worked until the last step (of course) when dpkg-buildpackage failed with..

    /home/eric/heekscad/interface/Geom.cpp:1168:107: note: candidate is:
    In file included from /usr/include/oce/BRepAdaptor_Curve.hxx:13:0,
    from /home/eric/heekscad/src/stdafx.h:76,
    from /home/eric/heekscad/interface/Geom.cpp:5:
    /usr/include/oce/gp_Trsf.hxx:207:26: note: void gp_Trsf::SetValues(Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real, Standard_Real)
    Standard_EXPORT void SetValues (const Standard_Real a11, const Standard_Real a12, const Standard_Real a13, const Standard_Real a14, const Standard_Real a21, const Standard_Real a22, const Standard_Real a23, const Standard_Real a24, const Standard_Real a31, const Standard_Real a32, const Standard_Real a33, const Standard_Real a34) ;
    ^
    /usr/include/oce/gp_Trsf.hxx:207:26: note: candidate expects 12 arguments, 14 provided
    interface/CMakeFiles/heeksintf.dir/build.make:80: recipe for target ‘interface/CMakeFiles/heeksintf.dir/Geom.cpp.o’ failed
    make[3]: *** [interface/CMakeFiles/heeksintf.dir/Geom.cpp.o] Error 1
    make[3]: Leaving directory ‘/home/eric/heekscad/obj-x86_64-linux-gnu’
    CMakeFiles/Makefile2:78: recipe for target ‘interface/CMakeFiles/heeksintf.dir/all’ failed
    make[2]: *** [interface/CMakeFiles/heeksintf.dir/all] Error 2
    make[2]: Leaving directory ‘/home/eric/heekscad/obj-x86_64-linux-gnu’
    Makefile:140: recipe for target ‘all’ failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory ‘/home/eric/heekscad/obj-x86_64-linux-gnu’
    dh_auto_build: make -j1 returned exit code 2
    debian/rules:8: recipe for target ‘build’ failed

    I know this is getting an old blog, but any help appreciated as I have no idea what to do from here
    Eric

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s