wxStyledTextCtrl Topic is solved

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
capi
In need of some credit
In need of some credit
Posts: 3
Joined: Wed Jan 11, 2006 4:03 am

wxStyledTextCtrl

Post by capi » Wed Jan 11, 2006 4:09 am

I'm a little new to wxWidgets, and really new to wxDevC++. I'm wanting to play with wxStyledTextCtrl(stc) but when I compile I get a linker error. I'm assuming stc is not included in the core wxWidgets(which would explain why it can't be found). So my question is how do I include it and other libs I may want to use in DevC++? (I'd also need to be directed to the files if they don't come with devc++)

Like I said I'm new, so please forgive me if this is a stupid question, I tried searching anc couldn't find anything.

Thank You.

wxuser
Knows some wx things
Knows some wx things
Posts: 29
Joined: Fri Feb 25, 2005 5:45 am
Location: India

Post by wxuser » Wed Jan 11, 2006 5:44 am

First compile wxSTC from the contrib folder. And for compiling the sample and your apps, make sure wxstc.lib is the first in the linker list or else the linker will throw out tons of errors.

hope it helps

capi
In need of some credit
In need of some credit
Posts: 3
Joined: Wed Jan 11, 2006 4:03 am

Post by capi » Wed Jan 11, 2006 6:14 am

Thanks, would have taken me quite a while to figure out I needed to put it first. :D

Post Reply