Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-09 Thread Mattias Helsing
Hi all

The previous post had a CMake snippet that was bad. Here's one that
actually works:

# with visual studio 2010 we get multiply defined symbols
if(MSVC)
  if(${MSVC_VERSION} STREQUAL 1600)
message(Visual Studio 2010 (${MSVC_VERSION}) build fix at play
(/FORCE:MULTIPLE))
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
/FORCE:MULTIPLE)
  endif()
endif()


sorry
Mattias

On Wed, Sep 7, 2011 at 9:51 PM, Mattias Helsing helsin...@gmail.com wrote:
 Hello Ethan

 I wonder if you have hit a problem reported earlier. see:

 http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-August/044528.html

 It is reported as a bug in msvc, and I haven't tracked it for a while.
 Try and set /FORCE:MULTIPLE in the linker param section for the vpd
 library

 A more long lasting solution is to set this in a CMakeLists.txt:
 if(MSVC)
  if(${MSVC_VERSION} STREQUAL 1600)
    message(msvc2010 build fix /FORCE:MULTIPLE)
    set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} /FORCE:MULTIPLE)
  endif()
 endif()

 I don't have the sp1 for my msvc2010 so I don't know if it fixes this issue

 cheers
 Mattias

 On Wed, Sep 7, 2011 at 8:56 PM, Ethan Fahy ethanf...@gmail.com wrote:
 I am using the following:
 OSG debug from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-debug-12681.7z
 OSG release from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-release-12681.7z
 OSG 3ryparty from here:
 http://members.iinet.net.au/~bchrist/3rdParty_VC10_x86_x64.zip

 I am on Windows 7 Pro 32-bit.  CMake version 2.8.5.  Visual Studio 2010 w/ 
 all latest updates.

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





 ___
 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


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-09 Thread Ethan Fahy
Set my paths correctly and made the CMake mod that Mattias mentioned and 
presto! everything's working like a charm.  My sincere thanks to everyone for 
their assistance, really saved my bacon!

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
To try to isolate the problem further, I downloaded several GDAL precompiled 
distributions from this site:
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
including:
http://www.gisinternals.com/sdk/
and 
OSGeo4W
With each GDAL version, I changed the GDAL_DIR environmental variable and 
recreated the VPB files using CMake.  The linking error is the same regardless 
of the GDAL dependency that I am using, so I think that the problem lies in the 
Visual Studio bug pointed out by Mattias.  I hope that I am putting the block 
of CMake code that Mattias posted in the correct location in the CMake file 
itself.  I simply inserted it alongside the only other IF(MSVC) statement that 
I found in the CMake file...

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Mattias Helsing
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 ethanf...@gmail.com 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
 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


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
In the interest of documenting this issue thoroughly, here's what I did:
In MSVC2010, I right-clicked the vpb project and went 
to:properties\Configuration Properties\Linker\Command Line
and added /FORCE:MULTIPLE in the Additional Options field.  I did this for 
both the debug and release modes in MSCV.  I was then able to successfully 
build the project.  Note that I only had to add the /FORCE:MULTIPLE option to 
the vpb project and not the other projects contained in the solution file.  I 
then tried to build the INSTALL project but go the following error:
Error   1   error MSB3073: The command setlocal
C:\Program Files\CMake 2.8\bin\cmake.exe -DBUILD_TYPE=Release -P 
cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal  call :cmErrorLevel %errorlevel%  goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd exited with code 1. C:\Program 
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113 6   
INSTALL

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 8:36 AM, Ethan Fahy wrote:
 To try to isolate the problem further, I downloaded several GDAL precompiled 
 distributions from this site:
 http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
 including:
 http://www.gisinternals.com/sdk/
 and 
 OSGeo4W
 With each GDAL version, I changed the GDAL_DIR environmental variable and 
 recreated the VPB files using CMake.  The linking error is the same 
 regardless of the GDAL dependency that I am using, so I think that the 
 problem lies in the Visual Studio bug pointed out by Mattias.  I hope that I 
 am putting the block of CMake code that Mattias posted in the correct 
 location in the CMake file itself.  I simply inserted it alongside the only 
 other IF(MSVC) statement that I found in the CMake file...

  I've always used the FWTools version when I build on Windows. Not that it'll 
probably
matter.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
OK, I figured out that the last error I had mentioned was due to the fact that 
the default installation directory for VPB was set to C:\Program 
Files\VIRTUALPLANETBUILDER but you need admin privileges to write to Program 
Files.  I rebuilt the project and set the installation directory to a different 
location under my personal directories and the INSTALL process succeeded.

