Thanks for the hint!

I tried to compile with verbose and i got the following output:


Code:

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





As you can see the linker output does not contain any flag -fno-rtti. 

Any further hint to get around this issue.

Thank you!

Regards,
Sajjadul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56808#56808





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to