User forums > Help
Code blocks acting very weird.
zabzonk:
I have to say that I disagree with Morten's advice on using a nightly. Here is what I would do:
Uninstall Code::Blocks and everything to do with it, ditto for Dev C++. Make sure you haven't got any other instances of the GCC compiler sitting on your path. Use a tool lke Everything from http://www.voidtools.com to check this.
Install GCC from TDM - see http://latedev.wordpress.com/2011/06/20/how-to-install-a-c-compiler-on-windows for details. Check that you can build, link and execute simple C++ programs from the command line using this. If not, go no further until you can do this.
Install the 10.x build of Code::Blocks without the GCC compiler (that's codeblocks-10.05-setup.exe at the http://www.codeblocks.org/downloads/binaries page), not from a nightly.
Once installed, run Code::Blocks and set the toolchain to point to the previously installed GCC compiler via the Settings|Compiler & Debugger|Toolchain dialog. Test this works. If it does not work,. DO NOT uninstall, DO NOT install something else. Try and work out why it does not work, and if necessary post here. The worst thing you can do if something isn't working is to start flailing about without knowing what you are doing. Think!
Once you have got things working, you can (optionally) install a nightly. I normally do this by unzipping it over a working instrallation (having backed up the working installation, of course).
torchi12:
Hm, ok, will try that.
Going to uninstall and remove everything now, then.
Alpha:
--- Quote from: Neil Butterworth on November 12, 2011, 05:42:24 pm ---Once you have got things working, you can (optionally) install a nightly. I normally do this by unzipping it over a working instrallation (having backed up the working installation, of course).
--- End quote ---
?! Overwriting an installation with a different version can wreak havoc.
zabzonk:
@Alpha It's always worked for me! But I suspect that the OP will be happy to get CB working, without worrying about installing nightlies.
torchi12:
Thank you so much, it seems to be working now!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version