[PROJ] PROJ source build causing GDAL source build errors

Laurențiu Nicola lnicola at dend.ro
Thu Dec 10 10:37:38 PST 2020


Hi Chris,

Lacking other ideas, I'll just ask whether you're sure that PROJ cmake command-line parameters are correct. Maybe some spaces got eaten up, but you've pasted this snippet:

> 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 ..

Specifically, there should be spaces between each of the parameters, but your command seems to be lacking most of them. So it should look more like this:

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 .

(that is, assuming the include and library paths are correct)

Other than this, the linker command line doesn't reference sqlite3.lib, which would explain the missing symbols.

Regards,
Laurentiu Nicola


More information about the PROJ mailing list