Problems compiling with wxUSE_GUI=0

70 views
Skip to first unread message

tonda...@post.cz

unread,
Nov 13, 2014, 4:09:28 PM11/13/14
to wx-...@googlegroups.com
Hi,
I need to convert part of my application to command line version (for computer without graphics card). I tried to compile wxWidgets 3.0.2 with wxUSE_GUI=0 (Windows 7, MSVS 2012, target platform is Linux+GCC) and I got a lot of errors (>33000 lines), 11 projects was compiled but 13 not (i not yet checked which ones). Does it normal?
Exists some more documentation and samples? (I found only one sample.)

Thank you
TonyMi

Vadim Zeitlin

unread,
Nov 14, 2014, 2:18:21 PM11/14/14
to wx-...@googlegroups.com
On Thu, 13 Nov 2014 22:09:22 +0100 (CET) wrote:

> I need to convert part of my application to command line version (for
> computer without graphics card). I tried to compile wxWidgets 3.0.2 with
> wxUSE_GUI=0 (Windows 7, MSVS 2012, target platform is Linux+GCC) and I got a
> lot of errors (>33000 lines), 11 projects was compiled but 13 not (i not yet
> checked which ones). Does it normal?

You can't compile most of the libraries with wxUSE_GUI==0, there is no
magic solution allowing you to have windows without GUI. So the only
libraries you can use are base and net (well, also xml). If you get any
errors compiling those two, please report them, but it doesn't make sense
to compile the other ones with wxUSE_GUI=0.

Regards,
VZ
Reply all
Reply to author
Forward
0 new messages