Page 1 of 1

Build codelite failed when link spellcheck to other libs

Posted: Tue Apr 07, 2015 10:02 pm
by jswh
hello,there.
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
I am not familiar with static langue and its compile process.I can not realise what I have done is not appropriate because what all I did is follow the guidelines.It have taken me two days, does any have some advice?

Re: Build codelite failed when link spellcheck to other libs

Posted: Tue Apr 07, 2015 10:16 pm
by eranif
This looks like a mess in your libraries.
However, if you are building CodeLite from sources (git master) you will need TDM GCC 4.9.1 and later.

So here are the updated instuctions:
Good luck
Eran

Re: Build codelite failed when link spellcheck to other libs

Posted: Tue Apr 07, 2015 10:31 pm
by jswh
Thank you so much.I will try it tomorrow as it is almost 2:30 am in my area.

Re: Build codelite failed when link spellcheck to other libs

Posted: Wed Apr 08, 2015 10:06 am
by jswh

Code: Select all

g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw30u_gcc_cl.dll gcc_mswudll\monodll_d
ummy.o gcc_mswudll\monodll_any.o gcc_mswudll\monodll_appbase.o gcc_mswudll\monod
ll_arcall.o gcc_mswudll\monodll_arcfind.o gcc_mswudll\monodll_archive.o gcc_mswu
dll\monodll_arrstr.o gcc_mswudll\monodll_base64.o gcc_mswudll\monodll_clntdata.o
 gcc_mswudll\monodll_cmdline.o gcc_mswudll\monodll_config.o gcc_mswudll\monodll_
convauto.o gcc_mswudll\monodll_datetime.o gcc_mswudll\monodll_datetimefmt.o gcc_
mswudll\monodll_datstrm.o gcc_mswudll\monodll_dircmn.o gcc_mswudll\monodll_dynar
ray.o gcc_mswudll\monodll_dynlib.o gcc_mswudll\monodll_dynload.o gcc_mswudll\mon
odll_encconv.o gcc_mswudll\monodll_evtloopcmn.o gcc_mswudll\monodll_extended.o g
cc_mswudll\monodll_ffile.o gcc_mswudll\monodll_file.o gcc_mswudll\monodll_fileba
ck.o gcc_mswudll\monodll_fileconf.o gcc_mswudll\monodll_filefn.o gcc_mswudll\mon
odll_filename.o gcc_mswudll\monodll_filesys.o gcc_mswudll\monodll_filtall.o gcc_
mswudll\monodll_filtfind.o gcc_mswudll\monodll_fmapbase.o gcc_mswudll\monodll_fs
_arc.o gcc_mswudll\monodll_fs_filter.o gcc_mswudll\monodll_hash.o gcc_mswudll\mo
nodll_hashmap.o gcc_mswudll\monodll_init.o gcc_mswudll\monodll_intl.o gcc_mswudl
l\monodll_ipcbase.o gcc_mswudll\monodll_languageinfo.o gcc_mswudll\monodll_list.
o gcc_mswudll\monodll_log.o gcc_mswudll\monodll_longlong.o gcc_mswudll\monodll_m
emory.o gcc_mswudll\monodll_mimecmn.o gcc_mswudll\monodll_module.o gcc_mswudll\m
onodll_mstream.o gcc_mswudll\monodll_numformatter.o gcc_mswudll\monodll_object.o
 gcc_mswudll\monodll_platinfo.o gcc_mswudll\monodll_powercmn.o gcc_mswudll\monod