However, when I try to run osgdem.exe, it asks for a series of .dll files.  I 
went through and scrounged up a bunch of dll files from my local machine and 
from the web, but got stuck because one of my dll's appears to be the wrong 
version and is missing a function.  Is it assumed that the users of VPB will 
gather all the necessary dll files or is there a VPB dependencies download 
somewhere that I missed?

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 2:12 PM, Ethan Fahy wrote:
 OK, I figured out that the last error I had mentioned was due to the fact 
 that the default installation directory for VPB was set to C:\Program 
 Files\VIRTUALPLANETBUILDER but you need admin privileges to write to Program 
 Files.  I rebuilt the project and set the installation directory to a 
 different location under my personal directories and the INSTALL process 
 succeeded.
 However, when I try to run osgdem.exe, it asks for a series of .dll files.  I 
 went through and scrounged up a bunch of dll files from my local machine and 
 from the web, but got stuck because one of my dll's appears to be the wrong 
 version and is missing a function.  Is it assumed that the users of VPB will 
 gather all the necessary dll files or is there a VPB dependencies download 
 somewhere that I missed?

  What DLLs? Most of the time the only DLLs you need are OSG itself (and its 
thirdparty
deps) and those from VPB's own thirdparty deps.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
You mention that there are VPB 3rd part dependencies; is this a download 
package that I missed?  I don't see any reference to it on the VPB website or 
in the VPB source code...

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 3:16 PM, Ethan Fahy wrote:
 You mention that there are VPB 3rd part dependencies; is this a download 
 package that I missed?  I don't see any reference to it on the VPB website or 
 in the VPB source code...

  I mean, just GDAL and such.

  You're really posting very vague responses. If you're having trouble with 
missing DLLs,
you have to say what DLLs those are, or nobody is going to be able to help you.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Christiansen, Brad
Hi,

To run VPB you need in your path: the osg dlls, vpb.dll, gdals dll. I am 
responsible for the 3rd party library collection you are using and can confirm 
that this includes all you need to compile and run VPB and OSG from source, 
using the latest version (atleast as of a few weeks ago when I last did a full 
build).

Cheers,
Brad

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ethan Fahy
Sent: Friday, 9 September 2011 5:16 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

You mention that there are VPB 3rd part dependencies; is this a download 
package that I missed?  I don't see any reference to it on the VPB website or 
in the VPB source code...

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





___
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


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Ethan Fahy
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_ofstreamchar,struct std::char_traitschar ::`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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Chris 'Xenon' Hanson
On 9/7/2011 11:43 AM, Ethan Fahy wrote:
 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)

  Which precompiled binaries are you using?

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Ethan Fahy
I cant post links until my 3rd post so this is a filler post.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Ethan Fahy
I am using the following:
OSG debug from here:
http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-debug-12681.7z
OSG release from here:
http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-release-12681.7z
OSG 3ryparty from here:
http://members.iinet.net.au/~bchrist/3rdParty_VC10_x86_x64.zip

I am on Windows 7 Pro 32-bit.  CMake version 2.8.5.  Visual Studio 2010 w/ all 
latest updates.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Chris 'Xenon' Hanson
On 9/7/2011 12:56 PM, Ethan Fahy wrote:
 I am using the following:
 OSG debug from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-debug-12681.7z
 OSG release from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-release-12681.7z
 OSG 3ryparty from here:
 http://members.iinet.net.au/~bchrist/3rdParty_VC10_x86_x64.zip

  At a guess, this is your problem. You're using thirdparty libs compiled by 
someone else,
possibly with different settings. Why not use the thirdparty libs from the same 
source?

http://openscenegraph.alphapixel.com/osg/downloads/openscenegraph-third-party-library-downloads

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-07 Thread Mattias Helsing
Hello Ethan

I wonder if you have hit a problem reported earlier. see:

http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-August/044528.html

It is reported as a bug in msvc, and I haven't tracked it for a while.
Try and set /FORCE:MULTIPLE in the linker param section for the vpd
library

A more long lasting solution is to set this in a CMakeLists.txt:
if(MSVC)
  if(${MSVC_VERSION} STREQUAL 1600)
message(msvc2010 build fix /FORCE:MULTIPLE)
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} /FORCE:MULTIPLE)
  endif()
endif()

I don't have the sp1 for my msvc2010 so I don't know if it fixes this issue

cheers
Mattias

On Wed, Sep 7, 2011 at 8:56 PM, Ethan Fahy ethanf...@gmail.com wrote:
 I am using the following:
 OSG debug from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-debug-12681.7z
 OSG release from here:
 http://openscenegraph.alphapixel.com/sites/default/files/osgdownload/3.0.0/OpenSceneGraph-3.0.0-VS10.0.30319-x86-release-12681.7z
 OSG 3ryparty from here:
 http://members.iinet.net.au/~bchrist/3rdParty_VC10_x86_x64.zip

 I am on Windows 7 Pro 32-bit.  CMake version 2.8.5.  Visual Studio 2010 w/ 
 all latest updates.

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





 ___
 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] [vpb] Is the VPB 1.0.0 available?

2011-07-20 Thread Lv Qing
Hi,

just look forward it
... 


Thank you!

Cheers,
Lv

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-07-20 Thread Robert Osfield
Hi Lv,

On Wed, Jul 20, 2011 at 3:34 PM, Lv Qing donlvq...@msn.com wrote:
 just look forward it

I didn't get a chance to tag VPB-1.0.0 before I left for my holiday,
so will need to do it this or next month.  What VPB version is in
svn/trunk is essentially what VPB-1.0.0 will be, so using this along
with OSG-3.0.0 will give the same results as wheat you'll get with the
final VPB-1.0.0.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org