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_ofstream<char,struct 
std::char_traits<char> >::`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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to