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

  • Facebook shares see modest debut

    Facebook shares end a volatile first day of trading at $38.23, barely above the company's initial pricing, having initially jumped more than 10%.

  • Met Police to extract phone data

    Mobile phone data of suspects in police custody is to be extracted and retained, regardless of whether charges are brought, the BBC has learned.

  • Silicon trick for next-gen memory

    Researchers reveal details of a promising way to make a fundamentally different kind of computer memory chip.

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...