User forums > Using Code::Blocks
Build error, help
01Becker:
.......
.......
Compiling: sdk\wxscintilla\src\wxscintilla.cpp
Linking dynamic library: devel\wxscintilla.dll
Creating library file: devel\libwxscintilla.a
.objs\2.6\sdk\wxscintilla\src\PlatWX.o: In function `Z10wxLogDebugPKcz':
D:/cb/src/sdk/wxscintilla/src/PlatWX.cpp:(.text$_ZN12wxStringBaseC2EPKc[wxStringBase::wxStringBase(char const*)]+0x27): undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'
D:/cb/src/sdk/wxscintilla/src/PlatWX.cpp:(.text$_ZN12wxStringBaseC2EPKcj[wxStringBase::wxStringBase(char const*, unsigned int)]+0x23): undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o: In function `ZNK12wxSCICallTip12AcceptsFocusEv':
C:/wxWidgets/include/wx/window.h:(.text$_Z16wxGetTranslationPKc[wxGetTranslation(char const*)]+0x2c): undefined reference to `_imp___ZNK8wxLocale9GetStringEPKcS1_'
.objs\2.6\sdk\wxscintilla\src\wxscintilla.o: In function `ZN11wxScintilla12StyleSetSpecEiRK8wxString':
D:/cb/src/sdk/wxscintilla/src/wxscintilla.cpp:2551: undefined reference to `_imp___ZNK8wxString11BeforeFirstEc'
D:/cb/src/sdk/wxscintilla/src/wxscintilla.cpp:2552: undefined reference to `_imp___ZNK8wxString10AfterFirstEc'
.objs\2.6\sdk\wxscintilla\src\wxscintilla.o: In function `ZN11wxScintilla8SaveFileERK8wxString':
D:/cb/src/sdk/wxscintilla/src/wxscintilla.cpp:2724: undefined reference to `_imp___ZN6wxFileC1EPKcNS_8OpenModeE'
.objs\2.6\sdk\wxscintilla\src\wxscintilla.o: In function `ZN11wxScintilla8LoadFileERK8wxString':
D:/cb/src/sdk/wxscintilla/src/wxscintilla.cpp:2736: undefined reference to `_imp___ZN6wxFileC1EPKcNS_8OpenModeE'
.objs\2.6\sdk\wxscintilla\src\wxscintilla.o: In function `ZNK6wxRect9GetBottomEv':
D:/cb/src/sdk/wxscintilla/src/wxscintilla.cpp:(.text$_ZeqRK8wxStringPKc[operator==(wxString const&, char const*)]+0x14): undefined reference to `_imp___ZNK8wxString3CmpEPKc'
collect2: ld returned 1 exit status
Process terminated with status 1 (1 minutes, 16 seconds)
4 errors, 7 warnings
killerbot:
unicode <--> ansi conflict ??
Michael:
Hello,
Could you say which version of C::B are you using to compile which version? And which compiler (GCC) version are you using?
Best wishes,
Michael
01Becker:
I'm not sure. When I change the version of the "wxmsw26.dll", the errors change.
PS: I directly use the "wxmsw26u_gcc_cb.dll" downloaded from here.
01Becker:
My C::B version is 1.0rc2
I am using gcc 3.4.5 <mingw special>
Navigation
[0] Message Index
[#] Next page
Go to full version