Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv
Hi Yurii, I followed your instructions and rebuilt OSG libraries. Then I rebuilt my app and tried it. It worked. Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33476#33476 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] How to use the DatabasePager
Hi, I am converting an application that uses Performer to work with OpenSceneGraph in place of Performer. In my application, the paging is done by adding a Callback using pfDBaseFunc in which all paging is performed. I looked for a similar Callback in the DatabasePager class and could not find one. So, how can I convert the functionality of my pfDBaseFunc callback? Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33480#33480 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv
Hi Robert, I am linking with OpenThreads. About the Makfile: The application that I am trying run with intersection checks from OSG has its own Makefile that I do not want to change other than adding the includes and libraries from OSG. Since, that procedure is giving me the undefined symbol error I am now trying to compile and run the osgintersction example using your recommended build procedure for examples. I ran cmake and make in the OpenSceneGraph folder to create the libraries. However, there were no Makefiles generated for the examples. That's why I went to the OpenSceneGraph/examples/osgintersection folder and ran cmake. Then I run into cmake not recognizing SETUP_EXAMPLE project. What I like to know is whether you have the examples setup to have Makefiles created using cmake or we just write our own Makefile and link with the libraries just like I did with my application. If you have the examples set up to have Makefiles generated thru cmake, I probably am not following the correct procedure and that is probably why I am runni ng into the SETUP_EXAMPLE problem. Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33260#33260 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv
Hi, When I run my application (on Linux Debian) which has call to do intersection tests, I get: undefined symbol: ZN11OpenThreads6AtomicmmEv when the application is trying to call addIntersector() function of the osgUtil::IntersectorGroup. In my application's Makefile I only link with libOpenThreads.so, libosgDB.so and libosgTerrain.so. Is that not enough or is it some other problem? Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33104#33104 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv
Hi Robert, My debian version is 5.0.2. When I type gcc -v on my system the response is (along with bunch of other information): gcc version 4.3.2 (Debian 4.3.2-1.1). Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33150#33150 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv
Hi Robert, The problem may be in the way I am linking with OSG libs in my Makefile. To check that I tried to create a Makefile for the osgintersection example. when I run cmake I get the following: The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:7 (SETUP_EXAMPLE): Unknown CMake command SETUP_EXAMPLE. CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! Please help to get this resolved. Then I can check whether I can run this example in my system. If I am successful I will compare the Makefiles and hopefully that will resolve the udefined symbol problem. Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33157#33157 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org