参考:
1\] [WIN10 VS2019下编译GDAL3.0+PROJ6+SQLite_gdal 3 win10编译-CSDN博客](https://blog.csdn.net/weixin_42141589/article/details/94357199?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169925980616800180648658%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=169925980616800180648658&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-1-94357199-null-null.142%5Ev96%5Epc_search_result_base1&utm_term=WIN10%E5%92%8CVS2019%E7%8E%AF%E5%A2%83%E4%B8%8B%E7%BC%96%E8%AF%91GDAL%E8%AF%A6%E7%BB%86%E6%AD%A5%E9%AA%A4&spm=1018.2226.3001.4187 "WIN10 VS2019下编译GDAL3.0+PROJ6+SQLite_gdal 3 win10编译-CSDN博客") \[2\] [如何编译SQLite-How To Compile SQLite-CSDN博客](https://blog.csdn.net/chinaclock/article/details/48684061?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_utm_term~default-5-48684061-blog-98429793.235%5Ev38%5Epc_relevant_anti_t3&spm=1001.2101.3001.4242.4&utm_relevant_index=8 "如何编译SQLite-How To Compile SQLite-CSDN博客") *** ** * ** *** **如何生成静态库:** 参考: [WIN10 VS2019下编译GDAL3.0+PROJ6+SQLite_gdal 3 win10编译-CSDN博客](https://blog.csdn.net/weixin_42141589/article/details/94357199?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169925980616800180648658%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=169925980616800180648658&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-1-94357199-null-null.142%5Ev96%5Epc_search_result_base1&utm_term=WIN10%E5%92%8CVS2019%E7%8E%AF%E5%A2%83%E4%B8%8B%E7%BC%96%E8%AF%91GDAL%E8%AF%A6%E7%BB%86%E6%AD%A5%E9%AA%A4&spm=1018.2226.3001.4187 "WIN10 VS2019下编译GDAL3.0+PROJ6+SQLite_gdal 3 win10编译-CSDN博客") **如何生成exe:** 打开VS2017的用MSVC:  进入到sqlite的目录,执行以下命令: cl shell.c sqlite3.c -Fesqlite3.exe **如何生成动态库:** 用VS2017的MSVC,进入到sqlite的目录,执行以下命令: cl sqlite3.c -link -dll -out:sqlite3.dll