Night | Snow

Code::Blocks and SQLite3

Posted on: February 12th, 2010

Tags: , ,

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://www.sqlite.org/download.html

2. Extract sqlitedll-3.6.22.zip and then run from the command line:

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.

Posted in C++ | Trackback Url

News

Martin Fischer said:

Client and partner of simra.ch

Wir können Simon Schärer als kompetenter und zuverlässiger Programmierer höchst weiterempfehlen. Er ist nicht nur ein guter Programmierer, sondern auch ein ausgezeichneter Designer.
Danke Developer’s Island

Follow us on Twitter

favorite

I get asked a lot - which SDK should we use for web programming? I recommend Netbeans

my toolbar

Simra GameMP3 playersubscribe to RSSMy delicious bookmarksFacebookTwitterE-mail

No Responses to “Code::Blocks and SQLite3”

RSS Feed Icon  Subscribe to comments follow-up

Trackbacks/Pingbacks

Leave a reply

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Latest Tweet

loading...