[CMake] CMake -fPIC
ami guru
dosto.walla at gmail.com
Thu Nov 13 21:06:46 EST 2008
Hello,
now i built the static FTGL library and worked fine.
But get a new type of error while compiling the H3D API that uses CMake
*****************************************************
[100%] make[2]: *** No rule to make target `/usr/lib/libftgl.a', needed by
`libH3DAPI.so.2.0.0'. Stop.
make[2]: *** Waiting for unfinished jobs....
Building CXX object
CMakeFiles/H3DAPI.dir/home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/src/LocalFog.cpp.o
/usr/bin/c++ -DH3DAPI_EXPORTS -fPIC -I/usr/local/include
-I/home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/build/../include
-I/usr/include/python2.5 -I/usr/include/AL -I/usr/include/freetype2
-DH3DAPI_EXPORTS -o
CMakeFiles/H3DAPI.dir/home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/src/LocalFog.cpp.o
-c /home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/src/LocalFog.cpp
make[2]: Leaving directory
`/home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/build'
make[1]: *** [CMakeFiles/H3DAPI.dir/all] Error 2
make[1]: Leaving directory
`/home/sajjad/downloads/H3D/H3Dsvn/trunk/H3DAPI/build'
make: *** [all] Error 2
*****************************************************
libftgl.a is found in the /usr/local/lib
Strange that it is looking for that in the /usr/lib
How to change that path with in the CMakefileLists.txt
Regards
Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081114/2d1e803f/attachment.htm>
More information about the CMake
mailing list