[CMake] CMake -fPIC

Andreas Pakulat apaku at gmx.de
Thu Nov 13 20:00:33 EST 2008


On 14.11.08 00:43:23, ami guru wrote:
> Hello
> 
> Sorry again for providing the wrong info.
> 
> FTGL is not compiled using -fPIC ,
> 
> I installed the debian package for that.

IIRC you can get this error when you try to link a shared lib into a
static library. Thats simply not supported on all platforms, one which is
x86_64 IIRC. So either create a shared library or get a static build of
FTGL.

Andreas
 
-- 
You'll never see all the places, or read all the books, but fortunately,
they're not all recommended.


More information about the CMake mailing list