Re: [osg-users] [vpb] Link error
Hi, Thanks Sebastian . This solved the problem :-) Finally I have my VPB binary on windows ... now start working :-) Thank you! Cheers, Tonino -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52916#52916 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Link error
I think this usually comes form mixing debug and release binaries, if I recall. On Thu, Feb 28, 2013 at 9:48 AM, Tonino Tarsi tony.ta...@gmail.com wrote: Hi, I'm trying to compile VTB ( 0.9.12 ) with Visual Studio 2010. Cmake and compilation went ok but I have this error Errore 1 error LNK2005: public: void __thiscall std::basic_ofstreamchar,struct std::char_traitschar ::`vbase destructor'(void) (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) già definito in SpatialProperties.obj C:\Sviluppo\OSG\VirtualPlanetBuilder-0.9.12\build\src\vpb\osgDB.lib(osg80-osgDB.dll) vpb Errore 2 error LNK1169: rilevato uno o più simboli definiti più volte C:\Sviluppo\OSG\VirtualPlanetBuilder-0.9.12\build\lib\Release\vpb.dll 1 1 vpb I use and compiled compiled OSG version 3.0.1 Thanks Cheers, Tonino -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52905#52905 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Link error
Hi Tonino, This is bug in Visual Studio. To get VPB linked (and possibly other tools) add /FORCE:Multiple to your linker options. This problem is annoying me too, but this seems mainly related to the OsgDB custom stream. cheers Sebastian Hi, I'm trying to compile VTB ( 0.9.12 ) with Visual Studio 2010. Cmake and compilation went ok but I have this error Errore 1 error LNK2005: public: void __thiscall std::basic_ofstreamchar,struct std::char_traitschar ::`vbase destructor'(void) (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) già definito in SpatialProperties.obj C:\Sviluppo\OSG\VirtualPlanetBuilder-0.9.12\build\src\vpb\osgDB.lib(osg80-osgDB.dll)vpb Errore 2 error LNK1169: rilevato uno o più simboli definiti più volte C:\Sviluppo\OSG\VirtualPlanetBuilder-0.9.12\build\lib\Release\vpb.dll 1 1 vpb I use and compiled compiled OSG version 3.0.1 Thanks Cheers, Tonino -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52905#52905 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org