ll_process.o gcc_mswudll\monodll_regex.o gcc_mswudll\monodll_stdpbase.o gcc_mswu
dll\monodll_sstream.o gcc_mswudll\monodll_stdstream.o gcc_mswudll\monodll_stopwa
tch.o gcc_mswudll\monodll_strconv.o gcc_mswudll\monodll_stream.o gcc_mswudll\mon
odll_string.o gcc_mswudll\monodll_stringimpl.o gcc_mswudll\monodll_stringops.o g
cc_mswudll\monodll_strvararg.o gcc_mswudll\monodll_sysopt.o gcc_mswudll\monodll_
tarstrm.o gcc_mswudll\monodll_textbuf.o gcc_mswudll\monodll_textfile.o gcc_mswud
ll\monodll_threadinfo.o gcc_mswudll\monodll_time.o gcc_mswudll\monodll_timercmn.
o gcc_mswudll\monodll_timerimpl.o gcc_mswudll\monodll_tokenzr.o gcc_mswudll\mono
dll_translation.o gcc_mswudll\monodll_txtstrm.o gcc_mswudll\monodll_unichar.o gc
c_mswudll\monodll_uri.o gcc_mswudll\monodll_ustring.o gcc_mswudll\monodll_varian
t.o gcc_mswudll\monodll_wfstream.o gcc_mswudll\monodll_wxcrt.o gcc_mswudll\monod
ll_wxprintf.o gcc_mswudll\monodll_xlocale.o gcc_mswudll\monodll_xti.o gcc_mswudl
l\monodll_xtistrm.o gcc_mswudll\monodll_zipstrm.o gcc_mswudll\monodll_zstream.o
gcc_mswudll\monodll_fswatchercmn.o gcc_mswudll\monodll_fswatcherg.o gcc_mswudll\
monodll_basemsw.o gcc_mswudll\monodll_crashrpt.o gcc_mswudll\monodll_debughlp.o
gcc_mswudll\monodll_dde.o gcc_mswudll\monodll_dir.o gcc_mswudll\monodll_dlmsw.o
gcc_mswudll\monodll_evtloopconsole.o gcc_mswudll\monodll_mimetype.o gcc_mswudll\
monodll_power.o gcc_mswudll\monodll_regconf.o gcc_mswudll\monodll_registry.o gcc
_mswudll\monodll_snglinst.o gcc_mswudll\monodll_stackwalk.o gcc_mswudll\monodll_
stdpaths.o gcc_mswudll\monodll_thread.o gcc_mswudll\monodll_timer.o gcc_mswudll\
monodll_utils.o gcc_mswudll\monodll_utilsexc.o gcc_mswudll\monodll_fswatcher.o g
cc_mswudll\monodll_event.o gcc_mswudll\monodll_fs_mem.o gcc_mswudll\monodll_msgo
ut.o gcc_mswudll\monodll_utilscmn.o gcc_mswudll\monodll_main.o gcc_mswudll\monod
ll_mslu.o gcc_mswudll\monodll_volume.o gcc_mswudll\monodll_fs_inet.o gcc_mswudll
\monodll_ftp.o gcc_mswudll\monodll_http.o gcc_mswudll\monodll_protocol.o gcc_msw
udll\monodll_sckaddr.o gcc_mswudll\monodll_sckfile.o gcc_mswudll\monodll_sckipc.
o gcc_mswudll\monodll_sckstrm.o gcc_mswudll\monodll_socket.o gcc_mswudll\monodll
_url.o gcc_mswudll\monodll_sockmsw.o gcc_mswudll\monodll_urlmsw.o gcc_mswudll\mo
nodll_activex.o gcc_mswudll\monodll_app.o gcc_mswudll\monodll_bitmap.o gcc_mswud
ll\monodll_brush.o gcc_mswudll\monodll_caret.o gcc_mswudll\monodll_clipbrd.o gcc
_mswudll\monodll_colour.o gcc_mswudll\monodll_cursor.o gcc_mswudll\monodll_data.
o gcc_mswudll\monodll_dc.o gcc_mswudll\monodll_dcclient.o gcc_mswudll\monodll_dc
memory.o gcc_mswudll\monodll_dcprint.o gcc_mswudll\monodll_dcscreen.o gcc_mswudl
l\monodll_dialup.o gcc_mswudll\monodll_dib.o gcc_mswudll\monodll_display.o gcc_m
swudll\monodll_enhmeta.o gcc_mswudll\monodll_font.o gcc_mswudll\monodll_fontenum
.o gcc_mswudll\monodll_fontutil.o gcc_mswudll\monodll_gdiimage.o gcc_mswudll\mon
odll_gdiobj.o gcc_mswudll\monodll_gdiplus.o gcc_mswudll\monodll_graphics.o gcc_m
swudll\monodll_icon.o gcc_mswudll\monodll_imaglist.o gcc_mswudll\monodll_minifra
m.o gcc_mswudll\monodll_nonownedwnd.o gcc_mswudll\monodll_dataobj.o gcc_mswudll\
monodll_dropsrc.o gcc_mswudll\monodll_droptgt.o gcc_mswudll\monodll_oleutils.o g
cc_mswudll\monodll_safearray.o gcc_mswudll\monodll_palette.o gcc_mswudll\monodll
_pen.o gcc_mswudll\monodll_popupwin.o gcc_mswudll\monodll_printdlg.o gcc_mswudll
\monodll_printwin.o gcc_mswudll\monodll_region.o gcc_mswudll\monodll_renderer.o
gcc_mswudll\monodll_settings.o gcc_mswudll\monodll_textmeasure.o gcc_mswudll\mon
odll_tooltip.o gcc_mswudll\monodll_toplevel.o gcc_mswudll\monodll_uiaction.o gcc
_mswudll\monodll_utilsgui.o gcc_mswudll\monodll_utilswin.o gcc_mswudll\monodll_u
xtheme.o gcc_mswudll\monodll_window.o gcc_mswudll\monodll_helpchm.o gcc_mswudll\
monodll_helpwin.o gcc_mswudll\monodll_automtn.o gcc_mswudll\monodll_uuid.o gcc_m
swudll\monodll_clrpickerg.o gcc_mswudll\monodll_collpaneg.o gcc_mswudll\monodll_
filepickerg.o gcc_mswudll\monodll_fontpickerg.o gcc_mswudll\monodll_generic_stat
usbr.o gcc_mswudll\monodll_prntdlgg.o gcc_mswudll\monodll_msw_accel.o gcc_mswudl
l\monodll_anybutton.o gcc_mswudll\monodll_artmsw.o gcc_mswudll\monodll_msw_bmpbu
ttn.o gcc_mswudll\monodll_msw_button.o gcc_mswudll\monodll_msw_checkbox.o gcc_ms
wudll\monodll_msw_choice.o gcc_mswudll\monodll_colordlg.o gcc_mswudll\monodll_co
mbo.o gcc_mswudll\monodll_msw_combobox.o gcc_mswudll\monodll_msw_control.o gcc_m
swudll\monodll_msw_dialog.o gcc_mswudll\monodll_dirdlg.o gcc_mswudll\monodll_dra
gimag.o gcc_mswudll\monodll_evtloop.o gcc_mswudll\monodll_filedlg.o gcc_mswudll\
monodll_frame.o gcc_mswudll\monodll_msw_gauge.o gcc_mswudll\monodll_headerctrl.o
 gcc_mswudll\monodll_iniconf.o gcc_mswudll\monodll_msw_listbox.o gcc_mswudll\mon
