Author Topic: From the Beginning  (Read 5892 times)

Offline Pingi

  • Single posting newcomer
  • *
  • Posts: 3
From the Beginning
« on: February 07, 2008, 09:44:08 pm »
Hi to all,
This is my first post here, since I just registered after a friend said good things about this site.

Now, I know it can be a trouble for you, but can someone explain me what to download (preferably with links) in order to get this CB up and running.
I am kind of new at this, and am completely confused with the amount of links and nightly builds and everything else on this forum.

I downloaded CB_20080206_rev4866_win32 so far, and I know I have to download wxWidget (I don't know what is that), and I guess I should get some new nightly build, but I really need some help. I worked with other tools earlier, but it was all Insert CD->Click Install->Restart->Work, so I'm dumb in essence  :(

Sorry on this question, but I found nowhere anything for complete beginners such as myself.

I hope there is someone who can help me.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: From the Beginning
« Reply #1 on: February 07, 2008, 10:20:47 pm »
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875

Jimage

  • Guest
Re: From the Beginning
« Reply #3 on: February 08, 2008, 02:06:01 am »
Actually, I'm slighty confused here too. Where do I find the source for a given nightly so I can compile it myself? All I see in the original posts are links to Windows-specific stuff.

Cheers.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: From the Beginning
« Reply #4 on: February 08, 2008, 07:28:43 am »
Actually, I'm slighty confused here too. Where do I find the source for a given nightly so I can compile it myself? All I see in the original posts are links to Windows-specific stuff.

Cheers.

You can download the actual svn-sources from server using the svn command.
Here are the URL's you can use.
On Linux you will need a package normally called something with "subversion" in name, that includes the svn binary.
There are also some guis available, or svn-clients that fit in your file-browser (for example "kdesvn-kio-plugins" for konqueror on debian).

If you want a special revision you can use the "-r <revision>" switch on commandline (might differ with other svn-clients, look in the man-page).

On WIndows you can use Tortoise-SVN as gui and if you want to build C::B from sources you also need the commandline-svn to make C::B know the actual revision while building.

You can also download the source-code for the actual nightly as tarball from my repository (see signature), but there are normally only the last two or three builds available.
« Last Edit: February 08, 2008, 07:35:09 am by jens »

Offline Pingi

  • Single posting newcomer
  • *
  • Posts: 3
Re: From the Beginning
« Reply #5 on: February 08, 2008, 11:41:05 am »
Thanks for that pdf, everything is explained. But what about wxWidgets, I understood that it is for creating windows and stuff, how to install and use it?
I've been on their site and there are a lot of things to download, I just don't know what is important.

This is my last question   :)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: From the Beginning
« Reply #6 on: February 08, 2008, 12:47:13 pm »
How to use a nightly build.

On the site mandrav posted there is a link to the Nightly Cookbook.
Everything is explained there.
For using wxWidgets on Windows for your own projects you have to build at least the Release-version and set the base-parameter of the "wx" variable in C::B.

You don't need wxWidgets to create windows, you can also look for example at the Win32-gui-example, but using a toolkit like wxWidgets is much more comfortable.
« Last Edit: February 08, 2008, 12:51:09 pm by jens »

Offline Pingi

  • Single posting newcomer
  • *
  • Posts: 3
Re: From the Beginning
« Reply #7 on: February 08, 2008, 06:53:25 pm »
Thanks for help. I think I'll manage.

Jimage

  • Guest
Re: From the Beginning
« Reply #8 on: February 09, 2008, 03:37:52 am »
Quote from: jens
You can download the actual svn-sources from server using the svn command.
Exactly what I'm looking for. It's downloading now. Many thanks. Just a thought, but it might be worth someone putting some info about that on the download page while the nightlies are standard practice

Now I've got another problem. Running ./configure I run into this:
Code
./configure: line 24298: AM_OPTIONS_WXCONFIG: command not found
./configure: line 24299: syntax error near unexpected token `2.8.0,'
./configure: line 24299: `AM_PATH_WXCONFIG(2.8.0, wxWin=1)'

From what I've read, this is resolved by installing wxgtk-dev, but that package is not available on the Arch repositories, and I don't know where else to find it. There seems to be no direct mention of it on the wxwidgets site.

Edit: Ah, looks like there are instructions for installing wx from source on that wiki page.
« Last Edit: February 09, 2008, 03:40:32 am by Jimage »