Missing libraries while compiling FreeCAD

Forums: 

Hello,

I'm trying to compile FreeCAD after I compiled OpenCascade but I have some missing libraries (see the output: http://pastie.org/private/cv678ipsqskobbdjaqia), 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's picture

Hello Julien,

It looks like OpenCascade Visualization component has not been compiled; check the configure output when compiling OpenCascade, it should tell why.

julienguigner's picture

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's picture

It should work when calling configure --with-freetype=/usr

julienguigner's picture

Ok, it works now, thanks for your help and the patches ;)