07 2020 档案
摘要:1、编译遇到MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
阅读全文
摘要:解决方法:with sqlite3.connect(dbfile) as con: con.enable_load_extension(True) con.execute("SELECT load_extension('mod_spatialite')") cursor = con.cursor()
阅读全文
摘要:1、简介 gdal3.1.0编译过程中必须依赖proj,编译gdal必须要编译proj,proj的编译需要sqlite3,因此想要编译gdal3.1.0需要先编译proj和sqlite3 2、关于sqlite3 版本3.32,它是一个小型的数据库,其官网上也提供了其动态库包和源代码,但是动态库没有l
阅读全文
摘要:运行环境在windows 10 64bit。先将python安装完成。然后,到 spatilite官网 找到MS(即Microsoft)版本,下载64位的mod_spatialite,将其先解压到目标文件夹。由于原生的sqlite.dll有问题,到 cyqlite 下载扩展版sqlite,点击 Br
阅读全文
摘要:N年前学的makefile,当时还勉强能写一些简单的工程编译,现在已经基本忘了。makefile确实编写复杂,而且平时也不是经常使用,容易忘记。偶识了scons,一切都变的简单了。最近研究了下scons,原来需要上百行的makefile编译过程,现在只需要十行不到,而且没有makefile那些繁杂的
阅读全文