[PROJ] PROJ source build causing GDAL source build errors
Chris Conley
cconley717 at gmail.com
Wed Dec 9 10:09:28 PST 2020
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?
I also get this build error when using the official pre-compiled SQLite
amalgamation and pre-compiled binaries.
https://www.sqlite.org/download.html
I'm using Visual Studio 16 2019 and CMake to build via the Visual Studio
command prompt on Windows 10 x64.
https://proj.org/install.html#cmake
My build steps and error output are as follows..
*-SQLite build-*
nmake /f Makefile.msc sqlite3.c
cl sqlite3.c -link -dll -out:sqlite3.dll
cl shell.c sqlite3.c -Fesqlite3.exe
*-PROJ build-*
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
..
cmake --build . --config release --target install
-*GDAL build*-
nmake /f makefile.vc MSVC_VER=1920 WIN64=YES
-*GDAL build error*-
https://pastebin.com/QQXHdHuc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20201209/a79b404a/attachment.html>
More information about the PROJ
mailing list