Difference between revisions of "Talk:Free Compiler Setup"

From OrbiterWiki
Jump to navigation Jump to search
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[http://curti2iag.125mb.com/description/lib/haute-normandie/ haute normandie] [http://tomems.125mb.com/html/mercedes/ mercedes 2000] [http://behaverf.125mb.com/view/new/project-gotham/ project gotham racing 2] [http://curti2iag.125mb.com/description/lib/roma-cartina/ roma cartina] [http://curti2iag.125mb.com/description/lib/paciotti-us/ paciotti 4us uomo] [http://oooohhnnnooooo.freehostia.com/content/view/francesca-e.htm francesca e nunziata] [http://oooohhnnnooooo.freehostia.com/content/view/auto-usata.htm auto usata lombardia] [http://tomems.125mb.com/html/mp-/ mp3 1 gb radio fm] [http://tomems.125mb.com/html/giochi-erotici/ giochi erotici di super eva] [http://tomems.125mb.com/html/hanghai/ hanghai] [http://oooohhnnnooooo.freehostia.com/content/view/comune-avezzano.htm comune avezzano] [http://tomems.125mb.com/html/musica-gratis/ musica gratis da scaricare] [http://behaverf.125mb.com/view/new/playstation/ playstation 2] [http://tomems.125mb.com/html/www-yaooh/ www yaooh com] [http://ginger-tea.freehostia.com/topic/siracusa-albergo/ siracusa albergo] [http://curti2iag.125mb.com/description/lib/ad-ogni/ ad ogni costo] [http://ginger-tea.freehostia.com/topic/w-w/ w w w erosramazzotti com] [http://redobsession.freehostia.com/web/lettore-dvd.htm lettore dvd autoradio] [http://roaliano.125mb.com/content/view/lg-hd.htm lg hd ready] [http://curti2iag.125mb.com/description/lib/amstrad-lettore/ amstrad lettore dvd divx 3010] [http://tomems.125mb.com/html/www-bizzarre/ www bizzarre it] [http://behaverf.125mb.com/view/new/donne-di/ donne di 50 anni] [http://redobsession.freehostia.com/web/grande-fratelo.htm grande fratelo 5] [http://redobsession.freehostia.com/web/brittany-spears.htm brittany spears nude] [http://roaliano.125mb.com/content/view/jaime-pressley.htm jaime pressley] [http://redobsession.freehostia.com/web/triband-cellulari.htm triband cellulari lg] [http://tomems.125mb.com/html/hpi-nitro/ hpi nitro mt2] [http://roaliano.125mb.com/content/view/la-bottega.htm la bottega di filosofia] [http://oooohhnnnooooo.freehostia.com/content/view/lady-oscar.htm lady oscar - volume 1] [http://edmei.125mb.com/html/nike-oro.htm nike oro air max silver] [http://oooohhnnnooooo.freehostia.com/content/view/l-imbroglione.htm l imbroglione] [http://behaverf.125mb.com/view/new/impiegato-ufficio/ impiegato ufficio acquisti (regione veneto - treviso provincia)] [http://ginger-tea.freehostia.com/topic/paparazzi/ paparazzi 2004] [http://behaverf.125mb.com/view/new/acer-wsmi/ acer 1804wsmi] [http://oooohhnnnooooo.freehostia.com/content/view/elisa-di.htm elisa di] [http://behaverf.125mb.com/view/new/componenti/ componenti] [http://curti2iag.125mb.com/description/lib/natasha-klaus/ natasha klaus y michel brown] [http://ginger-tea.freehostia.com/topic/autonoleggio-venezia/ autonoleggio venezia] [http://tomems.125mb.com/html/ragazzi-perduti/ ragazzi perduti] [http://edmei.125mb.com/html/hoobastank-mp.htm hoobastank mp3] [http://ginger-tea.freehostia.com/topic/cavo-rca/ cavo rca 20 mt] [http://edmei.125mb.com/html/frigo-whirlpool.htm frigo whirlpool 4170] [http://oooohhnnnooooo.freehostia.com/content/view/psp-giapponese.htm psp giapponese] [http://edmei.125mb.com/html/sex-arabe.htm sex arabe] [http://curti2iag.125mb.com/description/lib/woofer-attivo/ woofer attivo per auto] [http://tomems.125mb.com/html/il-mio/ il mio caro john] [http://ginger-tea.freehostia.com/topic/conto-correnti/ conto correnti impresa] [http://behaverf.125mb.com/view/new/koblenz/ koblenz] [http://behaverf.125mb.com/view/new/volvo-super/ volvo super polar 240] [http://ginger-tea.freehostia.com/topic/ram-ddr/ ram ddr 256mb 266mhz] [http://behaverf.125mb.com/view/new/digitale-terrestre/ digitale terrestre smart] [http://curti2iag.125mb.com/description/lib/prestito-strasbourg/ prestito strasbourg] [http://ginger-tea.freehostia.com/topic/cori-alpini/ cori alpini gratis] [http://tomems.125mb.com/html/grande-display/ grande display cordless] [http://ginger-tea.freehostia.com/topic/mmc-nokia/ mmc nokia] [http://tomems.125mb.com/html/dragon-buble/ dragon buble] [http://tomems.125mb.com/html/gianni-barbara/ gianni barbara] [http://curti2iag.125mb.com/description/lib/cx-foto/ cx-7525 foto kodak fotocamere digitali] [http://ginger-tea.freehostia.com/topic/deta/ deta] [http://oooohhnnnooooo.freehostia.com/content/view/estratto-di.htm estratto di mirtillo] [http://behaverf.125mb.com/view/new/chitarra-classica/ chitarra classica elettrificata] [http://tomems.125mb.com/html/frankie-morello/ frankie morello] [http://tomems.125mb.com/html/fionnula-flanagan/ fionnula flanagan] [http://behaverf.125mb.com/view/new/ibm-mouse/ ibm mouse wheel optical] [http://curti2iag.125mb.com/description/lib/mille-lire/ mille lire] [http://behaverf.125mb.com/view/new/hp-stampanti/ hp stampanti 110 plus] [http://edmei.125mb.com/html/ati-xgto.htm ati x800gto ultimate] [http://curti2iag.125mb.com/description/lib/one-day/ one day i ll fly away] [http://curti2iag.125mb.com/description/lib/passalibro/ passalibro] [http://roaliano.125mb.com/content/view/gps-bluetooth.htm gps bluetooth kirrio] [http://behaverf.125mb.com/view/new/ingegnere/ ingegnere] [http://edmei.125mb.com/html/impiegata-commerciale.htm impiegata commerciale (regione lombardia - cremona provincia)] [http://curti2iag.125mb.com/description/lib/philips-pt/ philips 29pt8520] [http://behaverf.125mb.com/view/new/briana-bancks/ briana bancks] [http://curti2iag.125mb.com/description/lib/daidegas/ daidegas] [http://curti2iag.125mb.com/description/lib/milanobormio/ milano-bormio] [http://tomems.125mb.com/html/frasi-invito/ frasi invito compleanno] [http://behaverf.125mb.com/view/new/gli-amanti/ gli amanti del chiaro di luna] [http://curti2iag.125mb.com/description/lib/il-video/ il video del complesso studio 3] [http://ginger-tea.freehostia.com/topic/navigazione-laghi/ navigazione laghi] [http://redobsession.freehostia.com/web/tavolo-da.htm tavolo da ping pong] [http://curti2iag.125mb.com/description/lib/affitto-vacanza/ affitto vacanza roma] [http://edmei.125mb.com/html/quinny-sx.htm quinny sx] [http://ginger-tea.freehostia.com/topic/i-ventitre/ i ventitre giorni della citta di alba] [http://tomems.125mb.com/html/acer-aspire/ acer aspire wlmi 1672] [http://tomems.125mb.com/html/www-mutuionline/ www mutuionline it] [http://roaliano.125mb.com/content/view/mariani-alfredo.htm mariani alfredo e figlio] [http://curti2iag.125mb.com/description/lib/moto-depoca/ moto depoca] [http://edmei.125mb.com/html/giochi-x.htm giochi x box] [http://curti2iag.125mb.com/description/lib/hp-all/ hp all in one laser] [http://ginger-tea.freehostia.com/topic/libri-on/ libri on line] [http://edmei.125mb.com/html/finalfantasy.htm finalfantasy9] [http://roaliano.125mb.com/content/view/shiftey.htm shiftey] [http://ginger-tea.freehostia.com/topic/archos-mp/ archos mp3 player] [http://ginger-tea.freehostia.com/topic/arctic-cooling/ arctic cooling freezer 64] [http://behaverf.125mb.com/view/new/patrick-robinson/ patrick robinson] [http://behaverf.125mb.com/view/new/un-medico/ un medico in famiglia. prima serie. vol. 20] [http://tomems.125mb.com/html/pps-di/ pps di auguri] [http://curti2iag.125mb.com/description/lib/router-adsl/ router adsl 504t] [http://tomems.125mb.com/html/giustiziare/ giustiziare] [http://ginger-tea.freehostia.com/topic/idea-bagno/ idea bagno] [http://curti2iag.125mb.com/description/lib/www-athena/ www athena it] [http://redobsession.freehostia.com/web/live-bit.htm live 24-bit] [http://roaliano.125mb.com/content/view/dead-heart.htm dead heart] [http://curti2iag.125mb.com/description/lib/qwr/ qwr] [http://oooohhnnnooooo.freehostia.com/content/view/data-e.htm data e home page americana per ghost in the shell] [http://redobsession.freehostia.com/web/colin-mcrae.htm colin mcrae rally 4] [http://behaverf.125mb.com/view/new/lucifer/ lucifer] [http://redobsession.freehostia.com/web/caradonna.htm caradonna] [http://ginger-tea.freehostia.com/topic/czuczor-gergely/ czuczor, gergely] [http://roaliano.125mb.com/content/view/cani-da.htm cani da caccia] [http://tomems.125mb.com/html/viewsonic-monitor/ viewsonic monitor lcd] [http://edmei.125mb.com/html/rena.htm rena] [http://curti2iag.125mb.com/description/lib/katiuska/ katiuska] [http://curti2iag.125mb.com/description/lib/wickedweasel/ wickedweasel] [http://roaliano.125mb.com/content/view/ragazza-pompei.htm ragazza pompei] [http://oooohhnnnooooo.freehostia.com/content/view/videocamere-samsung.htm videocamere samsung] [http://oooohhnnnooooo.freehostia.com/content/view/led-zeppelin.htm led zeppelin dale] [http://ginger-tea.freehostia.com/topic/lestate-delle/ lestate delle scimmie] [http://tomems.125mb.com/html/alfa-o/ alfa o alpha] [http://tomems.125mb.com/html/allied-telesyn/ allied telesyn mc101xl] [http://behaverf.125mb.com/view/new/motore-ricerca/ motore ricerca gogle] [http://curti2iag.125mb.com/description/lib/oscar/ oscar 1998] [http://tomems.125mb.com/html/pioneer-dehpbt/ pioneer deh-p70bt bluetooth] [http://behaverf.125mb.com/view/new/primax-usb/ primax usb 9600 xp] [http://curti2iag.125mb.com/description/lib/analmente/ analmente] [http://oooohhnnnooooo.freehostia.com/content/view/broken-by.htm broken by seether featuring amy lee] [http://oooohhnnnooooo.freehostia.com/content/view/epson-stylus.htm epson stylus r300] [http://redobsession.freehostia.com/web/har-disk.htm har disk ethernet] [http://behaverf.125mb.com/view/new/kamenskuralski/ kamensk-uralski] [http://edmei.125mb.com/html/www-tupostal.htm www tupostal] [http://tomems.125mb.com/html/nastro-stampante/ nastro stampante] [http://roaliano.125mb.com/content/view/juegos-flash.htm juegos flash xxx] [http://edmei.125mb.com/html/lesche.htm lesche] [http://curti2iag.125mb.com/description/lib/radio-con/ radio con cuffie] [http://tomems.125mb.com/html/heya/ heya] [http://ginger-tea.freehostia.com/topic/dual-voltage/ dual voltage 256mb] [http://redobsession.freehostia.com/web/rio-de.htm rio de janeiro ristorante] [http://tomems.125mb.com/html/il-sentiero/ il sentiero del peccato] [http://tomems.125mb.com/html/rial-srl/ rial srl rc] [http://behaverf.125mb.com/view/new/kit-bluetooth/ kit bluetooth] [http://behaverf.125mb.com/view/new/celerita-nude/ celerita nude] [http://tomems.125mb.com/html/neruda-pablo/ neruda, pablo] [http://oooohhnnnooooo.freehostia.com/content/view/griffin-ifm.htm griffin ifm] [http://behaverf.125mb.com/view/new/box-drive/ box drive esterni] [http://roaliano.125mb.com/content/view/temba.htm temba] [http://tomems.125mb.com/html/disco-mix/ disco mix] [http://redobsession.freehostia.com/web/goodies-petey.htm goodies petey pablo] [http://redobsession.freehostia.com/web/inglesina-moovy.htm inglesina moovy] [http://curti2iag.125mb.com/description/lib/honda-jazz/ honda jazz usata] [http://edmei.125mb.com/html/elle-macpherson.htm elle macpherson photo galleri] [http://curti2iag.125mb.com/description/lib/contatti-msn/ contatti msn] [http://tomems.125mb.com/html/video-haiducii/ video haiducii] [http://roaliano.125mb.com/content/view/rumene.htm rumene] [http://curti2iag.125mb.com/description/lib/www-pirsch/ www pirsch de] [http://oooohhnnnooooo.freehostia.com/content/view/gunter-grass.htm gunter grass] [http://redobsession.freehostia.com/web/un-trailer.htm un trailer per age of conan] [http://roaliano.125mb.com/content/view/gaoual.htm gaoual] [http://edmei.125mb.com/html/break-beat.htm break beat] [http://edmei.125mb.com/html/fotogallerie.htm fotogallerie] [http://tomems.125mb.com/html/cinecitta-campus/ cinecitta campus] [http://tomems.125mb.com/html/f/ f55] [http://tomems.125mb.com/html/oregon-scientific/ oregon scientific emr812hgn] [http://oooohhnnnooooo.freehostia.com/content/view/milano-brno.htm milano brno biglietti aerei] [http://behaverf.125mb.com/view/new/microsoft-visual/ microsoft visual studio net 2003] [http://ginger-tea.freehostia.com/topic/jupiter-srl/ jupiter srl] [http://tomems.125mb.com/html/deer-hunter/ deer hunter 3] [http://roaliano.125mb.com/content/view/hombres-nu.htm hombres nu] [http://edmei.125mb.com/html/snake-tetris.htm snake tetris 1.0.1] [http://edmei.125mb.com/html/pentium-.htm pentium 4 2 8 ghz] [http://edmei.125mb.com/html/arabo.htm arabo] [http://roaliano.125mb.com/content/view/mortasa.htm mortasa] [http://ginger-tea.freehostia.com/topic/kimberlite/ kimberlite] [http://oooohhnnnooooo.freehostia.com/content/view/disco-esterno.htm disco esterno usb 250 gb] [http://behaverf.125mb.com/view/new/amd-/ amd 64 pci-e 939] [http://ginger-tea.freehostia.com/topic/www-sheti/ www sheti com] [http://oooohhnnnooooo.freehostia.com/content/view/layla.htm layla] [http://curti2iag.125mb.com/description/lib/i-focker/ i focker in dvd] [http://edmei.125mb.com/html/torneo-pasquale.htm torneo pasquale] [http://ginger-tea.freehostia.com/topic/morna/ morna] [http://roaliano.125mb.com/content/view/africane-mature.htm africane mature] [http://roaliano.125mb.com/content/view/russian-fireworks.htm russian fireworks. a naxos musical journey. russia] [http://curti2iag.125mb.com/description/lib/pioneer-dvd/ pioneer dvd firewire] [http://oooohhnnnooooo.freehostia.com/content/view/palmare-con.htm palmare con gps hp] [http://curti2iag.125mb.com/description/lib/tgcom-home/ tgcom home page] [http://redobsession.freehostia.com/web/giorgia-girasole.htm giorgia girasole] [http://tomems.125mb.com/html/trasporti-imbarcazioni/ trasporti imbarcazioni] [http://edmei.125mb.com/html/valle-shqipe.htm valle shqipe] [http://edmei.125mb.com/html/razr-v.htm razr v3 black (nero) quadriband] [http://ginger-tea.freehostia.com/topic/informadove-hotels/ informadove hotels] [http://behaverf.125mb.com/view/new/picasso-citroen/ picasso citroen] [http://behaverf.125mb.com/view/new/motogenerale/ moto(generale)] [http://tomems.125mb.com/html/lassedio/ lassedio] [http://roaliano.125mb.com/content/view/olio-di.htm olio di fegato di merluzzo] [http://roaliano.125mb.com/content/view/ida-corr.htm ida corr] [http://oooohhnnnooooo.freehostia.com/content/view/tzone-balancing.htm t-zone balancing] [http://edmei.125mb.com/html/arcam-solo.htm arcam solo] [http://oooohhnnnooooo.freehostia.com/content/view/sapphire-pcie.htm sapphire pci-e x700] [http://oooohhnnnooooo.freehostia.com/content/view/nuovo-cimena.htm nuovo cimena paradiso] [http://ginger-tea.freehostia.com/topic/fotos-gordis/ fotos gordis] ==Starting from scratch==
+
==Starting from scratch==
 
I spent several frustrating days trying to get the CustomMFD to compile and was glad to find this wiki page with one of the things I was missing; excluding msvsirt.lib. I still kept running into problems, however, since I moved the location of the API and wasn't able to change the  ..\..\lib\  references through the IDE directly. Eventually I threw in the towl and created a new project from scratch rather than converting the sample project files to the new format (which I'm guessing had the hardcoded directories.)
 
