Author |
Message |
gafiga
|
Posted: Tue Jul 01, 2008 11:57 pm Post subject: .EXE program wont work. Bad object file header in .exe |
|
|
im trying to create a stand-alone program for my game. I made it into a .exe but i think i did something wrong because when i goto run it it says "Bed object file header in "RGP.exe".
anyone know why its doing this? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
Posted: Wed Jul 02, 2008 12:12 am Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
What version of Turing are you using, and how are you compiling your program? |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
metachief

|
Posted: Wed Jul 02, 2008 12:15 am Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
I've gotten that problme before as well. Althought I don't know what's causing it, I can tell you how to get past that. You need to download an earlier version, lets say 4.0.3. It only happens with the new version of turing- 4.1.1. |
|
|
|
|
 |
gafiga
|
Posted: Wed Jul 02, 2008 12:18 am Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
im using 4.1.1. so get a different one? |
|
|
|
|
 |
Tony

|
|
|
|
 |
gafiga
|
Posted: Wed Jul 02, 2008 12:24 am Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
Thanks. |
|
|
|
|
 |
death bringer

|
Posted: Wed Jul 02, 2008 4:14 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
so what does this bug do because i also have 4.1.1 |
|
|
|
|
 |
Tony

|
Posted: Wed Jul 02, 2008 4:29 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
4.1.1 does not properly put together the "standalone executable". Everything works fine as long as it runs from source, but you can't put together a single-file.exe
I don't think there's anything in 4.1.1 that 4.1 can't do. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
Sponsor Sponsor

|
|
 |
2ring
|
Posted: Thu Sep 04, 2008 9:34 am Post subject: Re: .EXE program wont work. Bad object file header in .exe |
|
|
sounds like you have a bad install of Windows. The only solution is a format of C, I'm afraid...  |
|
|
|
|
 |
SNIPERDUDE

|
Posted: Thu Sep 04, 2008 1:30 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
No, it really is the version of Turing...
They messed up on that one. |
|
|
|
|
 |
andrew.
|
Posted: Thu Sep 04, 2008 3:31 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
Yeah 2ring, SNIPERDUDE is right. Don't reinstall Windows, just download Turing 4.0.5. |
|
|
|
|
 |
Warchamp7

|
Posted: Thu Sep 04, 2008 4:48 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
There really should be a sticky with this information since it's such a common problem...
Oh wait lolFAQ ^^
Though I still laugh every time someone has this problem. Go Holtsoft XD |
|
|
|
|
 |
Dan

|
Posted: Thu Sep 04, 2008 7:50 pm Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
Holtsoft probably would have fixed it had they not gone out of business :p
Tho they have had compiling to exe problems in other versions of turing in the past.
Turing relay should have been an interpreted language any way. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
 |
Srlancelot39

|
Posted: Tue Dec 15, 2009 8:16 pm Post subject: Re: RE:.EXE program wont work. Bad object file header in .exe |
|
|
Tony @ Wed Jul 02, 2008 3:29 pm wrote: 4.1.1 does not properly put together the "standalone executable". Everything works fine as long as it runs from source, but you can't put together a single-file.exe
I don't think there's anything in 4.1.1 that 4.1 can't do.
Thank you!!! I have an RPG that I really wanted to post but couldn't because 4.1.1 cannot create an executable. 4.1 is perfect: all the special graphics features I used from 4.1.1 are working nicely in this older version (I was worried for a moment because they didn't work in 4.0.5 or 4.1.1a...). Anyway, thanks!  |
|
|
|
|
 |
mirhagk
|
Posted: Wed Dec 16, 2009 8:22 am Post subject: RE:.EXE program wont work. Bad object file header in .exe |
|
|
Turing has a LOT of bugs in it. The best version to work with is 4.1 becuase it has the most recent features, except can still make standalone versions.
I've had my Turing crash so many times though if you double click a new window with a little bit of text in it it crashes, once I undid some stuff, then redid it using the crtl+y thing and it crashed. It makes me laugh sometimes because I guess holtsoft didn't really talk to people that used it, and it almost seems like they released 4.1.1 without even testing it (I wouldn't doubt it) |
|
|
|
|
 |
|