When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
../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
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
./bootstrapexport CXXFLAGS="-DWXMAKINGDLL_SCI -Wno-attributes" ./configure
[email protected] /usr/src/codeblocks-12.11release8629$ ./bootstraplibtoolize: putting auxiliary files in `.'.libtoolize: copying file `./ltmain.sh'libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in andlibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.aclocal:configure.in:79: warning: macro `AM_OPTIONS_WXCONFIG' not found in libraryaclocal:configure.in:80: warning: macro `AM_PATH_WXCONFIG' not found in libraryUseless use of /d modifier in transliteration operator at /usr/share/automake-1.9/Automake/Wrap.pm line 60.configure.in:79: error: possibly undefined macro: AM_OPTIONS_WXCONFIG If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.configure.in:80: error: possibly undefined macro: AM_PATH_WXCONFIG
wxWidgets is not installed property?
[email protected] ~$ wx-config --cflags --libs-I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXUSINGDLL -D__WXGTK__-L/usr/local/lib -lwx_gtk2-2.8
__attribute__ ((dllexport)) int fn(int a){ return a + 19;}
libtool --mode=compile gcc -shared -c a.cpp
$ libtool --mode=link gcc -shared -g -O -o libtest.la a.lolibtool: link: rm -fr .libs/libtest.a .libs/libtest.la .libs/libtest.lailibtool: link: ar cru .libs/libtest.a .libs/a.olibtool: link: ranlib .libs/libtest.alibtool: link: ( cd ".libs" && rm -f "libtest.la" && ln -s "../libtest.la" "libtest.la" )
m4_include(wxwin.m4)
Hm, then do you have wx.m4 file or something like this where AM_PATH_WXCONFIG or AM_OPTIONS_WXCONFIG are defined?
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
Unfortunately, Code::Blocks does not work properly, I can create new 'Console' project in C++.But gcc compiler is not invocaled from Code::Blocks.Any ideas?P.S.: I have specified paths for compiler toolchain, gcc.exe, g++.exe etc.