Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Melhisedek on April 30, 2006, 06:36:23 pm

Title: Is the next RC to be released today?
Post by: Melhisedek on April 30, 2006, 06:36:23 pm
I tried compiling one of the nightlies but failed miserably :/ So I thought I'll wait for the real thing :)
Title: Re: Is the next RC to be released today?
Post by: Ceniza on April 30, 2006, 08:02:06 pm
Just download a nightly build. It's already compiled :)
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on April 30, 2006, 09:07:45 pm
Do I have to have RC2 installed? Also do I just overwrite with nightly build or? Excuse me for my ignorance :(
Title: Re: Is the next RC to be released today?
Post by: sethjackson on April 30, 2006, 09:12:00 pm
Do I have to have RC2 installed? Also do I just overwrite with nightly build or? Excuse me for my ignorance :(

No you do not need RC2. No DO NOT overwrite with the nightly build. :D
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on April 30, 2006, 09:25:35 pm
I guess I still need some kind of compiler right? MinGW?
Good Lord what was I doing...
Title: Re: Is the next RC to be released today?
Post by: Michael on April 30, 2006, 09:55:00 pm
I guess I still need some kind of compiler right? MinGW?

Yes, you will need a compiler. MinGW is a good choice, but others are also available :). Look at the C::B wiki for some helpful info.

Best wishes,
Michael
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on May 01, 2006, 07:00:03 pm
Ok... Well I still have problems getting it to work :(
I installed Mingw 4.1.0. Downloaded latest nightly, extracted it and added "wxmsw26u_gcc_cb.dll" to the same directory. Now when I try and start codeblocks.exe I get this error:

"This application has failed to start because mingwm10.dll has not been found...."

I did a search and file is in C:\MinGW\bin

what did I miss this time ? :)
Title: Re: Is the next RC to be released today?
Post by: sethjackson on May 01, 2006, 07:04:39 pm
Type this in the command line.

Code: dos
set path=C:\MinGW\bin;C:\MinGW\mingw32\bin;
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on May 01, 2006, 07:25:20 pm
I totally, totally love you !
Title: Re: Is the next RC to be released today?
Post by: Pecan on May 01, 2006, 07:25:47 pm
Type this in the command line.

Code: dos
set path=C:\MinGW\bin;C:\MinGW\mingw32\bin;

It would be better if the previous path was also included as in:
set path=%PATH%;C:\MinGW\bin;C:\MinGW\mingw32\bin;

or

set path=C:\MinGW\bin;C:\MinGW\mingw32\bin;%PATH%

This might avoid other spurious problems.

Title: Re: Is the next RC to be released today?
Post by: sethjackson on May 01, 2006, 07:30:16 pm
True. My bad.  :P
Title: Re: Is the next RC to be released today?
Post by: Michael on May 01, 2006, 09:33:37 pm
Ok... Well I still have problems getting it to work :(
I installed Mingw 4.1.0. Downloaded latest nightly, extracted it and added "wxmsw26u_gcc_cb.dll" to the same directory. Now when I try and start codeblocks.exe I get this error:

"This application has failed to start because mingwm10.dll has not been found...."

I did a search and file is in C:\MinGW\bin

what did I miss this time ? :)

Did you install MinGW by using the installer MinGW-4.1.0.exe? You should have used MinGW-5.0.2.exe.

Anyway, MinGW installer automatically adds its path to PATH. I never have had to do it manually.

Moreover, you might would like to update the win32api and binutils files. May be the GCC too if it is < 3.4.5 version.

Best wishes,
Michael
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on May 02, 2006, 12:07:15 am
Yeah used 4.1.0 (thought 5.0.2 was alpha)
can I just install over the old one?

How do I update api and binutils? GCC as well :)
Title: Re: Is the next RC to be released today?
Post by: sethjackson on May 02, 2006, 12:42:53 am
Yeah used 4.1.0 (thought 5.0.2 was alpha)
can I just install over the old one?

How do I update api and binutils? GCC as well :)

No don't install over the other one. I would uninstall the old one. Then install the new one. It should have the api and binutils..... It will also install GCC for you. :D
Title: Re: Is the next RC to be released today?
Post by: Michael on May 02, 2006, 12:49:53 am
Yeah used 4.1.0 (thought 5.0.2 was alpha)
can I just install over the old one?

How do I update api and binutils? GCC as well :)

No don't install over the other one. I would uninstall the old one. Then install the new one. It should have the api and binutils..... It will also install GCC for you. :D

Yes, it has the win32api, binutils and GCC. Anyway, probably not up-to-date. When you install MinGW choose candidate. Then when finish, download from MinGW website (http://www.mingw.org) the latest win32api, binutils and GCC 3.4.5. Unzip the win32api archive and then copy and paste where MinGW is installed. Do the same for binutils and at the end for GCC 3.4.5.

Do not forget to downoald and install gdb 6.3 (the latest should be 6.3.2 IIRC).

Best wishes,
Michael
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on May 02, 2006, 08:41:30 am
Now I get it :)
I was looking at GCC 4.0.3 IIRC and folder structure was alltogether different from MinGW one...
I just "updated" GCC++, GCC core, binutil, Win API and GDB. Just one more question before I leave you guys alone :)

