Codelite and wxWidgets

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Rohit Agarwal
Earned some good credits
Earned some good credits
Posts: 119
Joined: Wed May 19, 2021 11:17 pm
Contact:

Codelite and wxWidgets

Post by Rohit Agarwal »

Codelite comes with wxWidgets in its installation.
I did a clean install on Ubuntu 22.04 based on CodeLite.org install docs.
When I create a workspace and a default project,
I get errors like wx/wxprec.h and wx/settings.h not found.
Any possible explanations?
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Codelite and wxWidgets

Post by DavidHart »

Hi,
Codelite comes with wxWidgets in its installation.
True: its installation contains the wx runtime libs that CodeLite needs to, er, run.
Any possible explanations?
Presumably you don't have an appropriate wx install; or, you do but your project hasn't been told where it lives.

CodeLite's wx libs are contained in (probably) /usr/lib/codelite/. But there isn't a CodeLite equivalent of /usr/include/wx*, which is where the wx headers are normally installed.

TL;DR: you need to install your distro's wx packages, including the -dev ones; or the unofficial wx3.2.0 packages, or build your own.

Regards,

David
Rohit Agarwal
Earned some good credits
Earned some good credits
Posts: 119
Joined: Wed May 19, 2021 11:17 pm
Contact:

Re: Codelite and wxWidgets

Post by Rohit Agarwal »

Thanks, that worked.

I installed the unofficial 3.2.0 wxWidgets packages at that link.
This is a useful resource.
Post Reply