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?
Codelite and wxWidgets
-
- Earned some good credits
- Posts: 119
- Joined: Wed May 19, 2021 11:17 pm
- Contact:
Re: Codelite and wxWidgets
Hi,
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
True: its installation contains the wx runtime libs that CodeLite needs to, er, run.Codelite comes with wxWidgets in its installation.
Presumably you don't have an appropriate wx install; or, you do but your project hasn't been told where it lives.Any possible explanations?
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
-
- Earned some good credits
- Posts: 119
- Joined: Wed May 19, 2021 11:17 pm
- Contact:
Re: Codelite and wxWidgets
Thanks, that worked.
I installed the unofficial 3.2.0 wxWidgets packages at that link.
This is a useful resource.
I installed the unofficial 3.2.0 wxWidgets packages at that link.
This is a useful resource.