I spent several frustrating days trying to get the CustomMFD to compile and was glad to find this wiki page with one of the things I was missing; excluding msvsirt.lib. I still kept running into problems, however, since I moved the location of the API and wasn't able to change the  ..\..\lib\  references through the IDE directly. Eventually I threw in the towl and created a new project from scratch rather than converting the sample project files to the new format (which I'm guessing had the hardcoded directories.)
  
Line 9: Line 9:
 
:*General
 
:*General
 
::*Configuration Type: Dynamic Library (.dll)
 
::*Configuration Type: Dynamic Library (.dll)
::*C/C
+
::*C/C++
 
:::*Genreal
 
:::*Genreal
 
::::*Additional Include Directories:"C:\Program Files\Microsoft Platform SDK\Include";"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\include"
 
::::*Additional Include Directories:"C:\Program Files\Microsoft Platform SDK\Include";"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\include"
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 54: Line 54:
 
== Compiling addons with Panels ==
 
== 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)
+
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 ==
 
== 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)
 
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

Latest revision as of 13:36, 21 January 2014

Starting from scratch[edit]

I spent several frustrating days trying to get the CustomMFD to compile and was glad to find this wiki page with one of the things I was missing; excluding msvsirt.lib. I still kept running into problems, however, since I moved the location of the API and wasn't able to change the ..\..\lib\ references through the IDE directly. Eventually I threw in the towl and created a new project from scratch rather than converting the sample project files to the new format (which I'm guessing had the hardcoded directories.)

