[osg-users] Linking error on Windows with SVN Trunk: Traits constructor is unresolved.

Paul Martz pmartz at skew-matrix.com
Thu Nov 12 14:25:37 PST 2009


This is a pending submission. Please see the osg-submissions post by me 
with subject "osgViewer Wn32 GL3 context creation".

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



Vincent Gadoury wrote:
> Hi,
> 
> I just updated from SVN Trunk (revision 10745) and I get many link error 
> about the osg::GraphicsContext::Traits constructor as an unresolved 
> symbol (from osgViewer and some other projects). I'm on Windows Vista, 
> with Visual Studio 2005. I did regenerate the projects with cmake, did a 
> clean and full rebuild, rebuilt specifically GraphicsContext.cpp and the 
> osg library, nothing helped. The Traits constructor never appears in 
> osgd.lib/.dll.
> 
> I tried adding an OSG_EXPORT in front of the Traits class 
> (GraphicsContext line 69) and it fixed the build.
> 
> Does anyone has the same issue, or am I doing something wrong?
> 
> Thanks,
> 
> Vincent Gadoury
> 
> _______________________________________________
> 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