Hi, Thanks for the suggestions. I have checked that both are built with the same options, including the 3rd part dependencies, and as far as I can tell, they all are. I did end up using the /FORCE:MULTIPLE option but I really don't like just ignoring the issue. For now I have moved back to VS 2008 as I have run out of time to get things working. Hopefully I will get a chance to look at it again soon as this was the final hurdle to having everything building correctly.
Cheers, Brad From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Cory Riddell Sent: Wednesday, 16 June 2010 11:37 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Visual Studio 2010 and VPB On 6/16/2010 3:10 AM, Christiansen, Brad wrote: Hi, I have managed to build OSG (and 3rd party dependencies) using Visual Studio 2010 but I have hit a snag with VPB. The error has been reported before by Matrin Naylor, but there didn't seem to be any resolution. The error is: 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: void __thiscall std::basic_ofstream<char,struct std::char_traits<char> >::`vbase destructor'(void)" (??_d?$basic_ofstr...@du?$char_traits@d...@std@@@std@@QAEXXZ) already defined in SpatialProperties.obj 1> Creating library D:/adi_vsfz/projects/OSG/osg-trunk-2010/vpb-build/lib/Release/vpb.lib and object D:/adi_vsfz/projects/OSG/osg-trunk-2010/vpb-build/lib/Release/vpb.exp 1>D:\adi_vsfz\projects\OSG\osg-trunk-2010\vpb-build\lib\Release\vpb.dll : fatal error LNK1169: one or more multiply defined symbols found You can always tell the linker to ignore the problem with /FORCE:MULTIPLE. I'd only do that as a last resort though because there might actually be a problem here. Are both projects compiled with VS2010 with the same settings? Cory DISCLAIMER:--------------------------------------------------------------------------- This e-mail transmission and any documents, files and previous e-mail messages attached to it are private and confidential. They may contain proprietary or copyright material or information that is subject to legal professional privilege. They are for the use of the intended recipient only. Any unauthorised viewing, use, disclosure, copying, alteration, storage or distribution of, or reliance on, this message is strictly prohibited. No part may be reproduced, adapted or transmitted without the written permission of the owner. If you have received this transmission in error, or are not an authorised recipient, please immediately notify the sender by return email, delete this message and all copies from your e-mail system, and destroy any printed copies. Receipt by anyone other than the intended recipient should not be deemed a waiver of any privilege or protection. Thales Australia does not warrant or represent that this e-mail or any documents, files and previous e-mail messages attached are error or virus free. --------------------------------------------------------------------------------------
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org