Hi,
I'm trying to compile VirtualPlanetBuilder with VisualStudio 10. I used cmake 
to generate the project files and everything looks good, but I get the 
following linker errors:

"1>gdal.lib(gdalrasterblock.obj) : error LNK2038: Konflikt ermittelt für 
"_ITERATOR_DEBUG_LEVEL": Der Wert "0" stimmt nicht mit dem Wert "2" in 
BuildLog.obj überein."
(the Iterator_Debug_Level is not the same in gdal.lib and my project).

I used the precompiled Debug build of OpenSceneGraph and i'm also trying to 
create a debug build of vpb.
At first I tried a precompiled build of gdal, from gisinternals, but it seams, 
that they are only release builds, so i can't use them for my debug build.

So the next thing was, that i downloaded the gdal source and tried to compile 
it by myself. There where this nmake makefile-VSProjects, where VS apparently 
only invokes the makefile for gdal. This builds without any problems, but it 
seams to be still a release build, at least it get the same 
Iterator_Debug_Level error message.
The strange thing is, that you can select between release and debug in the gdal 
VS10 Project, but it doesn't seam to change anything. The help says, I can 
configure everything in the nmake.opt in which i find examples for invoking the 
build, like "# nmake -f makefile.vc MSVC_VER=1500 DEBUG=1" which sounds 
promising. I checked the project settings and it gets called with DEBUG=1 in 
the debug configuration but it doesn't change anything :(

To sum up: I want to use a debug build of VPB which I seam to have to compile 
by myself, for which I need a debug build of GDAL, which I'm not able to 
compile :( Any help will be appreciated!

Thank you!

Cheers,
Jonathan

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





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

Reply via email to