Hi,

I grabbed the svn root of VPB yesterday and have been trying to build it from 
source using CMake and Visual Studio 2010.  I am using precompiled 
OpenSceneGraph 3.0.0 binaries and dependencies (which include gdal)
I was able to configure and generate a Visual Studio 2010 project using CMake 
and the latest VPB src without any errors or warnings, but when I try to build 
the project in Visual Studio 2010, I get the following error:
Error   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) 
already defined in SpatialProperties.obj 
C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\src\vpb\osgDBd.lib(osg80-osgDBd.dll)
   vpb

The file osgDBd.lib does not exist at the path in the error.  It does appear in 
my OSG3.0.0 installation directory.  This library is found in its correct place 
by CMake before generating the VS2010 project.  

I am pretty new to developing for Windows and this is only my second Visual 
Studio/CMake project so I could be making an obvious error but I thought I'd 
post this just to see if anyone had successfully build the latest VPB that is 
in svn/root that supposedly OSG3.0.0 compatible?  I'd hate to spend a ton of 
time spinning my wheels on this if I would be better off waiting for the 
official VSP1.0.0 release.  Any advice or thoughts are most appreciated.


Thank you!

Cheers,
Ethan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42501#42501





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

Reply via email to