jiangyy 发表于 2014-2-25 19:15:41

vs2010编译FlightGear 2.6.0

官方参考资料:http://wiki.flightgear.org/Building_using_CMake_-_WindowsFlightGear 2.6.0 推出有一段时间。(未完成还在完善中。)可以编译通过,运行内存泄漏供参考编译之前的准备:说明FlightGear 依赖:SimGear(FlightGear引擎)Open Scene Graph 、Boost、Glut (FreeGlut)、OpenAL 、plib库下载第三方库针对vs2010的:3rdParty :ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/里面也有vs2008的供下载(下载后解压,无SimGear)目录结构按照下面同样用cmake生成vs2010的工程文件${MSVC_3RDPARTY_ROOT} /3rdParty /( includes plib, fltk, zlib, libpng, libjpeg, libtiff, freetype, libsvn, gdal, … )bin /include /lib /
3rdParty.x64 /( 64 bit version )bin /include /lib /
boost_1_44_0 /boost /install /msvc100 /( for VS2010 32 bits, or msvc90, msvc90-64 or msvc100-64 for VS2008 32, VS2008 64 and VS2010 64 )OpenSceneGraph /( OSG CMake install )bin /include /lib /
SimGear /include /lib /

首先需要编译SimGearSimGear2.6.0:http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-2.6.0.tar.bz2下载:cmake(用于生成SimGear vs2010工程) :http://www.cmake.org/files/v2.8/cmake-2.8.7-win32-x86.exe把下载出来依赖库按下面的图排好目录结构:
http://farm8.staticflickr.com/7042/6899174404_5a28812609.jpg打开cmake:
http://farm7.staticflickr.com/6036/6883673034_cabf07ac8f.jpghttp://farm8.staticflickr.com/7245/6883672986_ffeda8c82f.jpghttp://farm7.staticflickr.com/6048/6883673094_d67967a231.jpghttp://farm7.staticflickr.com/6043/7029774033_e81b8a1589_z.jpg http://farm8.staticflickr.com/7042/7029774147_e9d726f4d7_z.jpg
cmake生成FlightGear 的工程和SimGear 操作一样http://farm8.staticflickr.com/7259/6883673914_e24fa838a9.jpg

1335545178 发表于 2014-8-7 16:17:16


原来用了P3D是这种效果

Suckhard 发表于 2018-4-1 18:49:10


先回帖,再下载,感谢楼主。。。
页: [1]
查看完整版本: vs2010编译FlightGear 2.6.0