[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] How do I create a wxWidgets based application wit
From: |
Ron Aaron |
Subject: |
[Mingw-cross-env-list] How do I create a wxWidgets based application with mingw? |
Date: |
Tue, 30 Nov 2010 11:36:52 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-23-generic; KDE/4.5.1; i686; ; ) |
I've successfully used the mingw cross toolchain for all kinds of things, but
wxWidgets escapes me.
I have a "#include <wx/wx.h>" in my main cpp file, and a compile line like:
i686-pc-mingw32-g++ -mthreads -Wl,-subsystem,windows -mwindows -DWINVER=0x0400
-D__GNUWIN32__ -DSTRICT -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -
I/home/ron/mingw/i686-pc-mingw32/include/ -I/home/ron/mingw/i686-pc-
mingw32/include/wx-2.8/ main.cpp -o doit.exe -L~/mingw/i686-pc-mingw32/lib/ -
lwx_base-2.8-i686-pc-mingw32 -lwsock32
But despite my best efforts, the wx headers issue a complaint:
include/wx-2.8/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or
directory
It seems to me that 'wx/setup.h' shouldn't be required, and indeed I cannot
find it anywhere in the mingw trees.
Any help would be most appreciated!
Thanks,
Ron
- [Mingw-cross-env-list] How do I create a wxWidgets based application with mingw?,
Ron Aaron <=