odll_msw_listctrl.o gcc_mswudll\monodll_mdi.o gcc_mswudll\monodll_msw_menu.o gcc
_mswudll\monodll_menuitem.o gcc_mswudll\monodll_metafile.o gcc_mswudll\monodll_m
sgdlg.o gcc_mswudll\monodll_nativdlg.o gcc_mswudll\monodll_nativewin.o gcc_mswud
ll\monodll_msw_notebook.o gcc_mswudll\monodll_access.o gcc_mswudll\monodll_owner
drw.o gcc_mswudll\monodll_msw_panel.o gcc_mswudll\monodll_progdlg.o gcc_mswudll\
monodll_msw_radiobox.o gcc_mswudll\monodll_msw_radiobut.o gcc_mswudll\monodll_ri
chmsgdlg.o gcc_mswudll\monodll_msw_scrolbar.o gcc_mswudll\monodll_msw_slider.o g
cc_mswudll\monodll_msw_spinbutt.o gcc_mswudll\monodll_spinctrl.o gcc_mswudll\mon
odll_msw_statbmp.o gcc_mswudll\monodll_msw_statbox.o gcc_mswudll\monodll_statusb
ar.o gcc_mswudll\monodll_msw_statline.o gcc_mswudll\monodll_msw_stattext.o gcc_m
swudll\monodll_msw_toolbar.o gcc_mswudll\monodll_msw_textctrl.o gcc_mswudll\mono
dll_textentry.o gcc_mswudll\monodll_msw_tglbtn.o gcc_mswudll\monodll_treectrl.o
gcc_mswudll\monodll_msw_checklst.o gcc_mswudll\monodll_msw_fdrepdlg.o gcc_mswudl
l\monodll_fontdlg.o gcc_mswudll\monodll_accelcmn.o gcc_mswudll\monodll_accesscmn
.o gcc_mswudll\monodll_anidecod.o gcc_mswudll\monodll_affinematrix2d.o gcc_mswud
ll\monodll_appcmn.o gcc_mswudll\monodll_artprov.o gcc_mswudll\monodll_artstd.o g
cc_mswudll\monodll_arttango.o gcc_mswudll\monodll_bmpbase.o gcc_mswudll\monodll_
bmpbtncmn.o gcc_mswudll\monodll_bookctrl.o gcc_mswudll\monodll_btncmn.o gcc_mswu
dll\monodll_cairo.o gcc_mswudll\monodll_checkboxcmn.o gcc_mswudll\monodll_checkl
stcmn.o gcc_mswudll\monodll_choiccmn.o gcc_mswudll\monodll_clipcmn.o gcc_mswudll
\monodll_clrpickercmn.o gcc_mswudll\monodll_colourcmn.o gcc_mswudll\monodll_colo
urdata.o gcc_mswudll\monodll_combocmn.o gcc_mswudll\monodll_cmdproc.o gcc_mswudl
l\monodll_cmndata.o gcc_mswudll\monodll_containr.o gcc_mswudll\monodll_cshelp.o
gcc_mswudll\monodll_ctrlcmn.o gcc_mswudll\monodll_ctrlsub.o gcc_mswudll\monodll_
dcbase.o gcc_mswudll\monodll_dcbufcmn.o gcc_mswudll\monodll_dcgraph.o gcc_mswudl
l\monodll_dcsvg.o gcc_mswudll\monodll_dirctrlcmn.o gcc_mswudll\monodll_dlgcmn.o
gcc_mswudll\monodll_dndcmn.o gcc_mswudll\monodll_dobjcmn.o gcc_mswudll\monodll_d
ocmdi.o gcc_mswudll\monodll_docview.o gcc_mswudll\monodll_dpycmn.o gcc_mswudll\m
onodll_dseldlg.o gcc_mswudll\monodll_effects.o gcc_mswudll\monodll_fddlgcmn.o gc
c_mswudll\monodll_filectrlcmn.o gcc_mswudll\monodll_filehistorycmn.o gcc_mswudll
\monodll_filepickercmn.o gcc_mswudll\monodll_fontpickercmn.o gcc_mswudll\monodll
_fldlgcmn.o gcc_mswudll\monodll_fontcmn.o gcc_mswudll\monodll_fontdata.o gcc_msw
udll\monodll_graphicc.o gcc_mswudll\monodll_fontenumcmn.o gcc_mswudll\monodll_fo
ntmap.o gcc_mswudll\monodll_fontutilcmn.o gcc_mswudll\monodll_framecmn.o gcc_msw
udll\monodll_gaugecmn.o gcc_mswudll\monodll_gbsizer.o gcc_mswudll\monodll_gdicmn
.o gcc_mswudll\monodll_geometry.o gcc_mswudll\monodll_gifdecod.o gcc_mswudll\mon
odll_graphcmn.o gcc_mswudll\monodll_headercolcmn.o gcc_mswudll\monodll_headerctr
lcmn.o gcc_mswudll\monodll_helpbase.o gcc_mswudll\monodll_iconbndl.o gcc_mswudll
\monodll_imagall.o gcc_mswudll\monodll_imagbmp.o gcc_mswudll\monodll_image.o gcc
_mswudll\monodll_imagfill.o gcc_mswudll\monodll_imaggif.o gcc_mswudll\monodll_im
agiff.o gcc_mswudll\monodll_imagjpeg.o gcc_mswudll\monodll_imagpcx.o gcc_mswudll
\monodll_imagpng.o gcc_mswudll\monodll_imagpnm.o gcc_mswudll\monodll_imagtga.o g
cc_mswudll\monodll_imagtiff.o gcc_mswudll\monodll_imagxpm.o gcc_mswudll\monodll_
layout.o gcc_mswudll\monodll_lboxcmn.o gcc_mswudll\monodll_listctrlcmn.o gcc_msw
udll\monodll_markupparser.o gcc_mswudll\monodll_matrix.o gcc_mswudll\monodll_men
ucmn.o gcc_mswudll\monodll_modalhook.o gcc_mswudll\monodll_mousemanager.o gcc_ms
wudll\monodll_nbkbase.o gcc_mswudll\monodll_overlaycmn.o gcc_mswudll\monodll_own
erdrwcmn.o gcc_mswudll\monodll_paper.o gcc_mswudll\monodll_panelcmn.o gcc_mswudl
l\monodll_persist.o gcc_mswudll\monodll_pickerbase.o gcc_mswudll\monodll_popupcm
n.o gcc_mswudll\monodll_preferencescmn.o gcc_mswudll\monodll_prntbase.o gcc_mswu
dll\monodll_quantize.o gcc_mswudll\monodll_radiobtncmn.o gcc_mswudll\monodll_rad
iocmn.o gcc_mswudll\monodll_rearrangectrl.o gcc_mswudll\monodll_rendcmn.o gcc_ms
wudll\monodll_rgncmn.o gcc_mswudll\monodll_scrolbarcmn.o gcc_mswudll\monodll_set
tcmn.o gcc_mswudll\monodll_sizer.o gcc_mswudll\monodll_slidercmn.o gcc_mswudll\m
onodll_spinbtncmn.o gcc_mswudll\monodll_spinctrlcmn.o gcc_mswudll\monodll_srchcm
n.o gcc_mswudll\monodll_statbar.o gcc_mswudll\monodll_statbmpcmn.o gcc_mswudll\m
onodll_statboxcmn.o gcc_mswudll\monodll_statlinecmn.o gcc_mswudll\monodll_statte
xtcmn.o gcc_mswudll\monodll_stockitem.o gcc_mswudll\monodll_tbarbase.o gcc_mswud
ll\monodll_textcmn.o gcc_mswudll\monodll_textentrycmn.o gcc_mswudll\monodll_text
measurecmn.o gcc_mswudll\monodll_toplvcmn.o gcc_mswudll\monodll_treebase.o gcc_m
swudll\monodll_uiactioncmn.o gcc_mswudll\monodll_valgen.o gcc_mswudll\monodll_va
lidate.o gcc_mswudll\monodll_valtext.o gcc_mswudll\monodll_valnum.o gcc_mswudll\
monodll_wincmn.o gcc_mswudll\monodll_windowid.o gcc_mswudll\monodll_wrapsizer.o
gcc_mswudll\monodll_xpmdecod.o gcc_mswudll\monodll_busyinfo.o gcc_mswudll\monodl
l_generic_buttonbar.o gcc_mswudll\monodll_choicdgg.o gcc_mswudll\monodll_choicbk
g.o gcc_mswudll\monodll_combog.o gcc_mswudll\monodll_dcpsg.o gcc_mswudll\monodll
_dirctrlg.o gcc_mswudll\monodll_dragimgg.o gcc_mswudll\monodll_filectrlg.o gcc_m
swudll\monodll_headerctrlg.o gcc_mswudll\monodll_infobar.o gcc_mswudll\monodll_l
istbkg.o gcc_mswudll\monodll_logg.o gcc_mswudll\monodll_markuptext.o gcc_mswudll
\monodll_msgdlgg.o gcc_mswudll\monodll_numdlgg.o gcc_mswudll\monodll_progdlgg.o
gcc_mswudll\monodll_preferencesg.o gcc_mswudll\monodll_printps.o gcc_mswudll\mon
odll_renderg.o gcc_mswudll\monodll_richmsgdlgg.o gcc_mswudll\monodll_scrlwing.o
gcc_mswudll\monodll_selstore.o gcc_mswudll\monodll_spinctlg.o gcc_mswudll\monodl
l_splitter.o gcc_mswudll\monodll_srchctlg.o gcc_mswudll\monodll_statbmpg.o gcc_m
swudll\monodll_stattextg.o gcc_mswudll\monodll_textdlgg.o gcc_mswudll\monodll_ti
pwin.o gcc_mswudll\monodll_toolbkg.o gcc_mswudll\monodll_treectlg.o gcc_mswudll\
monodll_treebkg.o gcc_mswudll\monodll_vlbox.o gcc_mswudll\monodll_vscroll.o gcc_
mswudll\monodll_xmlreshandler.o gcc_mswudll\monodll_animatecmn.o gcc_mswudll\mon
odll_bmpcboxcmn.o gcc_mswudll\monodll_calctrlcmn.o gcc_mswudll\monodll_datavcmn.
o gcc_mswudll\monodll_gridcmn.o gcc_mswudll\monodll_hyperlnkcmn.o gcc_mswudll\mo
nodll_odcombocmn.o gcc_mswudll\monodll_richtooltipcmn.o gcc_mswudll\monodll_abou
tdlgg.o gcc_mswudll\monodll_bannerwindow.o gcc_mswudll\monodll_bmpcboxg.o gcc_ms
wudll\monodll_calctrlg.o gcc_mswudll\monodll_commandlinkbuttong.o gcc_mswudll\mo
nodll_datavgen.o gcc_mswudll\monodll_datectlg.o gcc_mswudll\monodll_editlbox.o g
cc_mswudll\monodll_grid.o gcc_mswudll\monodll_gridctrl.o gcc_mswudll\monodll_gri
deditors.o gcc_mswudll\monodll_gridsel.o gcc_mswudll\monodll_helpext.o gcc_mswud
ll\monodll_hyperlinkg.o gcc_mswudll\monodll_laywin.o gcc_mswudll\monodll_notifms
gg.o gcc_mswudll\monodll_odcombo.o gcc_mswudll\monodll_propdlg.o gcc_mswudll\mon
odll_richtooltipg.o gcc_mswudll\monodll_sashwin.o gcc_mswudll\monodll_splash.o g
cc_mswudll\monodll_timectrlg.o gcc_mswudll\monodll_tipdlg.o gcc_mswudll\monodll_
treelist.o gcc_mswudll\monodll_wizard.o gcc_mswudll\monodll_taskbarcmn.o gcc_msw
udll\monodll_aboutdlg.o gcc_mswudll\monodll_notifmsg.o gcc_mswudll\monodll_richt
ooltip.o gcc_mswudll\monodll_sound.o gcc_mswudll\monodll_taskbar.o gcc_mswudll\m
onodll_joystick.o gcc_mswudll\monodll_animateg.o gcc_mswudll\monodll_bmpcbox.o g
cc_mswudll\monodll_calctrl.o gcc_mswudll\monodll_commandlinkbutton.o gcc_mswudll
\monodll_datecontrols.o gcc_mswudll\monodll_datectrl.o gcc_mswudll\monodll_datet
imectrl.o gcc_mswudll\monodll_hyperlink.o gcc_mswudll\monodll_timectrl.o gcc_msw
udll\monodll_mediactrlcmn.o gcc_mswudll\monodll_mediactrl_am.o gcc_mswudll\monod
ll_mediactrl_wmp10.o gcc_mswudll\monodll_mediactrl_qt.o gcc_mswudll\monodll_help
best.o gcc_mswudll\monodll_helpctrl.o gcc_mswudll\monodll_helpdata.o gcc_mswudll
\monodll_helpdlg.o gcc_mswudll\monodll_helpfrm.o gcc_mswudll\monodll_helpwnd.o g
cc_mswudll\monodll_htmlcell.o gcc_mswudll\monodll_htmlfilt.o gcc_mswudll\monodll
_htmlpars.o gcc_mswudll\monodll_htmltag.o gcc_mswudll\monodll_htmlwin.o gcc_mswu
dll\monodll_htmprint.o gcc_mswudll\monodll_m_dflist.o gcc_mswudll\monodll_m_font
s.o gcc_mswudll\monodll_m_hline.o gcc_mswudll\monodll_m_image.o gcc_mswudll\mono
dll_m_layout.o gcc_mswudll\monodll_m_links.o gcc_mswudll\monodll_m_list.o gcc_ms
wudll\monodll_m_pre.o gcc_mswudll\monodll_m_span.o gcc_mswudll\monodll_m_style.o
 gcc_mswudll\monodll_m_tables.o gcc_mswudll\monodll_styleparams.o gcc_mswudll\mo
