Re: [gdal-dev] Debug/Release configuration on Visual

2011-11-03 Thread G. Allegri
I don't know exactly what the Debug build does, but AFAIK it incorporates the symbolic debug information inside the compiled object, layouts a different assembly, and links against the debug runtime, but from the point of view of common debugging (breakpoints, inspecting properties, etc.) I don't s

Re: [gdal-dev] Debug/Release configuration on Visual

2011-11-03 Thread G. Allegri
I find very useful, for common debugging of C++ apps, to build in Release mode (/MD) but with debugging infos (/Zi) and removing optimization (/Od). With this flags I'm able to debug my app but I don't need to link against Debug libraries. giovanni ___ g

Re: [gdal-dev] Debug/Release configuration on Visual

2011-11-03 Thread Mateusz Łoskot
On 3 November 2011 10:30, QUILLET Jean-Charles wrote: > I'm working on an application linked against GDAL on Visual Studio 9. > Everything is working fine in release mode. But in debug mode, gdal fails What GDAL binaries do you use in Debug mode? I suppose I know what is going on (/MD vs /MDd). I

[gdal-dev] Debug/Release configuration on Visual

2011-11-03 Thread QUILLET Jean-Charles
Hi, I'm working on an application linked against GDAL on Visual Studio 9. Everything is working fine in release mode. But in debug mode, gdal fails to load the proj4 library and the VRF driver from OGDI. Indeed, these are compiled in release mode. For proj4, the easy way out would be to link i