[pdal] PDAL Windows debug configuration

Lars laasunde at hotmail.com
Mon Apr 23 04:57:49 PDT 2018


Hello

Does 'Building under Windows' support building 'Debug' configuration (64 bit)?

We get the following compiler error under debug config;

pdal_kazhdan.vcxproj -> C:\temp\xyz\lib\Debug\pdal_kazhdan.lib
jsoncpp.lib(json_value.cpp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in DimBuilder.obj
jsoncpp.lib(json_value.cpp.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in DimBuilder.obj
jsoncpp.lib(json_reader.cpp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in DimBuilder.obj
jsoncpp.lib(json_reader.cpp.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in DimBuilder.obj
jsoncpp.lib(json_writer.cpp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in DimBuilder.obj
jsoncpp.lib(json_writer.cpp.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in DimBuilder.obj
Creating library C:/work/pdal/debug_171mod/lib/Debug/dimbuilder.lib and object C:/work/pdal/debug_171mod/lib/Debug/dimbuilder.exp

We are using Windows 10, Visual Studio 2015 Ultimate and have installed OSGeo4W (64 bit). Using Building 'Release' configuration works perfectly. We have checked out remotes/origin/issue-1939 branch if that matters.

Using the following CMake command;
cmake -G "Visual Studio 14 Win64" -T v140,host=x64 -DCMAKE_INSTALL_PREFIX=C:\work\xyz -DCMAKE_BUILD_TYPE=Debug -DBUILD_PLUGIN_PGPOINTCLOUD=ON c:\work\xyz\src

Do I need to manually download all 3rd party components and build them for debug in order for this to work?

Two minor question
- At what point are feature-branches merged back into master branch?
- Does PDAL have a fixed release iterval?

kind regards,
Lars

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180423/f30f4e88/attachment.html>


More information about the pdal mailing list