I am trying this Configure Command for wxWidgets (wxGTK) (I am using wx 2.8 SVN Branch)
../configure --enable-unicode --with-libjpeg=builtin --with-regex=builtin --without-msw --with-gtk --prefix=/opt/wx/2.8 --enable-monolithic --disable-universal --without-gtkprint --without-gnomeprint --enable-tooltips --enable-dnd --enable-shared
These options --without-gtkprint --without-gnomeprint helped build in the past using wxWidgets SVN trunk (2.9) .
I am nearly certain "--enable-shared" is required for a wxWidgets able to be used by Code::Blocks.
I decided to try "--enable-unicode" this option because this will reduce the patches needed by Code::Blocks it has about 3 places ANSI code needs fixed the last time I did an ANSI build (about 1 year ago.)
I used "--with-libjpeg=builtin" because two years ago; the version of libjpeg in CygWin caused issues.
I used "--with-regex=builtin" because the other poster in this thread commented out code that using this option might NOT need done.
I got the below displayed before I did make; it is still running make.
Configured wxWidgets 2.8.12 for `i686-pc-cygwin'
Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? yes
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? yes
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg builtin
png sys
regex builtin
tiff builtin
zlib sys
odbc no
expat sys
libmspack no
sdl no
I set CXXFLAGS="-Wno-attributes" before running make to reduce the warnings in hope it speeds up the build. Edit: It made no difference in building. Will try next time setting it before the configure command.
wxWidgets is still building.
The command I plan to try on Code::Blocks boot/configure
./bootstrap
export CXXFLAGS="-DWXMAKINGDLL_SCI -Wno-attributes"
./configure
Tim S.