Hi forum,

I compiled OpenSceneGraph using CMake with debug mode. and I installed
another plugin osgCompute with the same configuration. But i m having the
following linking error :

///////////////////////////////////////////////////////////////////////////////////////

Linking CXX executable ../../../bin/osgOpenCLEndiannessDemod
cd
/home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/examples/osgOpenCLEndiannessDemo/src
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/example_osgOpenCLEndiannessDemo.dir/link.txt --verbose=1
/usr/bin/c++   -g
 CMakeFiles/example_osgOpenCLEndiannessDemo.dir/main.cpp.o  -o
../../../bin/osgOpenCLEndiannessDemod -rdynamic
../../../lib/libosgComputed.so ../../../lib/libosgOpenCLd.so
/usr/local/lib/libOpenThreadsd.so /usr/local/lib/libosgd.so
/usr/local/lib/libosgUtild.so -lOpenCL ../../../lib/libosgComputed.so
/usr/local/lib/libOpenThreadsd.so /usr/local/lib/libosgd.so
/usr/local/lib/libosgUtild.so /usr/local/lib/libosgDBd.so -lGLU -lGL -lSM
-lICE -lX11 -lXext
-Wl,-rpath,/home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/lib:/usr/local/lib:
../../../lib/libosgOpenCLd.so: undefined reference to `typeinfo for
osgViewer::GraphicsWindowX11'
collect2: ld returned 1 exit status
make[2]: *** [bin/osgOpenCLEndiannessDemod] Error 1
make[2]: Leaving directory
`/home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute'
make[1]: ***
[examples/osgOpenCLEndiannessDemo/src/CMakeFiles/example_osgOpenCLEndiannessDemo.dir/all]
Error 2
make[1]: Leaving directory
`/home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute'
make: *** [all] Error 2



//////////////////////////////////////////////////////////////////////////////////////////


The issue is already addressed in the OSG forum. And they suspected that
some parts of the code had been compiled with RTTI disabled.

Could you guys help me to find out how to find it out from within CMake if
it disabled or enabled and enable RTTI all through ?



Thanks
Sajjad
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to