I'm including my notes on how to set this up below in the hopes that 1) it may save someone hours of frustration, and 2) if anyone else has a similar experience they can incorporate some of this back into the main article. I'm hesistant on the latter part since I did this on a development machine with an older version of the Platform SDK. I don't want to clutter the main article if these problem were unique to me. With that said, here goes.

First, I moved the Orbiter SDK to the Projects directory and created a new "Empty Project" in Projects as well. I then copied over the cpp and h file for the CustomMFD sample and nothing else. After fixing the fstream include problem mentioned in the main article and setting the configuration to Release, I changed the following settings under Properties:

  • Configuration Properties:
  • General
  • Configuration Type: Dynamic Library (.dll)
  • C/C++
  • Genreal
  • Additional Include Directories:"C:\Program Files\Microsoft Platform SDK\Include";"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\include"
  • Warning Level: Level 3 (/W3)
  • Preprocessor
  • Preprocessor Definitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE
  • Code Generation
  • Runtime Library: Multi-threaded DLL (/MD)
  • Command Line: /O2 /I "C:\Program Files\Microsoft Platform SDK\Include" /I "C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\include" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_WINDLL" /FD /EHsc /MD /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /TP /errorReport:prompt
  • Linker
  • General
  • Output File: $(OutDir)\$(ProjectName).dll
  • Additional Library Directories: "C:\Program Files\Microsoft Platform SDK\Lib";"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\lib"
  • Input
  • Additional Dependencies: user32.lib gdi32.lib orbiter.lib orbitersdk.lib
  • Ignore Specific Library: msvcirt.lib
  • Command Line: /OUT:"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\CustomMFD\Release\CustomMFD.dll" /NOLOGO /LIBPATH:"C:\Program Files\Microsoft Platform SDK\Lib" /LIBPATH:"C:\Documents and Settings\username\My Documents\Visual Studio 2005\Projects\Orbitersdk\lib" /DLL /MANIFEST /MANIFESTFILE:"Release\CustomMFD.dll.intermediate.manifest" /NODEFAULTLIB:"msvcirt.lib" /ERRORREPORT:PROMPT user32.lib gdi32.lib orbiter.lib orbitersdk.lib kernel32.lib

In the above settings list, I included the "Command Line" just as a reference. I didn't manually edit it. This setup was tested using Microsoft Visual Studio 2005 Version 8.0.50727.42.

One item of particular interest is the extra preprocessor includes. Without those, I was getting dozens of compile warnings related to the string functions. You can search the MSDN forums for more information on those.

And again, if anyone finds help with any of this, please merge the useful bits back to the main article.

--Rko281 07:17, 28 July 2006 (MSD)

Compiling ShuttlePB - Rank Beginner's Experiences[edit]

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.

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!

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.

C Senescall 10 September 2006


Compiling addons with Panels[edit]

I can confirm that the free compiler (ie Visual C++ Express) does compile addons with panels. SimonRigy 05:31, 7 December 2006 (MSK)

Renaming a project[edit]

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. Kwan3217 05:49, 21 December 2006 (MSK)

Newest Platform SDK is missing files needed for resource file compilation[edit]

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