Code::Blocks Forums

User forums => Help => Topic started by: rosswg on March 18, 2011, 09:18:44 pm

Title: installing code blocks
Post by: rosswg on March 18, 2011, 09:18:44 pm
One of the instruction lists available for installing code blocks reads like this
download Mingw... ( did and it worked)
download Wxwidgets source ( from svn - did it and it worked)
download cb source ( did it and it worked)
compile Wxwidgets ( did it - using the make file example (release and debug) - this also worked).
compile cb using codeblocks - BUT I only have a cb source
   I would like to think I should use a make file - but cant find it. Would you please guide me me
Title: Re: installing code blocks
Post by: oBFusCATed on March 18, 2011, 09:29:51 pm
What about the os/distro you're using?
Title: Re: installing code blocks
Post by: rosswg on March 18, 2011, 09:40:13 pm
Windows Vista sp 2
Title: Re: installing code blocks
Post by: oBFusCATed on March 18, 2011, 09:56:43 pm
Why don't you use the official installer or a nightly build?
Title: Re: installing code blocks
Post by: rosswg on March 18, 2011, 10:39:21 pm
Sorry.  Tried to make this post simple and easy.
Have tried to use the official (binary) installation and always end up with an 'unwind_resume' error.
Using the forums that are available - the consensus of opinions - was that the 'compilers' of the widgets and CB are different - dont talk to each other.
I have tried what I would call various options -
At one stage I thought that the probem arose from and error in the compiler 'chain' and tried various options there.
Today or yesterday, 3 weeks later, I thought to try the 'compile it' yourself route.
The only problem that I have with this is that it calls(in my opinion) to compile CB using an existing CB.
I dont have a existing CB to use. (have cleared the computer from all previous attempts).
----------------------------------------
widgets was compiled by a 'make' file.
It was a presumption on my part to think that CB could also be compiled by a 'make' file but if the presumption was true, then the solution would be just to identify the particulare 'make' file to use.
I clearly cannot use an existing CB because I dont have one. ( all deleted because of the 'unwind' error)
I could try the latest binary installer,(they dont seem to work and I dont see why CB should compile and not the 'my world' program) and then use that  CB to compile a new one, but I was concerned at some of the defaults that may be set up.
-----------------------------------------
It is no problem to re-try one of the official binary installers.  I have used  for example codeblocks-10.05mingw-setup1.exe ( about 74mb).
Would you like me to try this one again and report on the results?


Title: Re: installing code blocks
Post by: rosswg on March 18, 2011, 10:43:55 pm
Thanks for the response so far.  I must go to be now.  Will pick up on any replies tomorrow morning. Thank you.
Title: Re: installing code blocks
Post by: ptDev on March 19, 2011, 03:03:26 pm
One of the instruction lists available for installing code blocks reads like this
download Mingw... ( did and it worked)
download Wxwidgets source ( from svn - did it and it worked)
download cb source ( did it and it worked)
compile Wxwidgets ( did it - using the make file example (release and debug) - this also worked).
compile cb using codeblocks - BUT I only have a cb source
   I would like to think I should use a make file - but cant find it. Would you please guide me me


Code::Blocks does not run well with wxWidgets 2.9.x. You should compile wxWidgets 2.8.x for building Code::Blocks.
Title: Re: installing code blocks
Post by: codeur on March 20, 2011, 05:20:13 am
You cannot compile CB with CB if you cannot run the nightly or official distribution.

You'll be able however to compile CB with CB by installing the (unofficial and unsupported here) educational distribution of CB from http://codeblocks.codecutter.org
That one is fully portable and comes with a recent MinGW. It will not interfere with or be obstructed by anything else you may have on your PC.

You can get rid of the educational distribution once you get your own version of CB going.
Title: Re: installing code blocks
Post by: rosswg on March 20, 2011, 08:35:05 pm
Excellent - I will try the codecutter one. Tomorrow, though, when I have fixed the car. Tomorrow is a public holiday here.
( I will have to check what I did with the svn, as I write this, I thought I used the 2.8 svn, but I could really be wrong, but I am not sure if I did so, or if there is a 2.8 svn in any case).