Is this how the "create new project" screen should look? There is no C++ project... instead I use console application right? Also can I move the "nightly build" folder around? Perhaps even rename it? Will things still work?

Thanks a lot for your help guys!
Title: Re: Is the next RC to be released today?
Post by: Melhisedek on May 02, 2006, 08:43:00 am
damn there is no edit button for unregistered users :(
Anyway here is the screen:

http://img218.imageshack.us/img218/6418/untitled0fq.jpg

sorry for double post
Title: Re: Is the next RC to be released today?
Post by: Michael on May 02, 2006, 11:03:32 am
Is this how the "create new project" screen should look? There is no C++ project... instead I use console application right?

That's depend on what you want to do. Console application? GUI application? Shared library? Static library?

Also can I move the "nightly build" folder around? Perhaps even rename it? Will things still work?

Just give it a try :). For example, when I build C::B by myself, I have at end a devel repository. I just copy and past it where I want and rename it (e.g., CodeBlocks). It is also possible to have more copies of C::B, but AFAIK just one configuration file.

Best wishes,
Michael
Title: Re: Is the next RC to be released today?
Post by: accord on May 02, 2006, 12:01:19 pm
I love "Code::Blocks IDE, with MINGW compiler" version because easy to install and I am lazy :)
Will RC3 contains the MinGW 4.x? instead of 3.x?
Title: Re: Is the next RC to be released today?
Post by: Michael on May 02, 2006, 12:32:25 pm
Will RC3 contains the MinGW 4.x? instead of 3.x?

If you mean GCC 4.x, I think not. The latest GCC version made available by the MinGW developers is 3.4.5 (candidate). A GCC 4.1 binary snapshot is made available by Ceniza, but not supported by MinGW developers.

Best wishes,
Michael
Title: Re: Is the next RC to be released today?
Post by: thomas on May 02, 2006, 01:43:26 pm
Will RC3 contains the MinGW 4.x? instead of 3.x?
That can safely be answered with "no".

It is not decided whether MinGW will be included at all in the base installation, but it is certain that it will not be a 4.x version. The 4.1/4.2 branches are unluckily not production quality at this time, and the 4.0 branch is not sufficiently superior to the 3.4 branch to justify the problems that it introduces. Also, all 4.x versions need to be compiled from sources, which is tedious and time consuming (on the order of hours, rather than minutes).

The likely thing you will get (no guarantees) will be a base installer without any compilers, and a MinGW package for the builtin web updater, so users can install MinGW with a few clicks when first running Code::Blocks.
Maybe, possibly, there will be a convenience package that already comes with MinGW preinstalled, too, but it will certainly not be 4.x.
Title: Re: Is the next RC to be released today?
Post by: TDragon on May 02, 2006, 05:30:11 pm
...builtin web updater...

This sets my spidey sense tingling...

Will this web updater indeed be available by RC3? I do see "Automatic updates" on the roadmap, but have seen nothing of it in the repository yet. Will this be a part of the rumored custom package system? Will it support "hotpatching" -- i.e. run it from C::B, update C::B, and automatically restart C::B?

My other reaction would be not to neglect the installer -- for a beginner, you can't beat being able to setup a fully working development environment with a few clicks. For NSIS installers, it's a simple matter to incorporate archives and a plugin that will extract them, or download them from the web and extract them (http://www.tdragon.net/files/codeblocks-1.0.exe) (4.41 MB).

EDIT: So now I find out that my paid hosting has a 10 MB file size limit...so the installer with MinGW wasn't uploaded...sheesh.
Title: Re: Is the next RC to be released today?
Post by: thomas on May 02, 2006, 08:13:03 pm
Will this web updater indeed be available by RC3?
That is one valid interpretation of the above post.

Quote
I do see "Automatic updates" on the roadmap, but have seen nothing of it in the repository yet.
Behold, I come as a thief. Blessed he that watcheth, and keepeth his garments,
lest he walk naked, and they see his shame.

Revelation 16:15

Quote
Will this be a part of the rumored custom package system? Will it support "hotpatching" -- i.e. run it from C::B, update C::B, and automatically restart C::B?
I don't know much about rumours and buzz words like "hotpatching", sorry :)
But yes, it will be able to update Code::Blocks.
Title: Re: Is the next RC to be released today?
Post by: TDragon on May 02, 2006, 08:33:31 pm
Consider me duly admonished. I shall await with excitement the third coming of the Code::Blocks. :)
Title: Re: Is the next RC to be released today?
Post by: peso on May 05, 2006, 12:10:22 pm
While I'm happy using the nightly builds, RC3 has passed its roadmap date.
http://wiki.codeblocks.org/index.php?title=Roadmap_for_version_1.0

It would be nice to have an updated release date in the roadmap. (Is it two days or two months from now?) :-)