News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Linker error: process terminated with a status 255 (0 minutes, 0 seconds)

Started by mholt, April 21, 2008, 05:15:27 AM

Previous topic - Next topic

mholt

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

MortenMacFly

Quote from: mholt on April 21, 2008, 05:15:27 AM
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???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Deschamps

QuoteI 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.
Those who were seen dancing were thought to be insane by those who could not hear the music

mholt

Quote from: Deschamps on April 22, 2008, 12:05:40 PM
QuoteI 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.