wxWidgets 2.8.11 & 2.9.1 compiling error

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
hixhix
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Sep 06, 2010 9:19 pm

wxWidgets 2.8.11 & 2.9.1 compiling error

Post by hixhix »

Hi,

I'm having a problem when compiling wxWidgets 2.8.11. The error is shown in the attached screenshot.

My system:
OS: Windows 7, 64-bit
I use MinGW that comes with Code::Blocks v10.05 to compile
mingw32-make: v3.81

I ran
1) mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean

then

2) mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release

The error happened when I ran 2). In particular, when g++ tried to complied treectlg.cpp, the computer slowed down and almost froze for about 5 mins, then it gave the error as shown in the screenshot.

I have no idea how to fix this, please help me. Thanks.

edit: so I tried to compile wxWidgets 2.9.1 with same commands, and I got the following error

-------------
Creating library file: ..\..\lib\gcc_dll\libwxmsw29u.a
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1000 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1225 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2115 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1576 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1986 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2306 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1556 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1669 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1709 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1854 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1587 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1682 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1899 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1701 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1784 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1639 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1672 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1804 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2137 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1995 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1880 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2239 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1741 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1782 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2178 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1540 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2597 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.962 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1284 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1699 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1356 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1273 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1268 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1391 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1651 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1804 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1743 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.4596 ' unrecognized
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../..
/mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.2422 ' unrecognized
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text+0x721
9): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text+0x74f
c): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text+0x766
f): undefined reference to `_imp___Z7wxQsortPvjjPFiPKvS1_S1_ES1_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text$_ZN8w
xVectorI14SelectionRangeE2atEj[wxVector<SelectionRange>::at(unsigned int)]+0xf):
undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text$_ZN8w
xVectorI14SelectionRangeE2atEj[wxVector<SelectionRange>::at(unsigned int)]+0x46)
: undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x76a): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x7e9): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x823): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x937): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x96e): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x993): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x9ca): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xa74): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xaab): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xb0a): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xb41): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xb8e): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xbc5): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xc5c): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xc94): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xd0a): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xd89): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xdc4): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xe4f): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xe5d): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xf13): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xf88): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0xfc2): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1023): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1045): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1052): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x108c): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x10ac): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1165): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1183): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x11ba): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x11df): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1216): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1252): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1265): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x129c): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x12df): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1346): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1391): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x13d5): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x141b): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1549): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x158a): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x159b): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x15e8): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1b0b): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1b45): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1d96): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1d9c): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1dd9): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x1fb1): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x206e): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x20a5): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x2179): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
+0x2215): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN9wxPrivate21wxVectorMemOpsGenericI14SelectionRangeE15MemmoveBackwardEPS1_S3_
j[wxPrivate::wxVectorMemOpsGeneric<SelectionRange>::MemmoveBackward(SelectionRan
ge*, SelectionRange*, unsigned int)]+0x14): undefined reference to `_imp__wxTheA
ssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN9wxPrivate21wxVectorMemOpsGenericI14SelectionRangeE15MemmoveBackwardEPS1_S3_
j[wxPrivate::wxVectorMemOpsGeneric<SelectionRange>::MemmoveBackward(SelectionRan
ge*, SelectionRange*, unsigned int)]+0x77): undefined reference to `_imp___Z10wx
OnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZNK8wxVectorI14SelectionRangeE2atEj[wxVector<SelectionRange>::at(unsigned int)
const]+0xf): undefined reference to `_imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZNK8wxVectorI14SelectionRangeE2atEj[wxVector<SelectionRange>::at(unsigned int)
const]+0x46): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_S2_[wxVector<SelectionRange>::erase(Se
lectionRange*, SelectionRange*)]+0x19): undefined reference to `_imp__wxTheAsser
tHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_S2_[wxVector<SelectionRange>::erase(Se
lectionRange*, SelectionRange*)]+0x63): undefined reference to `_imp___Z10wxOnAs
sertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_S2_[wxVector<SelectionRange>::erase(Se
lectionRange*, SelectionRange*)]+0xd6): undefined reference to `_imp__wxTheAsser
tHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text
$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_S2_[wxVector<SelectionRange>::erase(Se
lectionRange*, SelectionRange*)]+0x13b): undefined reference to `_imp___Z10wxOnA
ssertPKciS0_S0_S0_'
collect2: ld returned 1 exit status
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw291u_gcc_custom.dll] Error 1

:(
Attachments
screenshot
screenshot
ollydbg23
Super wx Problem Solver
Super wx Problem Solver
Posts: 438
Joined: Fri Dec 12, 2008 10:31 am

Post by ollydbg23 »

I can successfully build wx 2.8.1 under mingw gcc 4.4.1, 4.4.4, 4.5...
Without any problem.

No idea about your problem.
ddv
Knows some wx things
Knows some wx things
Posts: 25
Joined: Mon Dec 18, 2006 4:23 pm

Post by ddv »

From what I know, 2.9.1 cannot be compiled with MONOLITHIC=1.
About 2.8.11, I had no problem to build it, but I used MONOLITHIC=0...
Post Reply