wxStyledTextCtrl no linked ????

General questions regarding the usage of CodeLite
esbva
CodeLite Curious
Posts: 2
Joined: Wed Feb 23, 2022 11:53 pm
Genuine User: Yes
IDE Question: gcc
Contact:

wxStyledTextCtrl no linked ????

Post by esbva »

Image
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
Image
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.-

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxStyledTextCtrl no linked ????

Post by eranif »

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
User avatar
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 ????

Post by Jarod42 »

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.

esbva
CodeLite Curious
Posts: 2
Joined: Wed Feb 23, 2022 11:53 pm
Genuine User: Yes
IDE Question: gcc
Contact:

Re: wxStyledTextCtrl no linked ????

Post by esbva »

Is a Same Error !!!
Image

???????.-

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxStyledTextCtrl no linked ????

Post by eranif »

remove the space from the std, stc it must be without spaces std,stc

Make sure you have read the HOW TO POST thread
Post Reply