nodll_winpars.o gcc_mswudll\monodll_htmllbox.o gcc_mswudll\monodll_webview_ie.o
gcc_mswudll\monodll_webview.o gcc_mswudll\monodll_webviewarchivehandler.o gcc_ms
wudll\monodll_webviewfshandler.o gcc_mswudll\monodll_debugrpt.o gcc_mswudll\mono
dll_dbgrptg.o gcc_mswudll\monodll_xh_animatctrl.o gcc_mswudll\monodll_xh_bannerw
indow.o gcc_mswudll\monodll_xh_bmp.o gcc_mswudll\monodll_xh_bmpcbox.o gcc_mswudl
l\monodll_xh_bmpbt.o gcc_mswudll\monodll_xh_bttn.o gcc_mswudll\monodll_xh_cald.o
 gcc_mswudll\monodll_xh_chckb.o gcc_mswudll\monodll_xh_chckl.o gcc_mswudll\monod
ll_xh_choic.o gcc_mswudll\monodll_xh_choicbk.o gcc_mswudll\monodll_xh_clrpicker.
o gcc_mswudll\monodll_xh_cmdlinkbn.o gcc_mswudll\monodll_xh_collpane.o gcc_mswud
ll\monodll_xh_combo.o gcc_mswudll\monodll_xh_comboctrl.o gcc_mswudll\monodll_xh_
datectrl.o gcc_mswudll\monodll_xh_dirpicker.o gcc_mswudll\monodll_xh_dlg.o gcc_m
swudll\monodll_xh_editlbox.o gcc_mswudll\monodll_xh_filectrl.o gcc_mswudll\monod
ll_xh_filepicker.o gcc_mswudll\monodll_xh_fontpicker.o gcc_mswudll\monodll_xh_fr
ame.o gcc_mswudll\monodll_xh_gauge.o gcc_mswudll\monodll_xh_gdctl.o gcc_mswudll\
monodll_xh_grid.o gcc_mswudll\monodll_xh_html.o gcc_mswudll\monodll_xh_hyperlink
.o gcc_mswudll\monodll_xh_listb.o gcc_mswudll\monodll_xh_listbk.o gcc_mswudll\mo
nodll_xh_listc.o gcc_mswudll\monodll_xh_mdi.o gcc_mswudll\monodll_xh_menu.o gcc_
mswudll\monodll_xh_notbk.o gcc_mswudll\monodll_xh_odcombo.o gcc_mswudll\monodll_
xh_panel.o gcc_mswudll\monodll_xh_propdlg.o gcc_mswudll\monodll_xh_radbt.o gcc_m
swudll\monodll_xh_radbx.o gcc_mswudll\monodll_xh_scrol.o gcc_mswudll\monodll_xh_
scwin.o gcc_mswudll\monodll_xh_htmllbox.o gcc_mswudll\monodll_xh_simplebook.o gc
c_mswudll\monodll_xh_sizer.o gcc_mswudll\monodll_xh_slidr.o gcc_mswudll\monodll_
xh_spin.o gcc_mswudll\monodll_xh_split.o gcc_mswudll\monodll_xh_srchctrl.o gcc_m
swudll\monodll_xh_statbar.o gcc_mswudll\monodll_xh_stbmp.o gcc_mswudll\monodll_x
h_stbox.o gcc_mswudll\monodll_xh_stlin.o gcc_mswudll\monodll_xh_sttxt.o gcc_mswu
dll\monodll_xh_text.o gcc_mswudll\monodll_xh_tglbtn.o gcc_mswudll\monodll_xh_tim
ectrl.o gcc_mswudll\monodll_xh_toolb.o gcc_mswudll\monodll_xh_toolbk.o gcc_mswud
ll\monodll_xh_tree.o gcc_mswudll\monodll_xh_treebk.o gcc_mswudll\monodll_xh_unkw
n.o gcc_mswudll\monodll_xh_wizrd.o gcc_mswudll\monodll_xmlres.o gcc_mswudll\mono
dll_xmladv.o gcc_mswudll\monodll_xmlrsall.o gcc_mswudll\monodll_framemanager.o g
cc_mswudll\monodll_dockart.o gcc_mswudll\monodll_floatpane.o gcc_mswudll\monodll
_auibook.o gcc_mswudll\monodll_auibar.o gcc_mswudll\monodll_tabmdi.o gcc_mswudll
\monodll_tabart.o gcc_mswudll\monodll_xh_auinotbk.o gcc_mswudll\monodll_advprops
.o gcc_mswudll\monodll_editors.o gcc_mswudll\monodll_manager.o gcc_mswudll\monod
ll_property.o gcc_mswudll\monodll_propgrid.o gcc_mswudll\monodll_propgridiface.o
 gcc_mswudll\monodll_propgridpagestate.o gcc_mswudll\monodll_props.o gcc_mswudll
