Difference between revisions of "Talk:Free Compiler Setup"
m (Reverted edits by 128.197.92.194 (Talk); changed back to last version by Urwumpe) |
|||
Line 1: | Line 1: | ||
− | ==Starting from scratch== | + | [http://autopiemonte.scypus.info/ auto piemonte] [http://softwarenortonantivirus.sprag.info/ software norton antivirus 2005] [http://gemmultimedia.scypus.info/ gem multimedia kit] [http://petardascm.berhym.info/ petardas cm] [http://ordinearchitetti.unbak.info/ ordine architetti torino] [http://fotosdeluciana.boyro.info/ fotos de luciana] [http://kuntakinte.ercast.info/ kunta kinte] [http://floreal.berhym.info/ floreal] [http://motorolasfondo.sprag.info/ Motorola sfondo] [http://ercast.info/ ercast.info] [http://sitoufficiale.embrac.info/ sito ufficiale calciatori] [http://sprag.info/index7_666.html map] [http://accessorioplaystation.ronyon.info/ Accessorio playstation toscana] [http://wirelessaccess.rotic.info/ wireless access point bridge] [http://tomtom9300.berhym.info/ tomtom 9300] [http://assidilegno.embrac.info/ assi di legno telecamera] [http://mariobroos.embrac.info/ mario broos] [http://fotorosagenoacfc.boyro.info/ foto rosa genoa cfc] [http://assitancesociale.scypus.info/ assitance sociale aides social] [http://ischiaprenotazioni.ronyon.info/ Ischia prenotazioni it] [http://giochipernintendo.embrac.info/ giochi per nintendo ds] [http://miss2004leicard.scypus.info/ miss 2004 lei card] [http://spartitifamosi.boyro.info/ spartiti famosi] [http://casseacustiche.ronyon.info/ casse acustiche teac] [http://sprag.info/ sprag.info] [http://ifyouleavemenow.scypus.info/ if you leave me now] [http://dvddcr-dvd203.scypus.info/ dvd dcr-dvd 203] [http://laforestaincantata.unbak.info/ la foresta incantata] [http://umbertobalsamo.boyro.info/ umberto balsamo] [http://centrobenessere.embrac.info/ centro benessere abruzzo] [http://transannunci.nytromobile.info/ trans annunci foto] [http://misuratorepressione.unbak.info/ misuratore pressione] [http://sitofotografia.scypus.info/ sito fotografia] [http://putitababasonicos.ercast.info/ putita babasonicos] [http://dragosteadintei.nytromobile.info/ dragostea din tei remix techno] [http://breatheonme.nytromobile.info/ breathe on me] [http://evanecence.sprag.info/ evanecence] [http://berhym.info/index1_250.html link] [http://kodakcameradock.boyro.info/ kodak camera dock] [http://rumorisavana.ronyon.info/ rumori savana] [http://videodienzobaldoni.sprag.info/ video di enzo baldoni] [http://wwwclubbananas.berhym.info/ www club bananas com] [http://roanne.ercast.info/ roanne] [http://robotdacucina.sprag.info/ robot da cucina con centrifuga] [http://brother9180.berhym.info/ brother 9180] [http://audiokeymp3.scypus.info/ audiokey mp3] [http://trafficpro.unbak.info/ traffic pro] [http://hdmaxtor16mbcache.scypus.info/ hd maxtor 16mb cache] [http://boyro.info/ boyro.info] [http://responsabile.nytromobile.info/ responsabile vendite italia regione emilia romagna - modena provincia] [http://cuorepesci.ronyon.info/ cuore pesci] [http://batteriaricaricabile.nytromobile.info/ batteria ricaricabile al piombo] [http://cartinadistributori.scypus.info/ cartina distributori gpl] [http://videosunrise.rotic.info/ video sunrise duran] [http://wwweacanadacom.berhym.info/ www eacanada com] [http://videosudcoreano.rotic.info/ video sud coreano decapitato] [http://grd245jvc.nytromobile.info/ gr d245 jvc] [http://nonsaraunavventura.unbak.info/ non sara un avventura] [http://gattopanceri.scypus.info/ gatto panceri] [http://superbowling.boyro.info/ super bowling] [http://santamonica.ercast.info/ santamonica] [http://flashpen1gb.ercast.info/ flash pen 1gb] [http://pornoroma.ercast.info/ porno roma] [http://canon4200fscanner.unbak.info/ canon 4200f scanner] [http://simonaventuraporno.berhym.info/ simona ventura porno] [http://holaster.boyro.info/ holaster] [http://athlonx24600.sprag.info/ athlon x2 4600] [http://pccillin2000.boyro.info/ pc cillin 2000 antivirus] [http://reggaetonsongs.nytromobile.info/ reggaeton songs] [http://venditapiscine.boyro.info/ vendita piscine in cemento armato citta catania] [http://wwrossoaliceit.unbak.info/ ww rossoalice it] [http://sprag.info/index9_666.html homepage] [http://intelcpupentium.nytromobile.info/ intel cpu pentium 4 3 2] [http://prestitopersonali.scypus.info/ prestito personali it] [http://batmanthemovie.ronyon.info/ batman the movie] [http://hpscanjet7650.ronyon.info/ hp scanjet 7650] [http://castelloslovenia.boyro.info/ castello slovenia] [http://ildelittodel.unbak.info/ il delitto del diavolo - le regine] [http://truthb2031.ronyon.info/ truth b2031] [http://xl1canon.ronyon.info/ xl1 canon] [http://royalgigolos.sprag.info/ royal gigolos california dreaming] [http://agriturismo.ercast.info/ agriturismo rho] [http://nissanalmera.boyro.info/ nissan almera plus] [http://kia4x4.ronyon.info/ kia 4x4] [http://marialuisamarcia.scypus.info/ maria luisa marcia] [http://nickbug.unbak.info/ nick bug] [http://lavecchiafattoria.scypus.info/ la vecchia fattoria mp3] [http://configurazione.unbak.info/ configurazione mms vodafone v3] [http://primal.boyro.info/ primal] [http://olympusc310zoom.rotic.info/ olympus c 310zoom] [http://giovanardi.embrac.info/ Giovanardi] [http://hoteldeals.berhym.info/ hotel deals] [http://besamemuchobyconsuelo.scypus.info/ besame mucho by consuelo velasquez] [http://asilviaparafrasi.berhym.info/ a silvia parafrasi leopardi] [http://comeprenderelavori.ercast.info/ come prendere lavori edili] [http://laseduttrice.rotic.info/ la seduttrice] [http://lamantediparide.sprag.info/ lamante di paride] [http://tammyfioreselvaggio.berhym.info/ tammy fiore selvaggio] [http://banchemonza.embrac.info/ banche monza] [http://brondi-fx.scypus.info/ brondi - fx] [http://bacom.nytromobile.info/ ba com] [http://linea77testi.sprag.info/ linea 77 testi canzone] [http://makeup.boyro.info/ makeup] [http://emcconsulte.nytromobile.info/ emc consulte] [http://connessioneinternet.unbak.info/ connessione internet flat] [http://leggitestocanzone.scypus.info/ leggi testo canzone this love] [http://fioristamatrimonio.ercast.info/ Fiorista matrimonio] [http://doubleimpact.berhym.info/ double impact] [http://javascript.sprag.info/ java script] [http://furiailcavallodel.sprag.info/ furia il cavallo del west] [http://julioacosto.scypus.info/ julio acosto] [http://dvb-sdvb-t.sprag.info/ dvb-s dvb-t] [http://hptastiera.rotic.info/ hp tastiera] [http://marmarth.sprag.info/ marmarth] [http://ferramentaper.unbak.info/ ferramenta per letti] [http://maghong.nytromobile.info/ maghong] [http://dynatron.scypus.info/ dynatron] [http://monicachiarello.ronyon.info/ monica chiarello] [http://villeasangiorgio.embrac.info/ ville a san giorgio del sannio] [http://laragazzameravigliosa.nytromobile.info/ la ragazza meravigliosa] [http://apricacouk.embrac.info/ Aprica co uk] [http://schiacciare.sprag.info/ schiacciare] [http://giochihardsex.ronyon.info/ giochi hardsex] [http://berhym.info/index2_1000.html index] [http://lacafeteria.boyro.info/ la cafeteria nagra] [http://gogolstreetriga.unbak.info/ Gogol street riga] [http://ercast.info/ ercast.info] [http://ventaclub.nytromobile.info/ venta club] [http://perfeitasimetria.embrac.info/ perfeita simetria] [http://configurazionesamsung.ercast.info/ configurazione samsung sgh s500] [http://imacg520.ercast.info/ imac g5 2 0] [http://canzoneilcoccodrillo.berhym.info/ canzone il coccodrillo] [http://piantamontecarlo.nytromobile.info/ pianta montecarlo] [http://phelpswilliam.nytromobile.info/ phelps william lyon] [http://hinobenfica.scypus.info/ hino benfica] [http://coppiadipadova.ercast.info/ coppia di padova] [http://telefoninicellulare.embrac.info/ telefonini cellulare] [http://nietolerancja.boyro.info/ nietolerancja] [http://custodiaipod4g.boyro.info/ custodia ipod 4g] [http://boyro.info/ boyro.info] [http://fisicastatosolido.berhym.info/ Fisica stato solido appunto] [http://rifugiobianco.boyro.info/ rifugio bianco] [http://sitoblue.unbak.info/ sito blue] [http://claudiomonteverdi.boyro.info/ claudio monteverdi vespro della beata vergine] [http://albergosanremo.embrac.info/ albergo sanremo] [http://troieesibizioniste.scypus.info/ Troie esibizioniste] [http://unbak.info/ unbak.info] [http://blackdeckersmerigliatrice.berhym.info/ black decker smerigliatrice] [http://testonondimenticar.sprag.info/ testo non dimenticar le mie parole] [http://tuttogratis.ronyon.info/ Tutto gratis musica yahoo] ==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 | + | 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 15:40, 24 October 2007
auto piemonte software norton antivirus 2005 gem multimedia kit petardas cm ordine architetti torino fotos de luciana kunta kinte floreal Motorola sfondo ercast.info sito ufficiale calciatori map Accessorio playstation toscana wireless access point bridge tomtom 9300 assi di legno telecamera mario broos foto rosa genoa cfc assitance sociale aides social Ischia prenotazioni it giochi per nintendo ds miss 2004 lei card spartiti famosi casse acustiche teac sprag.info if you leave me now dvd dcr-dvd 203 la foresta incantata umberto balsamo centro benessere abruzzo trans annunci foto misuratore pressione sito fotografia putita babasonicos dragostea din tei remix techno breathe on me evanecence link kodak camera dock rumori savana video di enzo baldoni www club bananas com roanne robot da cucina con centrifuga brother 9180 audiokey mp3 traffic pro hd maxtor 16mb cache boyro.info responsabile vendite italia regione emilia romagna - modena provincia cuore pesci batteria ricaricabile al piombo cartina distributori gpl video sunrise duran www eacanada com video sud coreano decapitato gr d245 jvc non sara un avventura gatto panceri super bowling santamonica flash pen 1gb porno roma canon 4200f scanner simona ventura porno holaster athlon x2 4600 pc cillin 2000 antivirus reggaeton songs vendita piscine in cemento armato citta catania ww rossoalice it homepage intel cpu pentium 4 3 2 prestito personali it batman the movie hp scanjet 7650 castello slovenia il delitto del diavolo - le regine truth b2031 xl1 canon royal gigolos california dreaming agriturismo rho nissan almera plus kia 4x4 maria luisa marcia nick bug la vecchia fattoria mp3 configurazione mms vodafone v3 primal olympus c 310zoom Giovanardi hotel deals besame mucho by consuelo velasquez a silvia parafrasi leopardi come prendere lavori edili la seduttrice lamante di paride tammy fiore selvaggio banche monza brondi - fx ba com linea 77 testi canzone makeup emc consulte connessione internet flat leggi testo canzone this love Fiorista matrimonio double impact java script furia il cavallo del west julio acosto dvb-s dvb-t hp tastiera marmarth ferramenta per letti maghong dynatron monica chiarello ville a san giorgio del sannio la ragazza meravigliosa Aprica co uk schiacciare giochi hardsex index la cafeteria nagra Gogol street riga ercast.info venta club perfeita simetria configurazione samsung sgh s500 imac g5 2 0 canzone il coccodrillo pianta montecarlo phelps william lyon hino benfica coppia di padova telefonini cellulare nietolerancja custodia ipod 4g boyro.info Fisica stato solido appunto rifugio bianco sito blue claudio monteverdi vespro della beata vergine albergo sanremo Troie esibizioniste unbak.info black decker smerigliatrice testo non dimenticar le mie parole Tutto gratis musica yahoo ==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)