Code::Blocks Forums

User forums => Help => Topic started by: ExoThermite30 on March 29, 2016, 04:58:33 pm

Title: Code::Blocks Problem getting it to build, NEED HELP :(
Post by: ExoThermite30 on March 29, 2016, 04:58:33 pm
Whenever I try to build and run a project I get a dialog box that says,"It seems that this project has not been built yet. Do you want to build it now?" I'll click yes, and the box just keep's reappearing. The run log read's like this:

mingw32-g++.exe -Wall -fexceptions -g -c "C:\C++ projects\Messing Around\main.cpp" -o obj\Debug\main.o

------Run: Debug in Messing Around (compiler: GNU GCC Compiler)-----------
Checking for existence: C:\C++ projects\Messing Around\bin\debug\Messing Around.exe


I have Code::Blocks version 16.01
I had to install MinGW compiler, I selected all of the files and installed them all.

I went to the compiler settings to make sure that Code::Blocks was in the right folder (C:\MinGW) and all the necessary files are there. I just cant get the program to build. For the longest time I have used Bloodshed Dev-C++, but wanted to try a newer program. I don't even think there is support for Dev-C++ anymore.

The project is nothing more than Hello World!, but I didn't want to start getting down into coding, and not being able to run the program. I looked around the web for a possible answer, but wasn't able to find one.

EDIT UPDATE:
 I installed g++, minGW, and code::blocks, CB is able to find minGW (I am trying to throw in as much information as I can, so it'll be easier for someone to help).
Title: Re: Code::Blocks Problem getting it to build, NEED HELP :(
Post by: stahta01 on March 29, 2016, 06:28:42 pm
Try NOT using spaces in the exe name "Messing Around.exe".

Tim S.
Title: Re: Code::Blocks Problem getting it to build, NEED HELP :(
Post by: artidarti on April 02, 2016, 07:40:42 pm
HI, guys!

I installed successfully  code::blokcs 13.12 on a linux mint 17.3. I think I am having the same issue than "ExoThermite30" When I try to run the "hello wordl" code that was already there, it just shows this "It seems that this project has not been built yet. Do you want to build it now?" I then click yes but it won't do anything at all. Most tutorials I have watched show the same "hello world" code and they do run it properly.

Does anybody know why is this happening?

Thanks
Title: Re: Code::Blocks Problem getting it to build, NEED HELP :(
Post by: oBFusCATed on April 02, 2016, 07:49:01 pm
Please the FAQ items here: http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29