Code::Blocks 使用 SQLite3
This is a little tutorial of how to use SQLite with Code::Blocks. It is assumed that you have already installed Code::Blocks with MinGW. 1. Download sqlitedll-3_6_22.zip and sqlite-source-3_6_22.zip fromhttp://www.sqlite.org/download.html 2. Extract sqlitedll-3.6.22.zip in some folderand then run from the command line,go to the directory of the folder: dlltool -D sqlite3.dll -d sqlite3.def -l libsqlite3dll.a You will now have libsqlite3dll.a,which should be placed in the MinGW lib directory. 3. Place sqlite3.dll in your system path. 4. Extract sqlite-source-3_6_22.zip and place sqlite3.h in your MinGW include directory. http://www.simra.ch/2010/02/codeblocks-and-sqlite3/ (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |