Hi,
I'm trying to compile the project using the two lines that always have worked:
cmake -B build -S . 
-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake 
-DCMAKE_BUILD_TYPE=Debug
cmake --build build

Before starting I deleted the build folder.
The first line is ok and creates the projects... but the second one gives me 
some red errors.

I'm using windows and Visual Studio 2019

Is there something I'm missing?

Thanks!

Generating Code...
  shapelib.vcxproj -> 
D:\GitHub-repository\gdal\build\ogr\ogrsf_frmts\shape\shapelib.dir\Debug\shapelib.lib
  Building Custom Rule D:/GitHub-repository/gdal/CMakeLists.txt
poppler.lib(Error.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2
' in cpl_alibaba_oss.obj [D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(Error.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': 
value 'MD_DynamicRelease' doesn't match
value 'MDd_DynamicDebug' in cpl_alibaba_oss.obj 
[D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(Object.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '
2' in cpl_alibaba_oss.obj [D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(Object.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't matc
h value 'MDd_DynamicDebug' in cpl_alibaba_oss.obj 
[D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(Catalog.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value
'2' in cpl_alibaba_oss.obj [D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(Catalog.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't mat
ch value 'MDd_DynamicDebug' in cpl_alibaba_oss.obj 
[D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(XRef.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'
in cpl_alibaba_oss.obj [D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(XRef.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': 
value 'MD_DynamicRelease' doesn't match
value 'MDd_DynamicDebug' in cpl_alibaba_oss.obj 
[D:\GitHub-repository\gdal\build\GDAL.vcxproj]
poppler.lib(OptionalContent.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't matc
h value '2' in cpl_alibaba_oss.obj 
[D:\GitHub-repository\gdal\build\GDAL.vcxproj]


Abel Pau Garcia
[https://www.creaf.cat/sites/default/files/logo-creaf-small.jpg]<https://www.creaf.cat/>
GIS developer
a....@creaf.uab.cat <mailto:a....@creaf.uab.cat>
[https://www.creaf.cat/sites/default/files/cap_0.png]
Let's chat on Teams! 
<https://teams.microsoft.com/l/chat/0/0?users=a....@creaf.uab.cat>
Tel. +34 934814277
[https://www.creaf.cat/sites/default/files/x_30.png]<https://twitter.com/CREAF_ecologia>[https://www.creaf.cat/sites/default/files/linkedin_30.png]<https://www.linkedin.com/company/creaf/>[https://www.creaf.cat/sites/default/files/youtube_30.png]<https://www.youtube.com/c/creafecologia>[https://www.creaf.cat/sites/default/files/instagram_30.png]<https://www.instagram.com/CREAF_ecologia/>
www.creaf.cat <http://www.creaf.cat> | http://blog.creaf.cat
CREAF. Campus UAB. Edifici C. 08193 Bellaterra (Barcelona) 
<https://www.openstreetmap.org/way/123379060>

PolĂ­tica de privacitat <https://www.creaf.cat/ca/politica-de-privacitat>
[https://www.creaf.cat/sites/default/files/corner_right_0.png]
Abans d'imprimir aquest missatge electrònic penseu en el medi ambient.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to