Install WxWidgets in Lubuntu

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
tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Install WxWidgets in Lubuntu

Post by tumanovalex »

I installed WxWidgets Commands:

Code: Select all

sudo apt-key adv --fetch-keys https://repos.codelite.org/CodeLite.asc
sudo apt-add-repository 'deb https://repos.codelite.org/wx3.1.3/ubuntu/ eoan universe'
apt-get update
sudo apt-get install libwxbase3.1-0-unofficial3 \
                 libwxbase3.1unofficial3-dev \
                 libwxgtk3.1-0-unofficial3 \
                 libwxgtk3.1unofficial3-dev \
                 wx3.1-headers \
                 wx-common \
                 libwxgtk-media3.1-0-unofficial3 \
                 libwxgtk-media3.1unofficial3-dev \
                 libwxgtk-webview3.1-0-unofficial3 \
                 libwxgtk-webview3.1unofficial3-dev \
                 libwxbase3.1-0-unofficial3-dbg \
                 libwxgtk3.1-0-unofficial3-dbg \
                 libwxgtk-webview3.1-0-unofficial3-dbg \
                 libwxgtk-media3.1-0-unofficial3-dbg \
                 wx3.1-i18n \
                 wx3.1-examples
I get a message:

Code: Select all

E: Unable to locate package libwxgtk-media3.1unofficial3-dev
E: Couldn't find any package by glob 'libwxgtk-media3.1unofficial3-dev'
E: Couldn't find any package by regex 'libwxgtk-media3.1unofficial3-dev'
Why is there an error message?
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Install WxWidgets in Lubuntu

Post by DavidHart »

Hi,

I'm surprised you still get that issue; it was noticed and fixed in February.

At least I thought it was fixed: having got the package name wrong initially for eoan (media3.1unofficial3 instead of media3.1-unofficial3) I created a symlink so that either name should work, and they did for me. You might have needed to 'apt update', but surely you've done that sometime in the last 3 months...

Anyway, an easy workaround is to ask for libwxgtk-media3.1-unofficial3-dev. I just tested that in lubuntu eoan and it was seen.

Regards,

David
tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: Install WxWidgets in Lubuntu

Post by tumanovalex »

Thank you very much for the answer. I did sudo apt update and sudo apt-get install libwxgtk-media3.1-unofficial3-dev. The installation went without errors.
Post Reply