Unable to build Codelite using Codelite
Posted: Thu Feb 10, 2011 8:39 pm
Hello! I'm trying to build codelite from latest codelite release (under Windows XP) and stuck with following problem:
If I build from Codelite itself then invalid parameters are passed to g++, for example (project - wxscintilla):
But if I export makefile and run
Then everything works just fine!
Even if I go to root of working copy and run
Then everything is fine too, build is successfully finished, ex:
What could be wrong with building from Codelite?
If I build from Codelite itself then invalid parameters are passed to g++, for example (project - wxscintilla):
Code: Select all
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "LiteEditor_wsp.mk""
----------Building project:[ wxscintilla - WinReleaseUnicode ]----------
mingw32-make.exe[1]: Entering directory `C:/work/codelite.wc/sdk/wxscintilla'
g++ -shared -fPIC -o ../../lib/gcc_lib/libwxscintillau.dll WinReleaseUnicode/lexers_LexAbaqus.o WinReleaseUnicode/lexers_LexAda.o WinReleaseUnicode/lexers_LexAPDL.o WinReleaseUnicode/lexers_LexAsm.o WinReleaseUnicode/lexers_LexAsn1.o WinReleaseUnicode/lexers_LexASY.o WinReleaseUnicode/lexers_LexAU3.o WinReleaseUnicode/lexers_LexAVE.o WinReleaseUnicode/lexers_LexBaan.o WinReleaseUnicode/lexers_LexBash.o WinReleaseUnicode/lexers_LexBasic.o WinReleaseUnicode/lexers_LexBullant.o WinReleaseUnicode/lexers_LexCaml.o WinReleaseUnicode/lexers_LexCLW.o WinReleaseUnicode/lexers_LexCmake.o WinReleaseUnicode/lexers_LexCOBOL.o WinReleaseUnicode/lexers_LexConf.o WinReleaseUnicode/lexers_LexCPP.o WinReleaseUnicode/lexers_LexCppCheck.o WinReleaseUnicode/lexers_LexCrontab.o WinReleaseUnicode/lexers_LexCsound.o WinReleaseUnicode/lexers_LexCSS.o WinReleaseUnicode/lexers_LexD.o WinReleaseUnicode/lexers_LexEiffel.o WinReleaseUnicode/lexers_LexErlang.o WinReleaseUnicode/lexers_LexEScript.o WinReleaseUnicode/lexers_LexFIF.o WinReleaseUnicode/lexers_LexFlagship.o WinReleaseUnicode/lexers_LexForth.o WinReleaseUnicode/lexers_LexFortran.o WinReleaseUnicode/lexers_LexGAP.o WinReleaseUnicode/lexers_LexGCC.o WinReleaseUnicode/lexers_LexGui4Cli.o WinReleaseUnicode/lexers_LexHaskell.o WinReleaseUnicode/lexers_LexHTML.o WinReleaseUnicode/lexers_LexInno.o WinReleaseUnicode/lexers_LexKix.o WinReleaseUnicode/lexers_LexLisp.o WinReleaseUnicode/lexers_LexLout.o WinReleaseUnicode/lexers_LexLua.o WinReleaseUnicode/lexers_LexMagik.o WinReleaseUnicode/lexers_LexMarkdown.o WinReleaseUnicode/lexers_LexMatlab.o WinReleaseUnicode/lexers_LexMetapost.o WinReleaseUnicode/lexers_LexMMIXAL.o WinReleaseUnicode/lexers_LexMPT.o WinReleaseUnicode/lexers_LexMSSQL.o WinReleaseUnicode/lexers_LexMySQL.o WinReleaseUnicode/lexers_LexNimrod.o WinReleaseUnicode/lexers_LexNsis.o WinReleaseUnicode/lexers_LexOpal.o WinReleaseUnicode/lexers_LexOthers.o WinReleaseUnicode/lexers_LexPascal.o WinReleaseUnicode/lexers_LexPB.o WinReleaseUnicode/lexers_LexPerl.o WinReleaseUnicode/lexers_LexPLM.o WinReleaseUnicode/lexers_LexPOV.o WinReleaseUnicode/lexers_LexPowerPro.o WinReleaseUnicode/lexers_LexPowerShell.o WinReleaseUnicode/lexers_LexProgress.o WinReleaseUnicode/lexers_LexPS.o WinReleaseUnicode/lexers_LexPython.o WinReleaseUnicode/lexers_LexR.o WinReleaseUnicode/lexers_LexRebol.o WinReleaseUnicode/lexers_LexRuby.o WinReleaseUnicode/lexers_LexScriptol.o WinReleaseUnicode/lexers_LexSmalltalk.o WinReleaseUnicode/lexers_LexSML.o WinReleaseUnicode/lexers_LexSorcus.o WinReleaseUnicode/lexers_LexSpecman.o WinReleaseUnicode/lexers_LexSpice.o WinReleaseUnicode/lexers_LexSQL.o WinReleaseUnicode/lexers_LexSVN.o WinReleaseUnicode/lexers_LexTACL.o WinReleaseUnicode/lexers_LexTADS3.o WinReleaseUnicode/lexers_LexTAL.o WinReleaseUnicode/lexers_LexTCL.o WinReleaseUnicode/lexers_LexTeX.o WinReleaseUnicode/lexers_LexTxt2tags.o WinReleaseUnicode/lexers_LexVB.o WinReleaseUnicode/lexers_LexVerilog.o WinReleaseUnicode/lexers_LexVHDL.o WinReleaseUnicode/lexers_LexYAML.o WinReleaseUnicode/lexlib_Accessor.o WinReleaseUnicode/lexlib_CharacterSet.o WinReleaseUnicode/lexlib_LexerBase.o WinReleaseUnicode/lexlib_LexerModule.o WinReleaseUnicode/lexlib_LexerNoExceptions.o WinReleaseUnicode/lexlib_LexerSimple.o WinReleaseUnicode/lexlib_PropSetSimple.o WinReleaseUnicode/lexlib_StyleContext.o WinReleaseUnicode/lexlib_WordList.o WinReleaseUnicode/src_AutoComplete.o WinReleaseUnicode/src_CallTip.o WinReleaseUnicode/src_Catalogue.o WinReleaseUnicode/src_CellBuffer.o WinReleaseUnicode/src_CharClassify.o WinReleaseUnicode/src_ContractionState.o WinReleaseUnicode/src_Decoration.o WinReleaseUnicode/src_Document.o WinReleaseUnicode/src_Editor.o WinReleaseUnicode/src_ExternalLexer.o WinReleaseUnicode/src_Indicator.o WinReleaseUnicode/src_KeyMap.o WinReleaseUnicode/src_LineMarker.o WinReleaseUnicode/src_PerLine.o WinReleaseUnicode/src_PositionCache.o WinReleaseUnicode/src_RESearch.o WinReleaseUnicode/src_RunStyles.o WinReleaseUnicode/src_ScintillaBase.o WinReleaseUnicode/src_Selection.o WinReleaseUnicode/src_Style.o WinReleaseUnicode/src_UniConversion.o WinReleaseUnicode/src_ViewStyle.o WinReleaseUnicode/src_XPM.o WinReleaseUnicode/src_wxscintilla.o WinReleaseUnicode/src_PlatWX.o WinReleaseUnicode/src_ScintillaWX.o "-L." -mthreads -LC:\wxWidgets\lib\gcc_lib -lwxmsw28u_html -lwxmsw28u_adv -lwxmsw28u_core -lwxbase28u_xml -lwxbase28u_net -lwxbase28u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
WinReleaseUnicode/src_wxscintilla.o:wxscintilla.cpp:(.text+0x4dcf): undefined reference to `_imp___ZN16wxEventHashTableD1Ev'
WinReleaseUnicode/src_wxscintilla.o:wxscintilla.cpp:(.text+0x4df5): undefined reference to `_imp___ZN14wxCommandEventC2Eii'
...
alot of undefined references
Code: Select all
mingw32-make.exe -j 2 -f wxscintilla.mk
Even if I go to root of working copy and run
Code: Select all
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "LiteEditor_wsp.mk""
Code: Select all
<skipped>
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libwxscintillau.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory `C:/work/codelite.wc/sdk/wxscintilla'