\monodll_art_internal.o gcc_mswudll\monodll_art_msw.o gcc_mswudll\monodll_art_au
i.o gcc_mswudll\monodll_bar.o gcc_mswudll\monodll_ribbon_buttonbar.o gcc_mswudll
\monodll_ribbon_control.o gcc_mswudll\monodll_gallery.o gcc_mswudll\monodll_page
.o gcc_mswudll\monodll_ribbon_panel.o gcc_mswudll\monodll_ribbon_toolbar.o gcc_m
swudll\monodll_xh_ribbon.o gcc_mswudll\monodll_richtextbuffer.o gcc_mswudll\mono
dll_richtextctrl.o gcc_mswudll\monodll_richtextformatdlg.o gcc_mswudll\monodll_r
ichtexthtml.o gcc_mswudll\monodll_richtextimagedlg.o gcc_mswudll\monodll_richtex
tprint.o gcc_mswudll\monodll_richtextstyledlg.o gcc_mswudll\monodll_richtextstyl
es.o gcc_mswudll\monodll_richtextsymboldlg.o gcc_mswudll\monodll_richtextxml.o g
cc_mswudll\monodll_xh_richtext.o gcc_mswudll\monodll_stc.o gcc_mswudll\monodll_P
latWX.o gcc_mswudll\monodll_ScintillaWX.o gcc_mswudll\monodll_xml.o gcc_mswudll\
monodll_xtixml.o gcc_mswudll\monodll_version_rc.o   -mthreads -L..\..\lib\gcc_dl
l -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw30u.a    -lwxtiff -lwxjpeg -lwxpng
  -lwxzlib -lwxregexu -lwxexpat    -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwins
