:: [DNG] Compile FreeCAD
Top Pagina
Delete this message
Reply to this message
Auteur: Hughe Chung
Datum:  
Aan: dng
Onderwerp: [DNG] Compile FreeCAD
Hi,

I followed the build instruction of FreeCAD on the page.
(http://freecadweb.org/wiki/index.php?title=CompileOnUnix
) It pulls alot of packages.

libcoin80-dev
liboce*-dev (opencascade community edition)
oce-draw

Additional packages are:
libmedc-dev
libvtk6-dev
libproj-dev

It will fix "CMake can't fint VTK"

Create a symbolic link file
$ sudo ln -s /usr/lib/mesa/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libGL.so

It will fix the build error.

$ make
make[2]: *** No rule to make target
'/usr/lib/x86_64-linux-gnu/libGL.so', needed by 'lib/libDriver.so'.
Stop.
CMakeFiles/Makefile2:304: recipe for target
'src/3rdParty/salomesmesh/CMakeFiles/Driver.dir/all' failed
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/Driver.dir/all] Error
2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

The FreeCAD version information I have:

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9809 (Git)
Build type: Release
Branch: master
Hash: 36e1d072a62e258abcc163a155cf0e0a5c41f035
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0