Exit Code 126 in Code::Blocks

I'm using Code::Blocks (latest) and Fedora 20. My code compiles fine, but when I go to run or debug it, I get "exit code 126." Funny thing is, I can't even run the exe created by the compiler without Code::Blocks. Any help?
I don't know what the problem is and I don't have much experience with Code::Blocks but are you sure Code::Blocks tries to run the correct file? Is the executable file even created? What happens if you manually remove the executable file and compile again? Maybe there is some option in Code::Blocks to "clean build" that you could try.

What happens when you tried to run the program outside of Code::Blocks? Note that double clicking on a executable file from the desktop enviroment normally does not bring up a terminal window automatically like on Windows (that doesn't mean the program is not executed). You should start the program from the terminal so that you see any error messages that might be printed.
Last edited on
Topic archived. No new replies allowed.