加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Code::Blocks 使用 SQLite3

发布时间:2020-12-12 20:17:23 所属栏目:百科 来源:网络整理
导读: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. This is the way I did it: 1. Download sqlitedll-3_6_22.zip and sqlite-source-3_6_22.zip from http://ww

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.

This is the way I did it:

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/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读