User forums > Using Code::Blocks
ld.exe cannot find -lwxscintilla
kaos_frack:
Here's what I'm getting:
--- Code: ----------------- Build: Debug in wxapp01 ---------------
[100.0%] mingw32-g++.exe -LC:\wxWidgets-2.8.6\lib\gcc_lib -LC:\wxWidgets-2.8.6\contrib\build\stc\gcc_mswud -o bin\Debug\wxapp01.exe obj\Debug\main.o obj\Debug\wxapp_frame.o obj\Debug\MainFrameDerived.o -lwxmsw28ud_core -lwxbase28ud -lwxpngd -lwxzlibd -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lwxscintilla -mwindows
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxscintilla
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 29 seconds)
1 errors, 0 warnings
--- End code ---
What directory or file am I missing in build options?
Would be very grateful if some can help, cannot solve this problem for 3 months already... :cry:
dje:
Hi !
Did you check that wxscintilla.a or wxscintilla.lib exist in your tree ?
I am also surprised to see
* the d in every wx lib (-lwxmsw28ud_core -lwxbase28ud) except for wxscintilla; is it normal ?
* all wx libs at the beginning of the command prompt; all except wxscintilla. Did you try to change the link order ?
Dje
kaos_frack:
'd's are because it was Debug build target. Same error with Release build target.
I guess I didn't change the order anything.
And what does
--- Code: ---Did you check that wxscintilla.a or wxscintilla.lib exist in your tree ?
--- End code ---
mean?
kaos_frack:
interestingly i don't have the file wxscintilla.a nor wxscintilla.lib though i have successfullu compiled
sorry i forgot to mention
i compiled "stc" in contrib directory
that should suffice, right? i think it has wxscintilla in its subdirectories...
stahta01:
--- Quote from: kaos_frack on December 29, 2007, 08:25:04 pm ---interestingly i don't have the file wxscintilla.a nor wxscintilla.lib though i have successfullu compiled
sorry i forgot to mention
i compiled "stc" in contrib directory
that should suffice, right? i think it has wxscintilla in its subdirectories...
--- End quote ---
You might try removing wxscintilla and replacing it with wxmsw28ud_stc
Tim S
Navigation
[0] Message Index
[#] Next page
Go to full version