<div dir="ltr">I'm building GDAL 3.2.0 from source with PROJ 7.2.0 built from source. Unfortunately, I'm running into a strange build error involving a source build of SQLite 3.34.0 while attempting to build GDAL. There seems to be a problem with either my SQLite source compilation or PROJ source compilation. Is anyone able to spot what's causing this build error?<div><br></div><div>I also get this build error when using the official pre-compiled SQLite amalgamation and pre-compiled binaries.</div><div><a href="https://www.sqlite.org/download.html">https://www.sqlite.org/download.html</a>  <br><div><br></div><div>I'm using Visual Studio 16 2019 and CMake to build via the Visual Studio command prompt on Windows 10 x64.</div><div><a href="https://proj.org/install.html#cmake" target="_blank">https://proj.org/install.html#cmake</a>  <br></div><div><br></div><div>My build steps and error output are as follows..<div><br></div><div><b>-SQLite build-</b></div><div>nmake /f Makefile.msc sqlite3.c</div><div>cl sqlite3.c -link -dll -out:sqlite3.dll</div><div>cl shell.c sqlite3.c -Fesqlite3.exe<br></div><div><strong style="color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px"><br></strong></div><div><b>-PROJ build-</b><br></div><div><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif">cmake -DCMAKE_BUILD_TYPE=Release -DEXE_SQLITE3=C:\dev\sqlite\sqlite3.exe-DSQLITE3_INCLUDE_DIR=C:\dev\sqlite -DSQLITE3_LIBRARY=C:\dev\sqlite\sqlite3.lib-DTIFF_INCLUDE_DIR=C:\dev\libtiff-master\libtiff-DTIFF_LIBRARY_RELEASE=C:\dev\libtiff-master\libtiff\libtiff.lib-DCURL_INCLUDE_DIR=C:\dev\curl-master\builds\libcurl-vc16-x64-release-dll-ipv6-sspi-schannel\include-DCURL_LIBRARY=C:\dev\curl-master\builds\libcurl-vc16-x64-release-dll-ipv6-sspi-schannel\lib\libcurl.lib ..<br>cmake --build . --config release --target install<br><span style="font-size:11pt"><br>-<b>GDAL build</b>-<br></span><span style="font-size:11pt">nmake /f <a href="http://makefile.vc/" target="_blank">makefile.vc</a> MSVC_VER=1920 WIN64=YES</span></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif">-<b>GDAL build error</b>-</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:15.6933px;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://pastebin.com/QQXHdHuc">https://pastebin.com/QQXHdHuc</a> <span style="font-size:11pt"> </span></p></div></div></div></div>