User forums > Using Code::Blocks
Compile and Run Doesn't Work
primetime:
Hey all.
I just downloaded Code::Blocks because I'm searching for a good IDE whilst I'm learning C++. However the button for "Compile and Run" can't work or isn't clickable. Is there any way to have it working for non-project type files?
Thanks.
Conan Kudo:
I don't think so... The devs said they wouldn't support it..
thomas:
From your description, you are using RC2.
Extensive support for compiling (and compile-and-run) single source files without a project was only added after RC2. You may want to risk a look at a nightly build, the nightly builds are at least as stable as RC2 (actually more stable...).
Please do note that a couple of things may not work properly without a project (for example the class browser or code completion). That is deliberate and not a bad thing, since for everything more complicated than "Hello World", you will need a project anyway (for organisation).
thomas:
--- Quote from: Pharaoh Atem on April 25, 2006, 02:49:07 am ---I don't think so... The devs said they wouldn't support it..
--- End quote ---
That's not right. First, nobody said that, and second, it does work nicely in current HEAD (I just tried before writing the above, to be 100% sure).
Conan Kudo:
--- Quote from: thomas on April 25, 2006, 02:52:49 am ---
--- Quote from: Pharaoh Atem on April 25, 2006, 02:49:07 am ---I don't think so... The devs said they wouldn't support it..
--- End quote ---
That's not right. First, nobody said that, and second, it does work nicely in current HEAD (I just tried before writing the above, to be 100% sure).
--- End quote ---
I think it was said in: http://forums.codeblocks.org/index.php?topic=437.0
Navigation
[0] Message Index
[#] Next page
Go to full version