Compiling FlightGear 1.0.0 with Visual C++.net 2005

        FlightGear 是一款開源的飛行模擬遊戲,噢,他不僅僅是一個遊戲,你還可以在裏面擴展自己的飛行器,驗證氣動模型,使用外部設備把它擴展成自己家的是模擬器, FligthGear在Linux下的編譯相對來說比較方便些,在windows下要自己編譯,就比較麻煩一點了,不過以難不到那去,下面是我整理的一個編譯方法.轉載請註明出處.

            

 

我整理的源碼庫下載:http://download.csdn.net/source/565555

                                  

 

      Compiling FlightGear 1.0.0 with Visual C++.net 2005

Build Tool:
    Visual C++.net 2005 Professional Edition
   

Steps to build FlightGear and fgrun on Windows:   
  1.Unpack source to file system layout:
  
  %FGBUILD%
        |--build
        |       |--3rdParty
        |       |--media
        |       |--FlightGear
        |       |--plib
        |       |--SimGear
        |       |--fgrun-1.0.0
        |       /--fltk-1.1.19
        |
        |--run
        |    /--data
           
            
  2.Unpack project-vc8.zip to %FGBUILD%/build directorie.
  3.Building SimGear and flightGear:
       Open the solution file SimGear/projects/VC8/SimGear.sln and build.
       Open the solution file FlightGear/projects/VC8/FligthGear.sln and build.
  
  4.Building fltk and fgrun:
       Open the solution file fltk-1.1.9/vc2005/fltk.sln and build
       Open the solution file fgrun-1.0.0/fgrun.sln and build
 
  5.publish builded file:
       run  build/publish.bat
 
Running FlightGear:
  1.running %FGBUILD%/build/publish.bat by copy files.
  2.into directorie %FGBUILD%/run and run fgrun.exe

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章