I am trying writing a plugin for codelite and have some problems when building codelite.
some information
systerm : windows 8.1 pro x64
codelite : version 7.0 x86 download from codelite.org
wxWidget : version 3.0 x86 download from codelite.org
compuler : tdm-gcc-4.8.1 x86, download from
Actually what I did is only follow the guides of this page http://codelite.org/Developers/Windows
And the compiler settings used this guides http://codelite.org/AddNewCompiler/AddNewCompiler
the error occur when compile spellcheck,the build log says
Code: Select all
C:/TDM-GCC-32/bin/g++.exe -shared -fPIC -o Win_x86_Release/SpellCheck.dll @"SpellCheck.txt" -L. -L../lib/gcc_lib -L./hunspell/lib -lplugin_sdku -lCodeLiteu -lwxsqlite3u -lhunspell -lwxscintilla -s -O2 -mthreads -LC:/wxWidgets/lib/gcc_dll -lwxmsw30u_stc -lwxmsw30u_richtext -lwxmsw30u_xrc -lwxmsw30u_aui -lwxmsw30u_html -lwxmsw30u_adv -lwxmsw30u_core -lwxbase30u_xml -lwxbase30u_net -lwxbase30u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o):LexerModule.cxx:(.text+0x205): undefined reference to `__gxx_personality_sj0'
C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o):LexerModule.cxx:(.text+0x21e): undefined reference to `_Unwind_SjLj_Register'
C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o):LexerModule.cxx:(.text+0x23f): undefined reference to `_Unwind_SjLj_Unregister'
C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o):LexerModule.cxx:(.text+0x282): undefined reference to `_Unwind_SjLj_Unregister'
C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o):LexerModule.cxx:(.text+0x2ad): undefined reference to `_Unwind_SjLj_Resume'
c:/tdm-gcc-32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: C:/wxWidgets/lib/gcc_dll/libwxscintilla.a(wxscintilla_LexerModule.o): bad reloc address 0x2 in section `.text$_ZN11LexerModuleD1Ev[__ZN11LexerModuleD1Ev]'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Win_x86_Release/SpellCheck.dll] Error 1
SpellCheck.mk:78: recipe for target 'Win_x86_Release/SpellCheck.dll' failed