Editing Talk:Free Compiler Setup

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 37: Line 37:
 
== Compiling ShuttlePB - Rank Beginner's Experiences ==
 
== Compiling ShuttlePB - Rank Beginner's Experiences ==
  
First I just want to say what a wonderful Wiki article this is as from a clean install, following the directions precisely, I was able to compile ShuttlePB using the free compiler Visual C++.
+
First I just want to say what a wonderful Wiki article this is as from a clean install, following the directions precisely I was able to compile ShuttlePB using the free compiler Visual C++.
  
 
The whole thing (excluding download time) took 15 minutes and I have no experience with C and only hobby programming experience with a few other languages.
 
The whole thing (excluding download time) took 15 minutes and I have no experience with C and only hobby programming experience with a few other languages.
Line 43: Line 43:
 
I did find that I had to add an additional include to get it to compile as the first build came up with an error that it couldn't find fstream.h (and no doubt if the build had not terminated with a fatal error it would not have found math.h or float.h).  These files reside in a crt folder under the directory C:\Program Files\Microsoft Platform SDK\.  I therfore added the following include path to those listed in te relevant section of the wiki article: C:\Program Files\Microsoft Platform SDK\crt\.
 
I did find that I had to add an additional include to get it to compile as the first build came up with an error that it couldn't find fstream.h (and no doubt if the build had not terminated with a fatal error it would not have found math.h or float.h).  These files reside in a crt folder under the directory C:\Program Files\Microsoft Platform SDK\.  I therfore added the following include path to those listed in te relevant section of the wiki article: C:\Program Files\Microsoft Platform SDK\crt\.
  
The dll was then built without a problem.  I test flew it and the little ShuttlePB flies like a dream! Very exciting stuff!
+
The dll was then build without a problem.  I test flew it and the little ShuttlePB flies like a dream! Very exciting stuff!
  
Now to see if I can do a panel and an MFD.  I hope the above amendment might help others using the free compiler and if this needs to be added to wiki then someone with more knowledge than me should feel free to add it or if a better way exists to include the crt directory then explicitly state in wiki how to do so.
+
Now to see if I can do a panel and an mfd.  I hope the above amendment might help others using the free compiler and if this needs to be added to wiki then someone with more knowledge than me should feel free to add it or if a better way exists to include the crt directory then explicitly state in wiki how to do so.
  
 
Thank you to everyone who contributed to this article as it is absolutely superb.
 
Thank you to everyone who contributed to this article as it is absolutely superb.
  
C Senescall   10 September 2006
+
C Senescall
 
 
 
 
== Compiling addons with Panels ==
 
 
 
I can confirm that the free compiler (ie Visual C++ Express) does compile addons with panels. [[User:SimonRigy|SimonRigy]] 05:31, 7 December 2006 (MSK)
 
 
 
== Renaming a project ==
 
Does anyone know how to rename a project and all the files in it cleanly? When I used the old 2003 command line compiler, I didn't have to worry about project files and such. I just copied a folder to a new name, renamed all the files, and did a search on the old name and replaced with the new name. Is there a way to do something like this with the 2005 compiler? I don't really want to have to rebuild a project from scratch every time. [[User:Kwan3217|Kwan3217]] 05:49, 21 December 2006 (MSK)
 
 
 
== Newest Platform SDK is missing files needed for resource file compilation ==
 
I tried downloading the "new version of Platform SDK that doesn't require validation" (Windows SDK for Windows Server 2008 and .NET Framework 3.5) and it didn't contain the files required to build resources - afxres.h and winres.h. In fact it didn't contain the include/atl and include/mfc folders at all.
 
Fortunately after downloading the third mentioned PlatformSDK (Windows Server 2003 SP1 Platform SDK, no validation required) I got the files that I needed.
 
Thanks for the great source, finally I can compile (other apps, too) with VS Express 2008.
 
 
 
Mattes Dolak, xoft.cz, 30 March 2009
 
 
 
-edit- working
 

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)