Code::Blocks Forums
User forums => Help => Topic started by: spflanze on August 05, 2018, 06:48:16 pm
-
What is the latest version of Code::Blocks for Ubuntu that can have the wxSmith plugin, and how is this installed?
Currently I have Code:Blocks Release 13.12 installed, and was unable to get wxSmith installed in it.
I am asking because on page:
http://codeblocks.org/downloads/26
I see:
Important note for Ubuntu users: The contrib-plugins package for debian can not be used on Ubuntu 12.04(+), due to an incompatible libhunspell-package.
My OS version is Ubuntu 16.04
-
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_nightly_build_on_Ubuntu (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_nightly_build_on_Ubuntu)
https://launchpad.net/~pasgui/+archive/ubuntu/ppa (https://launchpad.net/~pasgui/+archive/ubuntu/ppa)
-
I installed Code::Blocks using the links stahta01 posted. This installed Code:Blocks version 17.12. At first the wxSmith was not there. But when I executed the commands:
sudo apt-get install codeblocks-contrib
wxSmith was installed, and working better than the it in version 12.11.
Thank you for your help :)
-
Did you install the codeblocks contrib package?
-
codeblocks was installed with the command sequence:
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get update
sudo apt-get install codeblocks
sudo apt-get install codeblocks-contrib
To get a pre-existing wxs file into the project I executed the script described herer:
http://forums.codeblocks.org/index.php?topic=9306.0
and I see the wxSmith working to edit it.
But when I compile the compiler cannot find any of the wxWidgets classes. I followed the instructions at:
https://wiki.wxwidgets.org/Wx-Config
and got the error:
wx-config No such file or directory
I think because I need wx-config a system wide symlink to a configuration file in my wxWidgets installation directory at:
/home/me/Packages/wxWidgets-3.0.3/
But I do not know which file to link to there. In this directory there are several files with config or configure in their names.
-
I do not know much about wxSmith.
If wx-config does not work from the command line I suggest reading
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux#Checking_the_presence_of_libwxGTK_library (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux#Checking_the_presence_of_libwxGTK_library)
Tim S.
-
The name "libwxGTK-2.8.0" looks like it was meant for "wxWidgets 2.8". I am using "wxWidgets 3.0.3". Is there a "libwxGTK-3.0.0" or "libwxGTK-3.0.3"? Or is "libwxGTK-2.8.0" the correct version for wxWidgets 3.0.3 ?
-
Read the "update-alternatives" examples and fix wx-config.
-
@spflanze: You have to have the correct wx-config in path or you need to edit your project to specify the full path to your wx-config. This is in case you're using a self built wxwidgets. If you're using the system wxgtk then you need to just install the wxgtk-devel package.