bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Building gnubg on MS Windows -- db error in compiling --


From: Massimiliano Maini
Subject: Re: [Bug-gnubg] Building gnubg on MS Windows -- db error in compiling -- maybe need/how to get SQLite?
Date: Tue, 25 Mar 2008 14:31:56 +0100



address@hidden wrote on 25/03/2008 13:23:23:

>
> Hi All,
>
> I downloaded and installed (for MS Windows)  MinGw, GTK, run the tests, they
> were ok, got the latest code (also)using the CheckOutCode batch file but
> then when complining got the following :
>
> ../../bin/libevent.a done
> ../../bin/libboard3d.a done
> Compiling dbprovider.c
> dbprovider.c :578: warning: 'SQLiteDeleteDatabase' defined but not used
> dbprovider.c :556: warning: 'SQLiteGetDatabase' defined but not used
> mingw32-make: *** [../bin/obj/dbprovider.o] Error 1
> ** Build failed **
>
> There didnt seem to be anything about downloading a database in the
> instructions. I found an old 2005 email abt setting up sqlite in the mail
> repository but i am having trouble finding something more recent so i
> thought i better ask before i mess it up completely.
>
> Any suggestions?

Hi,

I don't have any problem with the latest code, but I normally use my own makefiles
to build while you're probably using the Makefile.w32 provided in the CVS code.

Try adding the following define to the compiler: -DHAVE_SQLITE=1 (supposing you
don't have it already). This forces the "native" sqlite interface instead of the
Python one.

Also check that you have sqlite3.dll somewhere where the linker can find it: in the
makefile there's a -lsqlite3 in the linker options emaning that you need sqlite3.dll
in gnubg runtime dir (or somewhere on the path).

MaX.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]