Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: HELLOWORLD on April 18, 2020, 10:50:40 pm
-
whenever i try to open codeblocks this error pops up -> this application was unable to start correctly (0x000007b).
any clue on how to solve this problem?
-
Start by telling us which version of C::B and OS you're using. Are they 32 or 64 bits.
Posting a generic error (and also posting the incorrect error code, you're most probably missing a 'c' in there), doesn't help us pinpoint what is going on.
-
sorry about that
-20.03 release
-64bit
-(0xc000007b)
-
And the OS version?
-
This error happens, I think, when, on Windows (Win 10 64 bits for me), the ...\MinGW\bin path has not been set within your path variable and when you are executing directly your .exe, outside codeblocks. So add this bin path in your Path variable (system one or user one).
More, are all the dll used by Codeblocks, accessible through this path variable ?
gd_on
-
Codeblocks shouldn't need this variable. The executables and dlls must be in the same folder after the installer.
-
You are right for codeblocks itself. And, it is his problem apparently.
But when you build an executable with mingw 8.1, and you want to execute it outside of C::B, you need to have access to several other dll like those added in C::B distribution (like libstdc*, libgcc*, ...), but not only. It's why it's preferable to have (also) those dlls in your path.
I met this error several times, but on my own programs, and it's not easy to understand what is missing, even with a tool like DependenciesGUI.
gd_on
-
And the OS version?
Win 7
-
What is the content of the folder where the codeblocks.exe is (somewhere in the program files)?