pool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32
-lwsock32 -lwininet     ..\..\lib\gcc_dll\libwxscintilla.a
g++: error: gcc_swudll\monodll_ctrlsub.o: No such file or directory
g++: error: gcc_msudll\monodll_xh_panel.o: No such file or directory
Makefile.gcc:5206: recipe for target '..\..\lib\gcc_dll\wxmsw30u_gcc_cl.dll' fai
led
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw30u_gcc_cl.dll] Error 1
I flollowed the guides to compile wxWigets,but there are still errors.Before that, I added a flag gnu++11 to CXXFLAGS as the command looks like

Code: Select all

mingw32-make -j8 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS=-fno-keep-inline-dllexport" -std=gnu++11" MONOLITHIC=1

Re: Build codelite failed when link spellcheck to other libs

Posted: Wed Apr 08, 2015 4:05 pm
by eranif
I just followed the steps to build CodeLite on Windows 32 bit with a 32 bit compiler.

I updated the build instructions and they should work now.

1. Build wxWidgets according to the instructions I provided here: http://codelite.org/Developers/Building ... tsWin#toc1 It is important that you use MinGW-4.8.1 from that page. (I managed to build CodeLite with MinGW-4.9.2/32 bit but it failed to launch)
2. Build CodeLite as described in this URL: http://codelite.org/Developers/Windows

When building the 32 bit version:
- Use the MinGW 4.8.1 that I linked on that pages
- Make sure you build the workspace configuration: Win_x86_Release and the active project is set to CodeLiteIDE

Eran

Re: Build codelite failed when link spellcheck to other libs

Posted: Sat Apr 11, 2015 10:16 am
by jswh
thank you.But finally I used the weekly build version and wxWidget3.1 with Mingw4.9.1_x64 to make my work continue.I will try again if have time.
Thank you again!