Code::Blocks Forums

User forums => Help => Topic started by: mholt on April 21, 2008, 05:15:27 am

Title: Linker error: process terminated with a status 255 (0 minutes, 0 seconds)
Post by: mholt on April 21, 2008, 05:15:27 am
I have finally gotten my imported Visual C++ 2008 project to build with 0 errors. (It has about 10 warnings, but mostly because of "depreciated" functions. I'm not too worried about that right now.)

When I try to execute it, though, I get an error:

Checking for existence: T:\Source\MyApp\MyApp.exe
Executing: "T:\Source\MyApp\MyApp.exe" (in T:\Source\MyApp\.)

Process terminated with status 255 (0 minutes, 0 seconds)

I find the .exe file in Windows Explorer and run it but nothing happens. I checked the process list and it's not there. But it's 347 KB, which sounds about right.

Any idea what's going on?

Thanks
Title: Re: Linker error: process terminated with a status 255 (0 minutes, 0 seconds)
Post by: MortenMacFly on April 21, 2008, 04:12:54 pm
Any idea what's going on?
Seems you app crashes silently - e.g. very early in the initialisation. Try debugging (of couse with debugging symbols enabled.)! What compiler did you use???
Title: Re: Linker error: process terminated with a status 255 (0 minutes, 0 seconds)
Post by: Deschamps on April 22, 2008, 12:05:40 pm
Quote
I find the .exe file in Windows Explorer and run it but nothing happens

You could also try running your app from the console (command line) window. Maybe, there is an error message reported there.

Regards.
Title: Re: Linker error: process terminated with a status 255 (0 minutes, 0 seconds)
Post by: mholt on April 23, 2008, 11:39:31 pm
Quote
I find the .exe file in Windows Explorer and run it but nothing happens

You could also try running your app from the console (command line) window. Maybe, there is an error message reported there.

Regards.


Nope, no error message. Just goes back to the prompt.

Morten: I'm using the Visual Studio 2008 compiler. It's a project imported from VS2008. Ultimately, I just need to get all the code from external libraries that it requires into the single executable.