[Solved] Failed compilation on Debian

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
fcaduser
Posts: 448
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [Solved] Failed compilation on Debian

Post by fcaduser »

Thank for the hint.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Failed compilation on Debian

Post by bernd »

On a fresh Debian Stretch OCCT 7.2 self compiled but installed on /opt/local/FreeCAD-0.17/ I run in similar trouble. Cmake and compiling of FreeCAD runs smooth, FreeCAD starts but on a change to Part WB there is a libTK...so missing.

wmayer wrote: Tue Sep 05, 2017 5:56 pm Could it be that you have the RPATH option disabled when building OCC? In this case you can use LD_LIBRARY_PATH and set it to:

Code: Select all

export LD_LIBRARY_PATH=~/softwares/occt/lib:$LD_LIBRARY_PATH
this one helped. AFAIK I did not disable any RPATH option.

For me it is

Code: Select all

export LD_LIBRARY_PATH=/opt/local/FreeCAD-0.17/lib:$LD_LIBRARY_PATH
Post Reply