In the ld command line, don't use the "lib" prefix, specify
"sqlite3.dll.a" instead of "libsqlite3.dll.a".

Peter

On 7/25/06, Hat Keinen <[EMAIL PROTECTED]> wrote:
Hello,
I'm using the MinGW Developer Studio (on
windows/windows version), http://www.parinyasoft.com/

Currently I'm trying to get it to work with the SQLite
lib.
for testing/first steps i'm using the precompiled
files from http://rainforce.org/sqlite/

I successfully "installed" the header files, however i
can't success to "install" the "libsqlite3.dll.a"
file. i copied this file to \MinGWStudio\MinGW\lib
(there are also the other *.dll.a files).
then i added this library to project - settings - link
- libraries by adding ",libsqlite3.dll.a".

However, when i now try to compile the example from
http://www.sqlite.org/quickstart.html (the C code
example at the end) i get this error:

--------------------Configuration: sqlite_test -
Debug--------------------
Linking...
C:\MinGWStudio\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
cannot find -llibsqlite3.dll.a
collect2: ld returned 1 exit status

sqlite_test.exe - 1 error(s), 0 warning(s)

I really don't know what I'm doing wrong/where to put
this file.
Hope somebody can help me with this. Thanks in advance :-)

Reply via email to