Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-11-04 Thread Huron Sam Perera
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

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-29 Thread Huron Sam Perera
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

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-29 Thread Yurii Monakov
Hi Huron, I've experienced the same problems with unresolved symbols from OpenTreads. The problem was solved by full rebuild of OSG. Just delete CMake cache, reconfigure and build. Once I've fought unexpected runtime errors (segmentation faults) in simple OSG apps (even in examples) and they

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Robert Osfield
Hi Huron, On Wed, Oct 27, 2010 at 1:02 AM, Huron Sam Perera hsper...@bellhelicopter.textron.com wrote: 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

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Robert Osfield
Hi Huron, On Wed, Oct 27, 2010 at 5:49 PM, Huron Sam Perera hsper...@bellhelicopter.textron.com wrote: I added libosg.so and I still get the unresolved symbol. To answer your other questions: Yes, I built OSG myself. I think I am using 2.8.3. By the way, is there any file in the dowload

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Huron Sam Perera
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:

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Huron Sam Perera
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

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Ulrich Hertlein
Hi Huron, On 28/10/10 9:17 , Huron Sam Perera wrote: The problem may be in the way I am linking with OSG libs in my Makefile. This may be a silly question, but are you linking OpenThreads? I usually link with '-L/usr/local/lib -losgViewer -losgGA -losgDB -losgUtil -losg -lOpenThreads'. To