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 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 were

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-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 c

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 work

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: http://forum.openscenegraph.org/viewtopic.php?p=33

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 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 that > tells me which version I a

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 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 addIntersector() function of the > osgUt

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

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