Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: MrLoooooooo on June 22, 2014, 05:39:27 pm

Title: Unable to build (solved)
Post by: MrLoooooooo on June 22, 2014, 05:39:27 pm
I am running Code::Blocks version Code::Blocks 13.12 on Windows 8.1

When I try to build and run any program I don't get any errors
the build log says

mingw32-g++.exe   -c C:\Users\username\Documents\C++\test.cpp -o C:\Users\username\Documents\C++\test.o
mingw32-g++.exe  -o C:\Users\username\Documents\C++\test.exe C:\Users\username\Documents\C++\test.o  
Process terminated with status 0 (0 minute(s), 2 second(s))
0 error(s), 0 warning(s) (0 minute(s), 2 second(s))
 
Checking for existence: C:\Users\username\Documents\C++\test.exe

Then it says "It seems that this file has not been built yet. Do you want to build it now?"

when I press yes I get the same thing in the build log but no .exe.

in the folder view I can see that the .exe is created but then disappears immediately.
Please help.
Title: Re: Unable to build
Post by: stahta01 on June 22, 2014, 05:47:00 pm
Please read this sites rules; please read the sub-forum purpose before posting in it.
Read the CB FAQs http://wiki.codeblocks.org/index.php?title=FAQ (http://wiki.codeblocks.org/index.php?title=FAQ)

If you wish your problem fixed turn off or adjust your antivirus or Window protection settings.

Tim S.
 
Title: Re: Unable to build
Post by: MrLoooooooo on June 22, 2014, 05:48:05 pm
Ok I solved the problem.
Disable antivirus or add the location where the .exe is saved as exception in the antivirus file scan.