Hi all,
I’ve been attempting to get a wxpython 4.0.1 build for Python 3 working under Cygwin the past few days. I am building against gtk2 and the system wxwidgets version (3.0.2). I haven’t yet managed to get newer versions of wxWidgets to build, but as I found the build at https://launchpad.net/~swt-techie/+archive/ubuntu/wxpython4 works and Ubuntu 16.04 has similar dependencies, I am taking my build arguments and similar from that - and trying some of the patches, but with no success yet.
My build options for the last part of the build are: “python3 build.py build_py --use_syswx --gtk2” (after running dox etg --nodoc and sip)
I’ve gotten fairly far along now, but I keep running into an error where when sip_corewxAcceleratorTable.cpp is compiled:
I get an extremely long list of errors about classes being redefined or having multiple definition (example: wx/object.h:422:7: error: redefinition of ‘class wxClassInfo’ ), and the build fails. I can provide more information and attach a complete log if required.
Does anyone have any ideas why this might be happening?
Hamish McIntyre-Bhatty