Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 .EXE program wont work. Bad object file header in .exe
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
gafiga




PostPosted: 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
Sponsor
sponsor
Tony




PostPosted: 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?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
metachief




PostPosted: 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




PostPosted: 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




PostPosted: Wed Jul 02, 2008 12:20 am   Post subject: RE:.EXE program wont work. Bad object file header in .exe

Yes, 4.1.1 has a bug with stand-alone executable. You can get an an earlier version of Turing from http://compsci.ca/holtsoft/
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
gafiga




PostPosted: Wed Jul 02, 2008 12:24 am   Post subject: RE:.EXE program wont work. Bad object file header in .exe

Thanks.
death bringer




PostPosted: 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




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
2ring




PostPosted: 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... BooHoo
SNIPERDUDE




PostPosted: 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.




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: 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! Very Happy
mirhagk




PostPosted: 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)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: