I tried compiling one of the nightlies but failed miserably :/ So I thought I'll wait for the real thing :)
Just download a nightly build. It's already compiled :)
Do I have to have RC2 installed? Also do I just overwrite with nightly build or? Excuse me for my ignorance :(
Quote from: 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 :(
No you do not need RC2. No DO NOT overwrite with the nightly build. :D
I guess I still need some kind of compiler right? MinGW?
Good Lord what was I doing...
Quote from: Melhisedek on April 30, 2006, 09:25:35 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
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 ? :)
Type this in the command line.
set path=C:\MinGW\bin;C:\MinGW\mingw32\bin;
I totally, totally love you !
Quote from: sethjackson on May 01, 2006, 07:04:39 PM
Type this in the command line.
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.
True. My bad. :P
Quote from: 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 ? :)
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
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 :)
Quote from: 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 :)
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
Quote from: sethjackson on May 02, 2006, 12:42:53 AM
Quote from: 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 :)
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
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!
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
Quote from: Melhisedek on May 02, 2006, 08:41:30 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?
Quote from: Melhisedek on May 02, 2006, 08:41:30 AM
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
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?
Quote from: accord on May 02, 2006, 12:01:19 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
Quote from: accord on May 02, 2006, 12:01:19 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.
Quote from: thomas on May 02, 2006, 01:43:26 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.
Quote from: TDragon on May 02, 2006, 05:30:11 PMWill this web updater indeed be available by RC3?
That is one valid interpretation of the above post.
QuoteI 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
QuoteWill 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.
Consider me duly admonished. I shall await with excitement the third coming of the Code::Blocks. :)
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?) :-)