small problem with wxsqlite

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
dxv
In need of some credit
In need of some credit
Posts: 4
Joined: Wed Dec 14, 2005 7:59 pm

small problem with wxsqlite

Post by dxv »

I have installed sqlite 3.2.7 a I compiled wxsqlite 1.4.2 to static library, and after I compiled (wxdev-c) project using wxsqlite I got this error " [Linker error] undefined reference to `sqlite3_get_autocommit' "
Could somebody help me?
utelle
Moderator
Moderator
Posts: 1128
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: small problem with wxsqlite

Post by utelle »

dxv wrote:I have installed sqlite 3.2.7 a I compiled wxsqlite 1.4.2 to static library, and after I compiled (wxdev-c) project using wxsqlite I got this error " [Linker error] undefined reference to `sqlite3_get_autocommit' "
Unfortunately I have no idea what may cause this problem. Using MSVC6 I don't experience any problems when creating wxSQLite3 as a static library. I haven't used wxdev-c, so I don't know whether this requires special configuration.

Make sure the linker uses the correct version of sqlite3.lib. And check the order of the link libraries.

Regards,

Ulrich
dxv
In need of some credit
In need of some credit
Posts: 4
Joined: Wed Dec 14, 2005 7:59 pm

Re: small problem with wxsqlite

Post by dxv »

You had right, I had problem with linked library, now it's work fine
Post Reply