News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Application error (0x000007b)

Started by HELLOWORLD, April 18, 2020, 10:50:40 PM

Previous topic - Next topic

HELLOWORLD

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?

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

HELLOWORLD

sorry about that
-20.03 release
-64bit
-(0xc000007b)

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gd_on

#4
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
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

Codeblocks shouldn't need this variable. The executables and dlls must be in the same folder after the installer.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gd_on

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
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).


oBFusCATed

What is the content of the folder where the codeblocks.exe is (somewhere in the program files)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]