[osg-users] unresolved symbol error with release mode build?

Paul Martz pmartz at skew-matrix.com
Wed Mar 4 19:13:36 PST 2009


I've noticed that I must explicitly link with OT since about 2.7.5 or so.
Something changed in OT that made this a requirement. Not sure why this
would be different Debug versus Release, but I imagine it might be related
to inlining.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Cory
Riddell
Sent: Wednesday, March 04, 2009 4:48 PM
To: OpenSceneGraph Users
Subject: [osg-users] unresolved symbol error with release mode build?

Today I switched my compiler settings over to test performance in release
mode. For some reason, I'm getting an unresolved external symbol linker
error for OpenThreads::Atomic::operator++(void). As far as I know, I'm not
using any of the OpenThreads stuff explicitly, so I assume it is used
internally by OSG.

Any reason why I would need to like with OpenThreads.lib for a release build
but not a debug build?

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




More information about the osg-users mailing list