News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to create a GUI project C::B - LInux?

Started by Code Noob, December 23, 2017, 02:11:58 AM

Previous topic - Next topic

Code Noob

Hello everyone! :)

About 6 minutes ago, I permanently untied all links with Windows and installed Linux. The only programming experience I've had, however, is with Windows languages (VB.NET & C#). I'm entirely new to C++ and have never programmed in any other languages apart from the 2 aforementioned langs. I'd like an element of similarity between the IDE that I'm used to, and Code::Blocks - so I'd like to set up a GUI application.

I saw a tutorial here: https://www.codeproject.com/articles/803106/introduction-to-wxwidgets-gui-programming-with-wxs

My version of Code::Blocks (16.01 - Debian) has 'wx_Widgets' in the 'build targets' dialogue, so I must have wx_widgets installed on my system. However, this is different to the 'wx_Widgets project' seen in the tutorial - I can't create a GUI project with wx_Widgets (or at least I don't know how).

Can someone possibly offer me some advice regarding setting up a GUI (drag and drop controls)?

Thanks for your help in advance, and happy holidays!  :)

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]

BlueHazzard

Also, if all fails, search for video tutorials on youtube, there are tons of it: http://lmgtfy.com/?t=v&q=wxWidgets+codeblocks+linux

And if you have a problem describe the problem. It makes no sense to say "it does not work, please help". Ask detailed questions, give detailed error messages or even better full build logs. For ex. http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Code Noob

Thanks for your replies,

My question should have been more channeled: "How do I install wxSmith?"

Unfortunately the C::B wikia describes the installation process on Ubuntu - I am using Debian (and I'm very new to it).

@BlueHazzard My issue is not, unfortunately, concerning the compiling of the program, but it's getting to building a program in the designer (wxWidgets project).

Does anybody know of a way to install the plugin(s) mentioned on the wikia page using apt-get?

A Google search doesn't throw much up with regards to this - bear in mind I have the basic wxWidgets package installed.

Thanks for your help. :)

oBFusCATed

Yes, just install the codeblocks-contrib package.

Keep in mind that ubuntu is debian derivate, so most of the instructions for ubuntu work on debian  and vice versa...
(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!]