Author Topic: Application error (0x000007b)  (Read 1060 times)

Offline HELLOWORLD

  • Single posting newcomer
  • *
  • Posts: 3
Application error (0x000007b)
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12905
    • Travis build status
Re: Application error (0x000007b)
« Reply #1 on: April 18, 2020, 11:01:22 pm »
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!]

Offline HELLOWORLD

  • Single posting newcomer
  • *
  • Posts: 3
Re: Application error (0x000007b)
« Reply #2 on: April 18, 2020, 11:13:25 pm »
sorry about that
-20.03 release
-64bit
-(0xc000007b)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12905
    • Travis build status
Re: Application error (0x000007b)
« Reply #3 on: April 19, 2020, 12:14:31 am »
And the OS version?
(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!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 581
Re: Application error (0x000007b)
« Reply #4 on: April 19, 2020, 09:49:39 am »
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
« Last Edit: April 19, 2020, 09:57:56 am by gd_on »
Windows 10 64 bits (20.04), svn C::B (last version or almost!), wxWidgets 3.1.4, Msys2 Compilers 10.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (sjlj, posix in C:\msys64\mingw32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12905
    • Travis build status
Re: Application error (0x000007b)
« Reply #5 on: April 19, 2020, 10:50:37 am »
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!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 581
Re: Application error (0x000007b)
« Reply #6 on: April 19, 2020, 11:42:47 am »
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 10 64 bits (20.04), svn C::B (last version or almost!), wxWidgets 3.1.4, Msys2 Compilers 10.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (sjlj, posix in C:\msys64\mingw32).

Offline HELLOWORLD

  • Single posting newcomer
  • *
  • Posts: 3
Re: Application error (0x000007b)
« Reply #7 on: April 19, 2020, 05:31:08 pm »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12905
    • Travis build status
Re: Application error (0x000007b)
« Reply #8 on: April 19, 2020, 07:04:20 pm »
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!]