Page 1 of 1

Compiling wxSQLite3 with --disable-gui

Posted: Mon Apr 20, 2015 12:08 am
by vampie
Hello,

Is it possible that wxSQLITE3 library can be compiled over wx3 with --disable-gui ?

why needed gui framework ( msw, gtk* ) ?
I want to use it with base without gui..

Thanks,

Baris

Re: Compiling wxSQLite3 with --disable-gui

Posted: Mon Apr 20, 2015 10:41 am
by utelle
vampie wrote:Is it possible that wxSQLITE3 library can be compiled over wx3 with --disable-gui ?
Yes. wxSQLite3 does only depend on the wxWidgets base library.
vampie wrote:why needed gui framework ( msw, gtk* ) ?
I want to use it with base without gui..
Well, most wxWidgets applications using wxSQLite3 are GUI applications, such as the GUI sample coming with wxSQLite3. Therefore the wxWidgets core library is usually in the list of dependencies.

The easiest approach for you might be to just add the few wxSQLite3 source files (1 .cpp file and a few .h files) to your own project.

Regards,

Ulrich