Hi Yagor, The osgplanets example will be getting the core OSG library dependencies via the OpenSceneGraph.dsw workspace file. For your own projects you'll need to explicitly specify the various osg .libs.
Robert. On 11/26/06, Yegor Plam at RR <[EMAIL PROTECTED]> wrote:
I tried to create a new project by copying osgplanets to osgplanets_X and putting its own versions of the corresponding .h and .cpp files. I got a bunch of unresolved symbols when trying to build. I compared the properties of the original and the _X projects. Although I could find no differences in the areas where you actually specify this or that, I found one (and the reason for link failure) in Config Properties/Linker/Command Line: The original has these: "\Osg\OpenSceneGraph\lib\Win32\osgd.lib \Osg\OpenSceneGraph\lib\Win32\osgGAd.lib \Osg\OpenSceneGraph\lib\Win32\osgUtild.lib \Osg\OpenSceneGraph\lib\Win32\osgProducerd.lib \Osg\OpenSceneGraph\lib\Win32\osgDBd.lib", while the _X does not. I can't figure where to specify these lib's as linker inputs in the _X project. Or why they're not already there, since it's a copy of the original. Can anybody shine a light on this? Thanks. -Yegor _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
