Re: Building wxEuphoria with 2.9
- Posted by mattlewis (admin) Dec 14, 2011
- 2206 views
ghaberek said...
Matt,
I've started playing around with the wx2.9 branch. I finally got wxWidgets 2.9.2 built (which took forever on my laptop). And now I'm trying to build wxEuphoria but immediately I'm getting this error. I'm using MinGW to build on Windows XP. What happen? Did I do something wrong?
$ ./configure ../wxWidgets-2.9.2 $ make g++ -c -o build/wxeu.o -D__WXMSW__ -I. -I./../wxWidgets-2.9.2/lib/wx/include/msw-unicode-release-2.8 -I./../wxWidgets-2.9.2/include -DWXEUMSW -DWX_MAJOR=2 -DWX_MINOR=9 -DWX_BUGFIX= -DWX_LIB_BUILD=17 -fPIC wxeu.cpp wxeu.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] wxeu.cpp:6:22: fatal error: wx/setup.h: No such file or directory compilation terminated. make: *** [build/wxeu.o] Error 1
Here's my directory layout:
- C:\EUPHORIA\wxEuphoria\wx2.9
- C:\EUPHORIA\wxEuphoria\wxWidgets-2.9.2
The setup.h file should be in wxWidgets-2.9.2/lib/wx/include/msw-unicode-release-2.8/wx. I haven't tried building under msys. I've only done cross compiles of 2.9 so far, and before building wxEuphoria, I installed wxWidgets (under /usr/x86_64-w64-mingw32 and /usr/i686-w64-mingw32).
You might try an absolute path instead of a relative path to wxWidgets.
Matt