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

Username:   Password: 
 RegisterRegister   
 Generating Stand Alone Executable:
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TokenHerbz




PostPosted: Sun Jun 20, 2010 4:12 pm   Post subject: Generating Stand Alone Executable:

What is it you are trying to achieve?
Create my Turing .exe for others to use.


What is the problem you are having?
this error, "Bad object file header in "ProgramName.exe". (2) // I can run the programs completely fine just launching the .exe after compiling brings that error up... It does it even on the most basic Hello world program. Not sure why i'm getting that...

Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I Know how to make them, I've done it many times before, however I'm now on Windows 7... Would that have something to do with it?

Please specify what version of Turing you are using
Turing Version 4.1.1.
Sponsor
Sponsor
Sponsor
sponsor
USEC_OFFICER




PostPosted: Sun Jun 20, 2010 4:24 pm   Post subject: RE:Generating Stand Alone Executable:

Since I can't do the same thing on windows 7, yes, I assume it has something to do with it.
TheGuardian001




PostPosted: Sun Jun 20, 2010 4:36 pm   Post subject: Re: Generating Stand Alone Executable:

TokenHerbz @ Sun Jun 20, 2010 4:12 pm wrote:

Turing Version 4.1.1.

4.1.1 does not compile properly. Switch back to 4.1, and it should compile correctly.
USEC_OFFICER




PostPosted: Sun Jun 20, 2010 4:54 pm   Post subject: RE:Generating Stand Alone Executable:

Actually, I tried that. It didn't work either. (Though you are free to try it if you want.)
RandomLetters




PostPosted: Sun Jun 20, 2010 5:20 pm   Post subject: Re: Generating Stand Alone Executable:

4.1.1 is guaranteed not to work when compiling exes. You need to download and install 4.1 (dont think you can simply downgrade)
Cezna




PostPosted: Sun Jun 20, 2010 7:09 pm   Post subject: RE:Generating Stand Alone Executable:

You can get Turing 4.1 at the same download link as 4.1.1, which is at the top of this page, left of chat room, it has a D icon and says Turing.

There is a known error in Turing 4.1.1 that it can't compile files into .exe format, but 4.1 can, and I have used it many times for this purpose.

If you already known this, then I apologize for wasting your time, because that's all I got.

Very Happy
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 1  [ 6 Posts ]
Jump to:   


Style:  
Search: