Compiling wxSQLite3 with --disable-gui

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
vampie
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Apr 20, 2015 12:06 am

Compiling wxSQLite3 with --disable-gui

Post 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
utelle
Moderator
Moderator
Posts: 1125
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Compiling wxSQLite3 with --disable-gui

Post 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
Post Reply