Sun Sep 16 23:09:00 GMT 2007
Yaakov (Cygwin Ports) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> Steve Holden wrote:
>> Does anyone have a ready-made recipe for building wxPython (and, if
>> necessary, wxWidgets) under Cygwin? I'd like to use the msw back-end
>> rather than the gtk back-end.
> These use gtk2, but they may be helpful as a starting point:
> I haven't packaged wxPython 2.8 yet, although wxWidgets itself I have
> done, and Ports' perl-Wx uses it.
Hmm, I'm a little bamboozled now. Having made one successful 2.8.5
wxWidgets build I cannot make another as I am getting syntax errors,
/c/Steve/Projects/wxWidgets-2.8.5/bld-cygwin/bk-deps g++ -c -o
basedll_appbase.o -D__WXMSW__ -I../src/tiff -I../src/jpeg -I../src/png
-I../src/regex -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1
-I../include -Wall -Wundef -Wno-ctor-dtor-privacy -O2
In file included from ../include/wx/memory.h:16,
../include/wx/string.h:181: error: expected init-declarator before
../include/wx/string.h:181: error: expected `,' or `;' before "wxStdString"
../include/wx/string.h:714: error: expected `,' or `...' before '&' token
../include/wx/string.h:715: error: ISO C++ forbids declaration of
wxStdString' with no type
../include/wx/string.h:715: error: `wxString::wxString(int)' and
`wxString::wxString(int)' cannot be overloaded
../include/wx/string.h: In constructor `wxString::wxString(int)':
../include/wx/string.h:715: error: `s' undeclared (first use this function)
../include/wx/string.h:715: error: (Each undeclared identifier is
once for each function it appears in.)
make: *** [basedll_appbase.o] Error 1
The configure line was:
../configure --prefix=/home/wx28/ --enable-rpath=/home/wx28 --enable-unicode
but the same error occurs without specifying a Unicode build.
Since I am using the same sources as before I am puzzled as to why this
error has now put in an appearance. I don't *think* I did anything to
change the build environment (but then we never do, do we?). I have even
restored the source tree from the Internet to ensure that an inadevrtent
edit wasn't responsible.
Strikes me it has to be a bozo error, but I don't see it.
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Sorry, the dog ate my .sigline
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin