Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Missing libraries while compiling FreeCAD

Missing libraries while compiling FreeCAD
Julien Guigner 2011/08/10 21:11

I'm trying to compile FreeCAD after I compiled OpenCascade but I have some missing libraries (see the output:, so:
/usr/bin/ld: cannot find -lTKService
/usr/bin/ld: cannot find -lTKMeshVS

It's on Fedora 15, latest version of OpenCascade.

How can I compile this libraries ?

Denis Barbier 2011/08/10 21:52
Hello Julien,

It looks like OpenCascade Visualization component has not been compiled; check the configure output when compiling OpenCascade, it should tell why.
Julien Guigner 2011/08/11 20:25
Hello Denis,

So I was missing Xmu-devel, now I can't compile OpenCascade anymore, I got a few errors I fixed with a couple of your patches I found here, but I've still one error:

In file included from /usr/include/FTGL/ftgl.h:32:0,
from ../../../inc/OpenGl_FontMgr.hxx:10,
from ../../../src/OpenGl/OpenGl_FontMgr.cxx:1:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory

I've added the path to Freetype as a parameter for ./configure but it doesn't work… so I don't know why it doesn't work.
Denis Barbier 2011/08/11 23:56
It should work when calling configure --with-freetype=/usr
Julien Guigner 2011/08/12 10:45
Ok, it works now, thanks for your help and the patches ;)
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map