[Gambas-user] help with gambas in sqlite releted compile error

Benoit Minisini gambas at ...1...
Fri Oct 28 20:41:56 CEST 2005


On Friday 28 October 2005 20:32, Adi Spivak wrote:
> hello
> i need some help with a compile error i get while tring to compile
> gambas with sqlite support ( i need sqlite support for a program i want
> to use).
> i use :
> slackware 10.2 (i say 10.2 couse i make sure my system is up to date for
> many years now as far as developmant and requiered packages are consorned).
> kde 3.4.3
> kernel 2.6.13
> sqlite 3.2.7
> gambas 1.0.11
> and compile it with the following configue:
> ./configure --with-sqlite-libraries=/usr/local/lib
> --with-sqlite-includes=/usr/local/include
> --with-zlib-includes=/usr/local/zlib/include
> --with-zlib-libraries=/usr/local/zlib/lib
>
> and the error is like this:
>
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> -I/usr/local/include -g -O2 -pipe -Wall -fno-exceptions -g -Os
> -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c
> main.cpp  -fPIC -DPIC -o .libs/main.o
> In file included from dataset.h:38,
>                  from sqlitedataset.h:33,
>                  from main.cpp:40:
> qry_dat.h:38:20: sqlite.h: No such file or directory
> In file included from dataset.h:38,
>                  from sqlitedataset.h:33,
>                  from main.cpp:40:
> qry_dat.h:225: error: syntax error before `*' token
> In file included from sqlitedataset.h:33,
>                  from main.cpp:40:
> dataset.h:72: warning: `class Database' has virtual functions but
> non-virtual
>    destructor
> dataset.h:158: warning: `class Dataset' has virtual functions but
> non-virtual
>    destructor
> In file included from main.cpp:40:
> sqlitedataset.h:34:20: sqlite.h: No such file or directory

==> Where is located 'sqlite.h' on your system?

-- 
Benoit Minisini





More information about the User mailing list