Hi Ethan,
There's a semicolon to much in here:
> Error 1 error LNK1181: cannot open input file ';/FORCE:MULTIPLE.obj'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\src\vpb\LINK vpb
^
...don't know why but it causes the linker to think you want it linked.
Try the easy solution and just set /FORCE:MULTIPLE in visual studio.
It's in the Linker properties. I'm not near a windows computer so
can't point better. The setting will disappear next time you CMake
configure/generate.
/Mattias
On Thu, Sep 8, 2011 at 3:40 PM, Ethan Fahy <[email protected]> wrote:
> First, thanks Mattias and Chris for your comments, I really appreciate them.
> I tried the following based on your tips:
>
> 1. installed VS2010 SP1 -> same errors as before
>
> 2. inserted the force multiple code block into the CMake file->recreated VPB
> sln file->different errors on build (both debug and release) as follows:
> Error 1 error LNK1181: cannot open input file ';/FORCE:MULTIPLE.obj'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\src\vpb\LINK vpb
> Error 2 error LNK1181: cannot open input file
> '..\..\lib\Release\vpb.lib'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\applications\vpbsizes\LINK
> Applications vpbsizes
> Error 3 error LNK1181: cannot open input file
> '..\..\lib\Release\vpb.lib'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\applications\vpbcache\LINK
> Applications vpbcache
> Error 4 error LNK1181: cannot open input file
> '..\..\lib\Release\vpb.lib'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\applications\osgdem\LINK
> Applications osgdem
> Error 5 error LNK1181: cannot open input file
> '..\..\lib\Release\vpb.lib'
> C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\applications\vpbmaster\LINK
> Applications vpbmaster
>
> 3. downloaded both release and debug 3rdparty dependencies directories from
> same location as I got my precompiled OSG binaries, however this 3rdparty
> distribution does not contain precompiled GDAL binaries, which is the only
> 3rdparty OSG library that VPB needs as far as I can tell. Any recommendation
> for a VPB-compatible precompiled GDAL?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42536#42536
>
>
>
>
>
> _______________________________________________
> 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