Difference between revisions of "Talk:Free Compiler Setup"

From OrbiterWiki
Jump to navigation Jump to search
m (Reverted edits by 192.72.124.12 (Talk); changed back to last version by Urwumpe)
Line 1: Line 1:
[http://forever-your.110mb.com/data/volo-aereo.htm volo aereo cagliarivenezia] [http://blue-olusha.110mb.com/library/lonley/ lonley] [http://ultra-creator.110mb.com/articles/olimpus-digitale.htm olimpus digitale fe 120] [http://some-omeelse.110mb.com/data/discoteca-costes.htm discoteca costes] [http://book-wench.110mb.com/text/asus-dual/ asus dual xeon fsb800] [http://mouse-zae.110mb.com/gold-minor.htm gold minor] [http://slavkamolot.110mb.com/library/navman-r/ navman r300] [http://slavkamolot.110mb.com/library/fren/ fren] [http://book-wench.110mb.com/text/sapit/ sapit] [http://olikka.110mb.com/library/gloomy-sunday.htm gloomy sunday] [http://sister-sunshine.110mb.com/html/nike-court/ nike court tradition] [http://funk-mastah-ion.110mb.com/data/amanti-senza.htm amanti senza domani] [http://stitchesnglue.110mb.com/giochi-computer.htm giochi computer gratis] [http://dialed.110mb.com/small/oki-ml/ oki ml3321] [http://blue-olusha.110mb.com/library/stokings-nylon/ stokings nylon] [http://funk-mastah-ion.110mb.com/data/download-satisfaction.htm download satisfaction] [http://unremig.110mb.com/happyman/ happyman] [http://ultra-creator.110mb.com/articles/notebook-ati.htm notebook ati] [http://dialed.110mb.com/small/lancia-y/ lancia y auto] [http://slavkamolot.110mb.com/library/nuova-mercedes/ nuova mercedes 220 auto nuove] [http://gekijuls.110mb.com/battle-of/ battle of tanks] [http://unremig.110mb.com/maldini-coppa/ maldini coppa campioni] [http://lazythoughts.110mb.com/lib/vasto-singola/ vasto singola] [http://olikka.110mb.com/library/santa-tecla.htm santa tecla] [http://olikka.110mb.com/library/testi-canzone.htm testi canzone napoletana] [http://gekijuls.110mb.com/marozsan/ marozsan] [http://some-omeelse.110mb.com/data/anziane-casalinghe.htm anziane casalinghe troie] [http://some-omeelse.110mb.com/data/x-.htm x700 256 mb] [http://gekijuls.110mb.com/fm-hit/ fm hit cl] [http://mouse-zae.110mb.com/la-cartella.htm la cartella clinica medica] [http://mouse-zae.110mb.com/my-immortale.htm my immortale] [http://trene-von-anty.110mb.com/description/mb-avx.htm mb a7v600x] [http://book-wench.110mb.com/text/titolo-borsa/ titolo borsa] [http://yeeden.110mb.com/data/hub-usb/ hub usb interno] [http://funk-mastah-ion.110mb.com/data/einaudi-ludovico.htm einaudi ludovico] [http://trouble166.110mb.com/f-nikon.htm f100 nikon] [http://stitchesnglue.110mb.com/acer-.htm acer 17 tft al1711] [http://dialed.110mb.com/small/hitec-laser/ hitec laser 6] [http://funk-mastah-ion.110mb.com/data/clip-art.htm clip art olio] [http://slavkamolot.110mb.com/library/ventola-/ ventola 478 cpu] [http://yeeden.110mb.com/data/spytime/ spytime] [http://ultra-creator.110mb.com/articles/diffusori-infinity.htm diffusori infinity 50] [http://stitchesnglue.110mb.com/canon-.htm canon  mvx200] [http://nationavce.110mb.com/view/dragostea-din.htm dragostea din tei o zone mp3] [http://sneezingpops.110mb.com/erica-durante/ erica durante] [http://funk-mastah-ion.110mb.com/data/viola-simoncioni.htm viola simoncioni] [http://stitchesnglue.110mb.com/calendario-emanuela.htm calendario emanuela arcuri] [http://unremig.110mb.com/la-valea/ la valea di] [http://stitchesnglue.110mb.com/olbia-roma.htm olbia roma biglietti aerei] [http://trene-von-anty.110mb.com/description/fischiettar.htm fischiettar] [http://stitchesnglue.110mb.com/cellulare-con.htm cellulare con navigatore gps] [http://blue-olusha.110mb.com/library/second-video/ second video paris hilton] [http://trouble166.110mb.com/masterpieces-of.htm masterpieces of modern soul cd musicali] [http://yeeden.110mb.com/data/telecamera-wireless/ telecamera wireless solare] [http://gekijuls.110mb.com/paloma-de/ paloma de exporto brasil] [http://sneezingpops.110mb.com/le-porno/ le porno amiche] [http://nationavce.110mb.com/view/juli-de.htm juli de gain] [http://mouse-zae.110mb.com/tv-lcd.htm tv lcd aquos] [http://nationavce.110mb.com/view/trasmettitore-ricevitore.htm trasmettitore ricevitore] [http://unremig.110mb.com/vangelo-apocrifo/ vangelo apocrifo] [http://yeeden.110mb.com/data/requiem-di/ requiem di mozart gratis] [http://some-omeelse.110mb.com/data/h.htm h2210] [http://stitchesnglue.110mb.com/pack-mp.htm pack mp3] [http://blue-olusha.110mb.com/library/bad-religion/ bad religion] [http://blue-olusha.110mb.com/library/manchester-cose/ manchester cose fare] [http://sister-sunshine.110mb.com/html/concorso-medicina/ concorso medicina generale] [http://some-omeelse.110mb.com/data/overture-antec.htm overture antec] [http://some-omeelse.110mb.com/data/hp-laserjet.htm hp laserjet 4250n] [http://olikka.110mb.com/library/hard-disk.htm hard disk 300gb] [http://book-wench.110mb.com/text/smart-/ smart 191 it] [http://dialed.110mb.com/small/soluzione-psx/ soluzione psx2] [http://trene-von-anty.110mb.com/description/site-arabe.htm site arabe sex] [http://lazythoughts.110mb.com/lib/video-eva/ video eva henger gratuiti] [http://mouse-zae.110mb.com/miss-mondo.htm miss mondo] [http://mouse-zae.110mb.com/mandato-a.htm mandato a quel paese] [http://nationavce.110mb.com/view/nuovo-motorola.htm nuovo motorola v3] [http://book-wench.110mb.com/text/palmare-asus/ palmare asus p505] [http://slavkamolot.110mb.com/library/scheda-mediacenter/ scheda mediacenter] [http://gekijuls.110mb.com/hard-gratis/ hard gratis] [http://funk-mastah-ion.110mb.com/data/ugg-stivali.htm ugg stivali] [http://stitchesnglue.110mb.com/memphis-cose.htm memphis cose fare] [http://slavkamolot.110mb.com/library/honduras-con/ honduras con] [http://some-omeelse.110mb.com/data/love-is.htm love is pain] [http://trouble166.110mb.com/nissan-xtrail.htm nissan xtrail auto] [http://stitchesnglue.110mb.com/sapphire-.htm sapphire  x800gt 256m gddr3 agp] [http://dialed.110mb.com/small/a-incasso/ a incasso frigoriferi] [http://nationavce.110mb.com/view/kansas-.htm kansas 3 ruote] [http://mouse-zae.110mb.com/crema-antismagliature.htm crema antismagliature] [http://sister-sunshine.110mb.com/html/okipage-w/ okipage 8w] [http://unremig.110mb.com/incontro-grugliasco/ incontro grugliasco] [http://ultra-creator.110mb.com/articles/la-cruna.htm la cruna dellago] [http://gekijuls.110mb.com/pistoleros/ pistoleros] [http://unremig.110mb.com/nadir/ nadir] [http://gekijuls.110mb.com/treni-orari/ treni orari partenze arrivi] [http://blue-olusha.110mb.com/library/cc-elettronica/ cc elettronica] [http://forever-your.110mb.com/data/ati-radeon.htm ati radeon 9250 256mb tv dvi] [http://trouble166.110mb.com/time-of.htm time of defiance] [http://some-omeelse.110mb.com/data/iau.htm iau] [http://sister-sunshine.110mb.com/html/boccoli-benedicta/ boccoli benedicta] [http://sneezingpops.110mb.com/enamorarme/ enamorarme] [http://sneezingpops.110mb.com/lexar-usb/ lexar usb] [http://lazythoughts.110mb.com/lib/skill-risorse/ skill risorse umane] [http://trene-von-anty.110mb.com/description/pena-di.htm pena di morte in molti stati come la ritieni] [http://book-wench.110mb.com/text/modem-router/ modem router dlink] [http://funk-mastah-ion.110mb.com/data/cartoni-sirenetta.htm cartoni sirenetta foto] [http://blue-olusha.110mb.com/library/scalps/ scalps] [http://sister-sunshine.110mb.com/html/gps-ricevitore/ gps ricevitore blutooth] [http://stitchesnglue.110mb.com/lifthing.htm lifthing] [http://sister-sunshine.110mb.com/html/pelle-di/ pelle di donna] [http://gekijuls.110mb.com/prestito-al/ prestito al consumo] [http://nationavce.110mb.com/view/digitale-terrestre.htm digitale terrestre scheda tv] [http://olikka.110mb.com/library/cardare.htm cardare] [http://forever-your.110mb.com/data/dvd-wireless.htm dvd wireless home theatre] [http://dialed.110mb.com/small/fisher-men/ fisher men] [http://yeeden.110mb.com/data/locale-e/ locale e notte] [http://book-wench.110mb.com/text/julio-iglesias/ julio iglesias se mi lasci non vale] [http://sister-sunshine.110mb.com/html/graf-arturo/ graf arturo] [http://dialed.110mb.com/small/dediche-diari/ dediche diari] [http://slavkamolot.110mb.com/library/ospedali-di/ ospedali di riabilitazione] [http://lazythoughts.110mb.com/lib/leggiadra/ leggiadra] [http://dialed.110mb.com/small/o-zone/ o zone despre] [http://lazythoughts.110mb.com/lib/il-grido/ il grido del silenzio] [http://ultra-creator.110mb.com/articles/dissipatori-socket.htm dissipatori socket 939] [http://dialed.110mb.com/small/cervicale-sintomi/ cervicale sintomi] [http://blue-olusha.110mb.com/library/amatoriale-foggia/ amatoriale foggia] [http://gekijuls.110mb.com/il-dreamcast/ il dreamcast combatte ancora] [http://funk-mastah-ion.110mb.com/data/personaggi-da.htm personaggi da colorare] [http://unremig.110mb.com/fotos-de/ fotos de sexo xxx] [http://yeeden.110mb.com/data/www-selena/ www selena com] [http://stitchesnglue.110mb.com/senza-patria.htm senza patria nomadi] [http://nationavce.110mb.com/view/caraibi-repubblica.htm caraibi repubblica dominicana vacanze] [http://gekijuls.110mb.com/dkny-be/ dkny be delicious] [http://sneezingpops.110mb.com/babbl-babbl/ babbl babbl] [http://unremig.110mb.com/limpopo/ limpopo] [http://slavkamolot.110mb.com/library/rockets/ rockets] [http://olikka.110mb.com/library/zvolen.htm zvolen] [http://sister-sunshine.110mb.com/html/reggueton/ reggueton] [http://dialed.110mb.com/small/zuzana-sramkova/ zuzana sramkova] [http://nationavce.110mb.com/view/copertina-cd.htm copertina cd 111 di tiziano ferro] [http://dialed.110mb.com/small/batamn/ batamn] [http://olikka.110mb.com/library/hotel-playa.htm hotel playa real] [http://forever-your.110mb.com/data/aficio-g.htm aficio g700 gelsprinter] [http://gekijuls.110mb.com/www-whurt/ www whurt it] [http://trouble166.110mb.com/cavaliere-gatto.htm cavaliere gatto] [http://gekijuls.110mb.com/morte-enzo/ morte enzo baldoni] [http://dialed.110mb.com/small/corse-con/ corse con il furgone] [http://funk-mastah-ion.110mb.com/data/hotel-stella.htm hotel stella bianca di taormina] [http://blue-olusha.110mb.com/library/femdom-queening/ femdom queening] [http://blue-olusha.110mb.com/library/batteria-philips/ batteria philips] [http://unremig.110mb.com/network-storage/ network storage link nslu2] [http://sister-sunshine.110mb.com/html/the-bucketheads/ the bucketheads] [http://trouble166.110mb.com/gioco-per.htm gioco per pc di warhammer fantasy] [http://sneezingpops.110mb.com/km-renault/ km0 renault megane benzina auto km 0] [http://sister-sunshine.110mb.com/html/mp-compilation/ mp3 compilation] [http://dialed.110mb.com/small/sd-io/ sd io wireless] [http://dialed.110mb.com/small/www-vernici/ www vernici auto it] [http://trene-von-anty.110mb.com/description/pelle-su.htm pelle su pelle] [http://stitchesnglue.110mb.com/in-altomare.htm in altomare di berte] [http://stitchesnglue.110mb.com/pulizia-stiro.htm pulizia stiro e cucito ariete] [http://yeeden.110mb.com/data/emi/ emi] [http://book-wench.110mb.com/text/gedser/ gedser] [http://book-wench.110mb.com/text/cuscino-pula/ cuscino pula di grano] [http://gekijuls.110mb.com/justin-timberlake/ justin timberlake like i love you video] [http://ultra-creator.110mb.com/articles/fotocamere-digitali.htm fotocamere digitali canon digital ixus] [http://trouble166.110mb.com/fino-alla.htm fino alla fine] [http://lazythoughts.110mb.com/lib/cocktail/ cocktail] [http://lazythoughts.110mb.com/lib/tettone-esplosive/ tettone esplosive] [http://trouble166.110mb.com/sogno.htm sogno] [http://slavkamolot.110mb.com/library/david-gray/ david gray this years love white ladder] [http://trene-von-anty.110mb.com/description/vgf-ap.htm vgf ap1] [http://yeeden.110mb.com/data/kim-sunil/ kim sunil video] [http://stitchesnglue.110mb.com/linkin-park.htm linkin park lyrics] [http://unremig.110mb.com/grabster-terratec/ grabster terratec] [http://slavkamolot.110mb.com/library/coppie-in/ coppie in cam] [http://mouse-zae.110mb.com/no-me.htm no me quiero enamorar en video] [http://sister-sunshine.110mb.com/html/christmas/ christmas] [http://mouse-zae.110mb.com/the-ark.htm the ark ola salo] [http://some-omeelse.110mb.com/data/ricetrasmittente.htm ricetrasmittente] [http://dialed.110mb.com/small/lo-spirito/ lo spirito del signore e sopra di me] [http://unremig.110mb.com/super-mario/ super mario advance] [http://book-wench.110mb.com/text/resorte-com/ resorte com] [http://gekijuls.110mb.com/microsoft-windows/ microsoft windows xp media center] [http://dialed.110mb.com/small/karadavis/ karadavis] [http://ultra-creator.110mb.com/articles/traduzione-maroon.htm traduzione maroon 5] [http://funk-mastah-ion.110mb.com/data/www-comune.htm www comune di gonnesa] [http://some-omeelse.110mb.com/data/bosra-valori.htm bosra valori] [http://trouble166.110mb.com/gps-x.htm gps x nokia] [http://slavkamolot.110mb.com/library/sistema-jbl/ sistema jbl 5 1] [http://trouble166.110mb.com/www-viktor.htm www viktor rolf it] [http://forever-your.110mb.com/data/bonjour-bonjour.htm bonjour bonjour] [http://dialed.110mb.com/small/el-arbolito/ el arbolito] [http://nationavce.110mb.com/view/dvbt-duo.htm dvbt duo pcmcia] [http://forever-your.110mb.com/data/backstreet-boys.htm backstreet boys never gone] [http://book-wench.110mb.com/text/usb-bluethoot/ usb bluethoot wireless] [http://book-wench.110mb.com/text/casetta-giardino/ casetta giardino legno] [http://trene-von-anty.110mb.com/description/evo-it.htm evo8 it] [http://sneezingpops.110mb.com/pelle-ecologica/ pelle ecologica] [http://blue-olusha.110mb.com/library/big-clarence/ big clarence sexy] [http://book-wench.110mb.com/text/ricetta-torte/ ricetta torte senza uova] [http://trene-von-anty.110mb.com/description/eau-de.htm eau de krizia] ==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 27: Line 27:
 
::::*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
 
::::*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  
+
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.
2000
 
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.
 
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.
Line 39: 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 56: 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)

Revision as of 16:26, 25 August 2007

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'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

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

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

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)