I think there is a problem with the linking here, I am migrating from codeblock, a wxStyledTextCtrl, from wxWidgets 3.1.5, and it links well with mingw32-g++.exe, not with ld.exe
and in CodeLite, although I changed it from the ToolChain, is still using the ld.exe,,, see the log in the image, any Solution !!!
CodeLite Verision 15.0.0.
wxWidget 3.1.5.-
wxStyledTextCtrl no linked ????
-
- CodeLite Curious
- Posts: 2
- Joined: Wed Feb 23, 2022 11:53 pm
- Genuine User: Yes
- IDE Question: gcc
- Contact:
wxStyledTextCtrl no linked ????
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxStyledTextCtrl no linked ????
open your project settings
and change the value under: Linker -> Linker options
so it will look something like this:
Code: Select all
$(shell wx-config --libs std,stc --unicode=yes);
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: wxStyledTextCtrl no linked ????
ld.exe is part of the error message, just above, there is the line of linking and it is done with mingw-g++.exe
.
Your issue is missing functions definition (so probably missing link to libraries). Check your linker options.
-
- CodeLite Curious
- Posts: 2
- Joined: Wed Feb 23, 2022 11:53 pm
- Genuine User: Yes
- IDE Question: gcc
- Contact:
Re: wxStyledTextCtrl no linked ????
Is a Same Error !!!
???????.-
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxStyledTextCtrl no linked ????
remove the space from the std, stc
it must be without spaces std,stc
Make sure you have read the HOW TO POST thread