Hi,
I am just starting out with wxwidgets and I have a couple of questions.
I am ubuntu 20.04 and I have compiled 3.1.4 of wxwidgets and installed it successfully. This has got rid of loads of compiler warnings from g++ which is good. I would like to use codeblocks as a RAD to speed up the design of the ui. I have tried to download the latest version and install the deb files but they fail due to dependency issues.
So, my questions are:
1. What is the simplest way to install codeblocks if I have wxwidgets 3.1.4 as my library? Do I have to install from sources?
2. Can I have two versions of wxwidgets on my system without causing problems? How would I do this?
Sorry if these are silly questions but I am a bit stuck?
Thank you
Martyn
Codeblocks install with wxwidgets 3.1.4
-
- In need of some credit
- Posts: 8
- Joined: Thu Feb 11, 2021 7:53 pm
-
- Super wx Problem Solver
- Posts: 469
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Codeblocks install with wxwidgets 3.1.4
The deb files for codeblocks need to use the system's wxWidgets package. So you'll need to install that if you want to use codeblocks.
wxWidgets can work with different versions installed. However the project files for codeblocks will use the system package by default and you'll need to change some options to use the your installation of 3.1.4. I forget exactly how to do that.
wxWidgets can work with different versions installed. However the project files for codeblocks will use the system package by default and you'll need to change some options to use the your installation of 3.1.4. I forget exactly how to do that.
-
- In need of some credit
- Posts: 8
- Joined: Thu Feb 11, 2021 7:53 pm
Re: Codeblocks install with wxwidgets 3.1.4
Ah, that explains it. I will have a dig around. Could I install the system wxwidgets libs and use
>update-alternatives --config wx-config
To make 3.1.4 the default after I install codeblocks or will that break codeblocks.
I have just installed codelite, it seems quite nice so I may just go with that (I am new to Linux IDEs - I have been using vs code up until now - is codelite similar in operation/features to codeblocks?).
Thank you again for your help
Martyn
>update-alternatives --config wx-config
To make 3.1.4 the default after I install codeblocks or will that break codeblocks.
I have just installed codelite, it seems quite nice so I may just go with that (I am new to Linux IDEs - I have been using vs code up until now - is codelite similar in operation/features to codeblocks?).
Thank you again for your help
Martyn
-
- Super wx Problem Solver
- Posts: 469
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Codeblocks install with wxwidgets 3.1.4
I've only ever used codeblocks, so I don't know.
Re: Codeblocks install with wxwidgets 3.1.4
Hi,
There is a 3rd alternative - Anjuta.
This IDE can use any wxWidgets version - installed or not.
Let me know if you need help with it.
Thank you.
There is a 3rd alternative - Anjuta.
This IDE can use any wxWidgets version - installed or not.
Let me know if you need help with it.
Thank you.
Re: Codeblocks install with wxwidgets 3.1.4
Hi,
I use (and help out on) CodeLite. You could install a deb from its repo which will have a self-contained wx3.1.4, so you don't need to do anything special to get a different wx build to work.
Or you can use the official focal codelite* debs (presumably that's what you've just installed); they would have brought in the focal wx3.0 runtime debs too, but not their -dev packages so you wouldn't need to use update-alternatives. However you were right: that would have been the quickest way to select a particular installed wx build.
Regards,
David
I use (and help out on) CodeLite. You could install a deb from its repo which will have a self-contained wx3.1.4, so you don't need to do anything special to get a different wx build to work.
Or you can use the official focal codelite* debs (presumably that's what you've just installed); they would have brought in the focal wx3.0 runtime debs too, but not their -dev packages so you wouldn't need to use update-alternatives. However you were right: that would have been the quickest way to select a particular installed wx build.
There are several alternatives, some more sensible than others....There is a 3rd alternative - Anjuta.
Regards,
David
-
- In need of some credit
- Posts: 8
- Joined: Thu Feb 11, 2021 7:53 pm
Re: Codeblocks install with wxwidgets 3.1.4
I installed the latest debs - so have version 15. It looks very nice, just need to have a play.DavidHart wrote: ↑Fri Feb 12, 2021 7:57 am
Or you can use the official focal codelite* debs (presumably that's what you've just installed); they would have brought in the focal wx3.0 runtime debs too, but not their -dev packages so you wouldn't need to use update-alternatives. However you were right: that would have been the quickest way to select a particular installed wx build.
-
- In need of some credit
- Posts: 8
- Joined: Thu Feb 11, 2021 7:53 pm
Re: Codeblocks install with wxwidgets 3.1.4
Hi,
Anjuta is GTK IDE, and so have GTK RAD tool.
I personally use wxGlade which work nicely.
Thank you.
Anjuta is GTK IDE, and so have GTK RAD tool.
I personally use wxGlade which work nicely.
Thank you.