News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxSmith plugin for Ubuntu

Started by spflanze, August 05, 2018, 06:48:16 PM

Previous topic - Next topic

spflanze

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:
QuoteImportant 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

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

spflanze

#2
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 :)


stahta01

Did you install the codeblocks contrib package?
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

spflanze

codeblocks was installed with the command sequence:

Quotesudo 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.next.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:
Quotewx-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:
Quote/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.


stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

spflanze

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 ?

stahta01

Read the "update-alternatives" examples and fix wx-config.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

@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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]