Generating Stand Alone Executable:
Author |
Message |
TokenHerbz
![](http://compsci.ca/v3/uploads/user_avatars/717170395558e628d9452b.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
TheGuardian001
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: 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.) |
|
|
|
|
![](images/spacer.gif) |
RandomLetters
|
Posted: 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) |
|
|
|
|
![](images/spacer.gif) |
Cezna
![](http://compsci.ca/v3/uploads/user_avatars/9406831824c097251d4bb4.gif)
|
Posted: 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 Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
|
|