News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Unable to build (solved)

Started by MrLoooooooo, June 22, 2014, 05:39:27 PM

Previous topic - Next topic

MrLoooooooo

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.

stahta01

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

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MrLoooooooo

Ok I solved the problem.
Disable antivirus or add the location where the .exe is saved as exception in the antivirus file scan.