Hi, As mentioned before, I also had the same issue linking VPB (but not my own application). I also ended up resorting to adding /FORCE:MULTIPLE. This was all done using CMake 2.8.1. I will try with 2.8.2 as you suggested. Did you have to rebuild OSG from scratch to resolve the issue?
Cheers, Brad -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Frederic Bouvier Sent: Saturday, 7 August 2010 12:16 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Visual Studio 2010 and iostream This error is gone with CMake 2.8.2 -Fred ----- "Martin Naylor" a écrit : > Hi Fred, > Arrrr that explains why I don’t see errors... > I am still using vs2008 as VS2010 seems to leave the exe files in the > bin and lib folders whenever I build and I had funny linker errors > last time ( a few months back). > > I might have a go at building flightgear later, let you know how it > goes or doesn’t! > > Regards > > Martin. > > -----Original Message----- > From: osg-users-boun...@lists.openscenegraph.org > [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of > Frederic Bouvier > Sent: 06 August 2010 15:21 > To: OpenSceneGraph Users > Subject: Re: [osg-users] Visual Studio 2010 and iostream > > Hi Martin, > > to be precise, I don't see any errors when building OSG. The problem > arise when liking the application (here, it is FlightGear). I use 3rd > party libs already used for the VS2008 build. VS2010 is used to build > OSG and FlightGear. > > -Fred > > ----- "Martin Naylor" a écrit : > > > Interesting, I have just managed to build it VS2010 with no problems > > using 2008 libaries. > > You could try using CMake to generate 2008 projects files and > convert > > them to 2010 using VS2010, see if it makes a difference? > > > > Regards > > > > Martin. > > > > > > -----Original Message----- > > From: osg-users-boun...@lists.openscenegraph.org > > [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of > > Frederic Bouvier > > Sent: 06 August 2010 13:44 > > To: osg-users@lists.openscenegraph.org > > Subject: Re: [osg-users] Visual Studio 2010 and iostream > > > > Hi Jason, > > > > ----- "Jason Alexander" a écrit : > > > > > Recently Brad Christiansen uploaded some 3rd party binaries built > > with > > > Visual Studio 2010. (Thanks!) He noted problems with iostream. > I > > > still have iostream problems when linking in OSG into my > application > > > in specific places under Visual Studio 2010. Does anyone > understand > > > what the issue is? > > > > > > Originally, I thought that the 3rd party libraries I was using > were > > > built with a previous version of VS and, thus, caused these > linking > > > issues when rolled into my application. I would have thought that > > > using 3rd party libraries totally built with vs2010 would have > > > resolved this, but Brad even noted this problem when he originally > > > posted the binaries. Any insight would be appreciated! > > > > I also encountered these issues. I ended up adding /FORCE:MULTIPLE > to > > my link arguments. There is a field for that in the link topic of > the > > project properties. > > > > -Fred > > _______________________________________________ > > 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 > _______________________________________________ > 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 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 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