Building problem

CodeLite installation/troubleshooting forum
Sergey
CodeLite Enthusiast
Posts: 15
Joined: Tue Dec 16, 2008 11:37 pm
Location: Ukraine
Contact:

Re: Building problem

Post by Sergey »

thanks, Eran. Now, when I trying to build project I take the message:
./Release/testa_frame.o:testa_frame.cpp:(.text+0x5a8): undefined reference to `wxSCINameStr'
./Release/testa_frame.o:testa_frame.cpp:(.text+0x621): undefined reference to `wxScintilla::wxScintilla(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
Смотри в корень!
Лучше скажи мало, но хорошо.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building problem

Post by eranif »

You need to build, it (wxscintilla project)

Next, add the library in the library path:
project settings -> linker -> add the path to the library in 'Library Path'
project settings -> linker -> add the library name in 'Libraries' (should be libwxscintillau.a or libwxscintillaud.a)

Eran
Make sure you have read the HOW TO POST thread
Sergey
CodeLite Enthusiast
Posts: 15
Joined: Tue Dec 16, 2008 11:37 pm
Location: Ukraine
Contact:

Re: Building problem

Post by Sergey »

eranif wrote:You need to build, it (wxscintilla project)

Next, add the library in the library path:
project settings -> linker -> add the path to the library in 'Library Path'
project settings -> linker -> add the library name in 'Libraries' (should be libwxscintillau.a or libwxscintillaud.a)

Eran
I built wxscintilla project but these files don't exist. I didn't change any settings. It is part of build log:
g++ -c "C:/CodeLite/Test/wxscintilla/src/scintilla/src/LexPowerShell.cxx" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.8.7\lib\gcc_dll\mswud -IC:\wxWidgets-2.8.7\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -o ./DebugUnicode/LexPowerShell.o "-I." "-I./include" "-Isrc/scintilla/include" "-Isrc/scintilla/src"
g++ -c "C:/CodeLite/Test/wxscintilla/src/scintilla/src/LexR.cxx" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.8.7\lib\gcc_dll\mswud -IC:\wxWidgets-2.8.7\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -o ./DebugUnicode/LexR.o "-I." "-I./include" "-Isrc/scintilla/include" "-Isrc/scintilla/src"
ar rcu ../../lib/gcc_lib/libwxscintillaud.a ./DebugUnicode/wxscintilla.o ./DebugUnicode/PlatWX.o ./DebugUnicode/ScintillaWX.o ./DebugUnicode/AutoComplete.o ./DebugUnicode/CallTip.o ./DebugUnicode/CellBuffer.o ./DebugUnicode/CharClassify.o ./DebugUnicode/ContractionState.o ./DebugUnicode/Document.o ./DebugUnicode/DocumentAccessor.o ./DebugUnicode/Editor.o ./DebugUnicode/ExternalLexer.o ./DebugUnicode/Indicator.o ./DebugUnicode/KeyMap.o ./DebugUnicode/KeyWords.o ./DebugUnicode/LexAda.o ./DebugUnicode/LexAPDL.o ./DebugUnicode/LexAsm.o ./DebugUnicode/LexAsn1.o ./DebugUnicode/LexAU3.o ./DebugUnicode/LexAVE.o ./DebugUnicode/LexBaan.o ./DebugUnicode/LexBash.o ./DebugUnicode/LexBasic.o ./DebugUnicode/LexBullant.o ./DebugUnicode/LexCaml.o ./DebugUnicode/LexCLW.o ./DebugUnicode/LexCmake.o ./DebugUnicode/LexConf.o ./DebugUnicode/LexCPP.o ./DebugUnicode/LexCrontab.o ./DebugUnicode/LexCsound.o ./DebugUnicode/LexCSS.o ./DebugUnicode/LexD.o ./DebugUnicode/LexEiffel.o ./DebugUnicode/LexErlang.o ./DebugUnicode/LexEScript.o ./DebugUnicode/LexFlagship.o ./DebugUnicode/LexForth.o ./DebugUnicode/LexFortran.o ./DebugUnicode/LexGui4Cli.o ./DebugUnicode/LexHaskell.o ./DebugUnicode/LexHTML.o ./DebugUnicode/LexInno.o ./DebugUnicode/LexKix.o ./DebugUnicode/LexLisp.o ./DebugUnicode/LexLout.o ./DebugUnicode/LexLua.o ./DebugUnicode/LexMatlab.o ./DebugUnicode/LexMetapost.o ./DebugUnicode/LexMMIXAL.o ./DebugUnicode/LexMPT.o ./DebugUnicode/LexMSSQL.o ./DebugUnicode/LexNsis.o ./DebugUnicode/LexOpal.o ./DebugUnicode/LexOthers.o ./DebugUnicode/LexPascal.o ./DebugUnicode/LexPB.o ./DebugUnicode/LexPerl.o ./DebugUnicode/LexPOV.o ./DebugUnicode/LexPS.o ./DebugUnicode/LexPython.o ./DebugUnicode/LexRebol.o ./DebugUnicode/LexRuby.o ./DebugUnicode/LexScriptol.o ./DebugUnicode/LexSmalltalk.o ./DebugUnicode/LexSpecman.o ./DebugUnicode/LexSpice.o ./DebugUnicode/LexSQL.o ./DebugUnicode/LexTADS3.o ./DebugUnicode/LexTCL.o ./DebugUnicode/LexTeX.o ./DebugUnicode/LexVB.o ./DebugUnicode/LexVerilog.o ./DebugUnicode/LexVHDL.o ./DebugUnicode/LexYAML.o ./DebugUnicode/LineMarker.o ./DebugUnicode/PropSet.o ./DebugUnicode/RESearch.o ./DebugUnicode/ScintillaBase.o ./DebugUnicode/Style.o ./DebugUnicode/StyleContext.o ./DebugUnicode/UniConversion.o ./DebugUnicode/ViewStyle.o ./DebugUnicode/WindowAccessor.o ./DebugUnicode/XPM.o ./DebugUnicode/Decoration.o ./DebugUnicode/LexGAP.o ./DebugUnicode/LexPLM.o ./DebugUnicode/LexProgress.o ./DebugUnicode/PositionCache.o ./DebugUnicode/RunStyles.o ./DebugUnicode/LexGCC.o ./DebugUnicode/LexFIF.o ./DebugUnicode/LexSVN.o ./DebugUnicode/LexAbaqus.o ./DebugUnicode/LexASY.o ./DebugUnicode/LexMagik.o ./DebugUnicode/LexPowerShell.o ./DebugUnicode/LexR.o
0 errors, 0 warnings, total time: 00:00:57 seconds

After building in the folder lib/gcc_lib/ no files.
Смотри в корень!
Лучше скажи мало, но хорошо.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building problem

Post by eranif »

codelite tries to create this file: ../../lib/gcc_lib/libwxscintillaud.a
but my guess is that you dont have this directory.

right click on wxscintilla project ->settings -> output file rename it to libwxscintillaud.a

and recompile again
Eran
Make sure you have read the HOW TO POST thread
Post Reply