Author Topic: WxSmith tutorial_Hello World  (Read 6247 times)

Offline equation

  • Single posting newcomer
  • *
  • Posts: 4
WxSmith tutorial_Hello World
« on: September 30, 2012, 08:34:40 pm »
H Members,

I am a long time computer user and constructed my own “Dual” Pentium III computer back in 2001. I have coded web pages in the past and briefly attempted to learn the "C" programming language a few years ago. I am attempting a more disciplined approach this time and have downloaded Code::Blocks and enjoying the first introduction lessons.

I am currently using Code::Blocks in a windows environment (win2k and win7) and soon I will be installing Debian using a dual boot and will be using it along with windows as my  Linux distro

I recently discovered a Code::Blocks tutorial called WxSmith tutorial for creating the "Hello World" that would result in a GUI application. See here: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world

The problem is getting past step 1. The tutorial begins by saying:

-begin-

Before we start, you must either compile wxWidgets or download precompiled binaries and header files. These steps are described on the wiki pages mentioned here:

Windows users should see the wiki page:Compiling wxWidgets 2.8.6 to develop Code::Blocks (MSW) or Installing Code::Blocks from source on Windowsor WxWindowsQuickRef. There are two ways to install the wxWidgets libraries, You can download the wxWidgets source and compile it yourself, or you can download the wxPack from [1] and install it. The wxPack contains a pre-compiled wxWidgets library, so you can save a lot of time by that route.

-end-

I have no idea how to accomplish this as a lot of the words and terminology are foreign to me. I understand what compiling is but the install process for wxWidgets seems daunting. Below are further links that branch off the above tutorial link that go further and explain the install process. See here:

http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_%28MSW%29

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows

http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

I am studying and reading all the above links but it’s a tough road for a newbie. I would appreciate any help or further links on getting this installed so I can begin the WxSmith tutorial “Hello World”.

Thank you kindly
« Last Edit: September 30, 2012, 10:46:35 pm by equation »

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: WxSmith tutorial_Hello World
« Reply #1 on: October 01, 2012, 12:02:34 pm »
There are distributed binaries of wxWidgets 2.8 for windows (which is said by the words you just quoted): search about wxPack on sourceforge.

As a side-note, I would like to say that if you intend to use debian (or any linux distro) I would recommend you to start now: it is far easier to install development libraries on such systems, and on windows, it is commonly a pain in... I am not trying to convert anyone (well, maybe a little), but the power of programmer's tool on linux is not the same. I guess this is because windows's command-line is so poor...
« Last Edit: October 01, 2012, 12:05:48 pm by Freem »

Offline equation

  • Single posting newcomer
  • *
  • Posts: 4
Re: WxSmith tutorial_Hello World
« Reply #2 on: October 05, 2012, 04:28:19 am »
Hi Freem,

> There are distributed binaries of wxWidgets 2.8 for windows (which is said by the words you just quoted): search about wxPack on sourceforge.

I appreciate the help. Thank you. Yes, the wxPack that includes the pre-compiled wxWidgets library is the way to proceed.

> if you intend to use debian (or any linux distro) I would recommend you to start now: it is far easier to install development libraries on such systems, and on windows, it is commonly a pain in...

Yes, good point.

Thank you Freem.

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: WxSmith tutorial_Hello World
« Reply #3 on: October 05, 2012, 03:51:29 pm »
Pleasure is mine.