[gdal-dev] SQLite3 Compile Issue With Visual Studio Community 2019

pwillis at aslenv.com pwillis at aslenv.com
Thu Mar 18 08:17:47 PDT 2021


Hello,

When compiling gdal-3.2.2  I get an error due to a missing SQLLite3 link
library.
Downloads from the SQLLite site do not appear to provide, or compile to, a
'sqlite3.lib'  file at all.

Is there any way to disable the sqlite3 feature in  the gdal build?
Alternately, where is the 'sqlite2.lib' coming from that is expected by the
3.2.2 build ? 

Error dump is below.

Thanks for any info.

 



---------------------------


1>   Creating library gdal_i_d.lib and object gdal_i_d.exp
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_close referenced in function "private: bool __cdecl
osgeo::proj::DiskChunkCache::initialize(void)"
(?initialize at DiskChunkCache@proj at osgeo@@AEAA_NXZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_close
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_exec referenced in function "private: bool __cdecl
osgeo::proj::DiskChunkCache::initialize(void)"
(?initialize at DiskChunkCache@proj at osgeo@@AEAA_NXZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_last_insert_rowid referenced in function "public: void
__cdecl osgeo::proj::NetworkChunkCache::insert(struct pj_ctx *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,unsigned __int64,class std::vector<unsigned
char,class std::allocator<unsigned char> > &&)"
(?insert at NetworkChunkCache@proj at osgeo@@QEAAXPEAUpj_ctx@@AEBV?$basic_string at D
U?$char_traits at D@std@@V?$allocator at D@2@@std@@_K$$QEAV?$vector at EV?$allocator@
E at std@@@6@@Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_get_table referenced in function "private: bool __cdecl
osgeo::proj::DiskChunkCache::initialize(void)"
(?initialize at DiskChunkCache@proj at osgeo@@AEAA_NXZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_free_table referenced in function "private: bool __cdecl
osgeo::proj::DiskChunkCache::initialize(void)"
(?initialize at DiskChunkCache@proj at osgeo@@AEAA_NXZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_snprintf referenced in function "public: static struct
PROJ_NETWORK_HANDLE * __cdecl osgeo::proj::CurlFileHandle::open(struct
pj_ctx *,char const *,unsigned __int64,unsigned __int64,void *,unsigned
__int64 *,unsigned __int64,char *,void *)"
(?open at CurlFileHandle@proj at osgeo@@SAPEAUPROJ_NETWORK_HANDLE@@PEAUpj_ctx@@PEB
D_K2PEAXPEA_K2PEAD3 at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_open_v2 referenced in function "private: bool __cdecl
osgeo::proj::DiskChunkCache::initialize(void)"
(?initialize at DiskChunkCache@proj at osgeo@@AEAA_NXZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_open_v2
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_errmsg referenced in function proj_is_download_needed
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_errmsg
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_prepare_v2 referenced in function "public: class
std::unique_ptr<class osgeo::proj::SQLiteStatement,struct
std::default_delete<class osgeo::proj::SQLiteStatement> > __cdecl
osgeo::proj::DiskChunkCache::prepare(char const *)"
(?prepare at DiskChunkCache@proj at osgeo@@QEAA?AV?$unique_ptr at VSQLiteStatement@pr
oj at osgeo@@U?$default_delete at VSQLiteStatement@proj at osgeo@@@std@@@std@@PEBD at Z)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_prepare_v2
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_bind_blob referenced in function "public: void __cdecl
osgeo::proj::SQLiteStatement::bindBlob(void const *,unsigned __int64)"
(?bindBlob at SQLiteStatement@proj at osgeo@@QEAAXPEBX_K at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_bind_int64 referenced in function "public: void __cdecl
osgeo::proj::SQLiteStatement::bindInt64(__int64)"
(?bindInt64 at SQLiteStatement@proj at osgeo@@QEAAX_J at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_bind_null referenced in function "public: void __cdecl
osgeo::proj::SQLiteStatement::bindNull(void)"
(?bindNull at SQLiteStatement@proj at osgeo@@QEAAXXZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_bind_text referenced in function "public: void __cdecl
osgeo::proj::SQLiteStatement::bindText(char const *)"
(?bindText at SQLiteStatement@proj at osgeo@@QEAAXPEBD at Z)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_bind_text
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_step referenced in function "public: int __cdecl
osgeo::proj::SQLiteStatement::execute(void)"
(?execute at SQLiteStatement@proj at osgeo@@QEAAHXZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_step
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_column_blob referenced in function "public: void const *
__cdecl osgeo::proj::SQLiteStatement::getBlob(int &)"
(?getBlob at SQLiteStatement@proj at osgeo@@QEAAPEBXAEAH at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_column_int64 referenced in function "public: __int64 __cdecl
osgeo::proj::SQLiteStatement::getInt64(void)"
(?getInt64 at SQLiteStatement@proj at osgeo@@QEAA_JXZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_column_text referenced in function "public: char const *
__cdecl osgeo::proj::SQLiteStatement::getText(void)"
(?getText at SQLiteStatement@proj at osgeo@@QEAAPEBDXZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_column_text
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_column_bytes referenced in function "public: void const *
__cdecl osgeo::proj::SQLiteStatement::getBlob(int &)"
(?getBlob at SQLiteStatement@proj at osgeo@@QEAAPEBXAEAH at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_finalize referenced in function "public: __cdecl
osgeo::proj::SQLiteStatement::~SQLiteStatement(void)"
(??1SQLiteStatement at proj@osgeo@@QEAA at XZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_finalize
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol sqlite3_reset referenced in function "public: void __cdecl
osgeo::proj::SQLiteStatement::reset(void)"
(?reset at SQLiteStatement@proj at osgeo@@QEAAXXZ)
1>proj_d.lib(factory.obj) : error LNK2001: unresolved external symbol
sqlite3_reset
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol __imp_curl_easy_init referenced in function "public: static struct
PROJ_NETWORK_HANDLE * __cdecl osgeo::proj::CurlFileHandle::open(struct
pj_ctx *,char const *,unsigned __int64,unsigned __int64,void *,unsigned
__int64 *,unsigned __int64,char *,void *)"
(?open at CurlFileHandle@proj at osgeo@@SAPEAUPROJ_NETWORK_HANDLE@@PEAUpj_ctx@@PEB
D_K2PEAXPEA_K2PEAD3 at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol __imp_curl_easy_setopt referenced in function "public: __cdecl
osgeo::proj::CurlFileHandle::CurlFileHandle(struct pj_ctx *,char const
*,void *,char const *)"
(??0CurlFileHandle at proj@osgeo@@QEAA at PEAUpj_ctx@@PEBDPEAX1 at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol __imp_curl_easy_perform referenced in function "public: static struct
PROJ_NETWORK_HANDLE * __cdecl osgeo::proj::CurlFileHandle::open(struct
pj_ctx *,char const *,unsigned __int64,unsigned __int64,void *,unsigned
__int64 *,unsigned __int64,char *,void *)"
(?open at CurlFileHandle@proj at osgeo@@SAPEAUPROJ_NETWORK_HANDLE@@PEAUpj_ctx@@PEB
D_K2PEAXPEA_K2PEAD3 at Z)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol __imp_curl_easy_cleanup referenced in function "public: __cdecl
osgeo::proj::CurlFileHandle::~CurlFileHandle(void)"
(??1CurlFileHandle at proj@osgeo@@QEAA at XZ)
1>proj_d.lib(networkfilemanager.obj) : error LNK2019: unresolved external
symbol __imp_curl_easy_getinfo referenced in function "public: static struct
PROJ_NETWORK_HANDLE * __cdecl osgeo::proj::CurlFileHandle::open(struct
pj_ctx *,char const *,unsigned __int64,unsigned __int64,void *,unsigned
__int64 *,unsigned __int64,char *,void *)"
(?open at CurlFileHandle@proj at osgeo@@SAPEAUPROJ_NETWORK_HANDLE@@PEAUpj_ctx@@PEB
D_K2PEAXPEA_K2PEAD3 at Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_libversion referenced in function "public: void __cdecl
osgeo::proj::io::DatabaseContext::Private::open(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,struct pj_ctx *)"
(?open at Private@DatabaseContext at io@proj at osgeo@@QEAAXAEBV?$basic_string at DU?$ch
ar_traits at D@std@@V?$allocator at D@2@@std@@PEAUpj_ctx@@@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_libversion_number referenced in function "public: void __cdecl
osgeo::proj::io::DatabaseContext::Private::open(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,struct pj_ctx *)"
(?open at Private@DatabaseContext at io@proj at osgeo@@QEAAXAEBV?$basic_string at DU?$ch
ar_traits at D@std@@V?$allocator at D@2@@std@@PEAUpj_ctx@@@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_bind_double referenced in function "public: class std::list<class
std::vector<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > >,class std::allocator<class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > > > __cdecl
osgeo::proj::io::DatabaseContext::Private::run(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::list<struct
osgeo::proj::io::SQLValues,class std::allocator<struct
osgeo::proj::io::SQLValues> > const &,bool)"
(?run at Private@DatabaseContext at io@proj at osgeo@@QEAA?AV?$list at V?$vector at V?$basi
c_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic
_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@V?$allocator@
V?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$a
llocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@s
td@@@2@@std@@AEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@7 at A
EBV?$list at USQLValues@io at proj@osgeo@@V?$allocator at USQLValues@io at proj@osgeo@@@
std@@@7 at _N@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_column_count referenced in function "public: class std::list<class
std::vector<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > >,class std::allocator<class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > > > __cdecl
osgeo::proj::io::DatabaseContext::Private::run(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::list<struct
osgeo::proj::io::SQLValues,class std::allocator<struct
osgeo::proj::io::SQLValues> > const &,bool)"
(?run at Private@DatabaseContext at io@proj at osgeo@@QEAA?AV?$list at V?$vector at V?$basi
c_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic
_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@V?$allocator@
V?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$a
llocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@s
td@@@2@@std@@AEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@7 at A
EBV?$list at USQLValues@io at proj@osgeo@@V?$allocator at USQLValues@io at proj@osgeo@@@
std@@@7 at _N@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_column_double referenced in function "public: class std::list<class
std::vector<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > >,class std::allocator<class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > > > __cdecl
osgeo::proj::io::DatabaseContext::Private::run(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::list<struct
osgeo::proj::io::SQLValues,class std::allocator<struct
osgeo::proj::io::SQLValues> > const &,bool)"
(?run at Private@DatabaseContext at io@proj at osgeo@@QEAA?AV?$list at V?$vector at V?$basi
c_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic
_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@V?$allocator@
V?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$a
llocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@s
td@@@2@@std@@AEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@7 at A
EBV?$list at USQLValues@io at proj@osgeo@@V?$allocator at USQLValues@io at proj@osgeo@@@
std@@@7 at _N@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_column_type referenced in function "public: class std::list<class
std::vector<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > >,class std::allocator<class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > > > __cdecl
osgeo::proj::io::DatabaseContext::Private::run(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::list<struct
osgeo::proj::io::SQLValues,class std::allocator<struct
osgeo::proj::io::SQLValues> > const &,bool)"
(?run at Private@DatabaseContext at io@proj at osgeo@@QEAA?AV?$list at V?$vector at V?$basi
c_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic
_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@V?$allocator@
V?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$a
llocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@s
td@@@2@@std@@AEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@7 at A
EBV?$list at USQLValues@io at proj@osgeo@@V?$allocator at USQLValues@io at proj@osgeo@@@
std@@@7 at _N@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_create_function referenced in function "private: void __cdecl
osgeo::proj::io::DatabaseContext::Private::registerFunctions(void)"
(?registerFunctions at Private@DatabaseContext at io@proj at osgeo@@AEAAXXZ)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_value_double referenced in function "double __cdecl
osgeo::proj::io::PROJ_SQLITE_GetValAsDouble(struct sqlite3_value *,bool &)"
(?PROJ_SQLITE_GetValAsDouble at io@proj at osgeo@@YANPEAUsqlite3_value@@AEA_N at Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_value_int64 referenced in function "double __cdecl
osgeo::proj::io::PROJ_SQLITE_GetValAsDouble(struct sqlite3_value *,bool &)"
(?PROJ_SQLITE_GetValAsDouble at io@proj at osgeo@@YANPEAUsqlite3_value@@AEA_N at Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_value_type referenced in function "double __cdecl
osgeo::proj::io::PROJ_SQLITE_GetValAsDouble(struct sqlite3_value *,bool &)"
(?PROJ_SQLITE_GetValAsDouble at io@proj at osgeo@@YANPEAUsqlite3_value@@AEA_N at Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_result_double referenced in function "void __cdecl
osgeo::proj::io::PROJ_SQLITE_pseudo_area_from_swne(struct sqlite3_context
*,int,struct sqlite3_value * *)"
(?PROJ_SQLITE_pseudo_area_from_swne at io@proj at osgeo@@YAXPEAUsqlite3_context@@H
PEAPEAUsqlite3_value@@@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_result_int referenced in function "void __cdecl
osgeo::proj::io::PROJ_SQLITE_intersects_bbox(struct sqlite3_context
*,int,struct sqlite3_value * *)"
(?PROJ_SQLITE_intersects_bbox at io@proj at osgeo@@YAXPEAUsqlite3_context@@HPEAPEA
Usqlite3_value@@@Z)
1>proj_d.lib(factory.obj) : error LNK2019: unresolved external symbol
sqlite3_result_null referenced in function "void __cdecl
osgeo::proj::io::PROJ_SQLITE_pseudo_area_from_swne(struct sqlite3_context
*,int,struct sqlite3_value * *)"
(?PROJ_SQLITE_pseudo_area_from_swne at io@proj at osgeo@@YAXPEAUsqlite3_context@@H
PEAPEAUsqlite3_value@@@Z)
1>proj_d.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol
sqlite3_initialize referenced in function "public: static class
std::unique_ptr<class osgeo::proj::SQLite3VFS,struct
std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl
osgeo::proj::SQLite3VFS::create(bool,bool,bool)"
(?create at SQLite3VFS@proj at osgeo@@SA?AV?$unique_ptr at VSQLite3VFS@proj at osgeo@@U?
$default_delete at VSQLite3VFS@proj at osgeo@@@std@@@std@@_N00 at Z)
1>proj_d.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol
sqlite3_config referenced in function "public: __cdecl `public: static class
std::unique_ptr<class osgeo::proj::SQLite3VFS,struct
std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl
osgeo::proj::SQLite3VFS::create(bool,bool,bool)'::`2'::InstallSqliteLogger::
InstallSqliteLogger(void)"
(??0InstallSqliteLogger@?1??create at SQLite3VFS@proj at osgeo@@SA?AV?$unique_ptr@
VSQLite3VFS at proj@osgeo@@U?$default_delete at VSQLite3VFS@proj at osgeo@@@std@@@std
@@_N00 at Z@QEAA at XZ)
1>proj_d.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol
sqlite3_vfs_find referenced in function "public: static class
std::unique_ptr<class osgeo::proj::SQLite3VFS,struct
std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl
osgeo::proj::SQLite3VFS::create(bool,bool,bool)"
(?create at SQLite3VFS@proj at osgeo@@SA?AV?$unique_ptr at VSQLite3VFS@proj at osgeo@@U?
$default_delete at VSQLite3VFS@proj at osgeo@@@std@@@std@@_N00 at Z)
1>proj_d.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol
sqlite3_vfs_register referenced in function "public: static class
std::unique_ptr<class osgeo::proj::SQLite3VFS,struct
std::default_delete<class osgeo::proj::SQLite3VFS> > __cdecl
osgeo::proj::SQLite3VFS::create(bool,bool,bool)"
(?create at SQLite3VFS@proj at osgeo@@SA?AV?$unique_ptr at VSQLite3VFS@proj at osgeo@@U?
$default_delete at VSQLite3VFS@proj at osgeo@@@std@@@std@@_N00 at Z)
1>proj_d.lib(sqlite3_utils.obj) : error LNK2019: unresolved external symbol
sqlite3_vfs_unregister referenced in function "public: __cdecl
osgeo::proj::SQLite3VFS::~SQLite3VFS(void)"
(??1SQLite3VFS at proj@osgeo@@QEAA at XZ)
1>proj_d.lib(proj_json_streaming_writer.obj) : error LNK2019: unresolved
external symbol sqlite3_vsnprintf referenced in function "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl CPLSPrintf(char const *,...)"
(?CPLSPrintf@@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@s
td@@PEBDZZ)
1>gdal302_d.dll : fatal error LNK1120: 44 unresolved externals
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\link.EXE"' :
return code '0x460'
1>Stop.
1>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(5
4,5): error MSB3073: The command "nmake -f makefile.vc MSVC_VER=1920 WIN64=1
DEBUG=1 WITH_PDB=1 clean && nmake -f makefile.vc MSVC_VER=1920 WIN64=1
DEBUG=1 WITH_PDB=1" exited with code 2.
1>Done building project "gdal_vs2019.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



More information about the gdal-dev mailing list