立即注册 登录
搜客社区-搜客网 返回首页

gudandemayi的个人空间 http://www.soke163.com/?9278 [收藏] [复制] [分享] [RSS]

日志

【转】Glest实时策略游戏3.2.2版VisualStudio2003下的编译

已有 1324 次阅读2012-2-3 23:59 |个人分类:以后会用到的| 策略游戏

简介:
  Glest是一个free自由的实时策略游戏,你可以控制两种不同军事派系的军队:技术Tech,主要由战士和机械设备组成;魔法Magic,在战场上更喜欢魔法师和召唤生物。

  Glest不只是一个游戏,也是一个建立策略游戏的引擎,基于XML和工具集。几个模块已经存在。

美图欣赏:


简介:
  Glest是一个free自由的实时策略游戏,你可以控制两种不同军事派系的军队:技术Tech,主要由战士和机械设备组成;魔法Magic,在战场上更喜欢魔法师和召唤生物。

  Glest不只是一个游戏,也是一个建立策略游戏的引擎,基于XML和工具集。几个模块已经存在。

美图欣赏:

  

编译:

  从Glest官方网站(http://glest.org/en/index.php)可下载最新版,当前最新版为3.2.2版。在此是对此版本的编译http://download.csdn.net/source/1522860

  (1)下载源码glest_source_3.2.2.zip和此处提供的VisualStudio2003的项目文件。

  (2)分别解压缩两个文件,将glest_source_322中的文件复制到相应的目录即可。

  (3)编译此项目需要一些依赖库:

     libogg 1.1.3 http://downloads.xiph.org/releases/ogg/libogg-1.1.3.zip

     libvorbis 1.2.0 http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.zip

     xerces 2.8.0 http://labs.xiaonei.com/apache-mirror/xerces/c/2/binaries/xerces-c_2_8_0-x86-windows-vc_7_1.zip

     lua5.1 http://www.lua.org/ftp/lua-5.1.4.tar.gz

  (4)其中deps目录为Glest的windows下的依赖文件,可以从Glest Advanced Engine的SourceForge上的项目可在其中下载。http://glest.codemonger.org/home_page.php其中提供了更多的信息及相应的下载。    

Glest322.sln

Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glest_game", "glest_game\glest_game.vcproj", "{4BBC24BE-9475-4928-9369-97F6085056ED}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "configurator", "configurator\configurator.vcproj", "{20F931CA-702B-4C6C-BCAA-1C9673499F59}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g3d_viewer", "g3d_viewer\g3d_viewer.vcproj", "{8E906845-B7FD-454C-8831-C6E679093DA0}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glest_map_editor", "glest_map_editor\glest_map_editor.vcproj", "{8BD9CD7D-0E34-4149-93D3-699CA7A43945}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
   Debug = Debug
   Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
   {4BBC24BE-9475-4928-9369-97F6085056ED}.Debug.ActiveCfg = Debug|Win32
   {4BBC24BE-9475-4928-9369-97F6085056ED}.Debug.Build.0 = Debug|Win32
   {4BBC24BE-9475-4928-9369-97F6085056ED}.Release.ActiveCfg = Release|Win32
   {4BBC24BE-9475-4928-9369-97F6085056ED}.Release.Build.0 = Release|Win32
   {20F931CA-702B-4C6C-BCAA-1C9673499F59}.Debug.ActiveCfg = Debug|Win32
   {20F931CA-702B-4C6C-BCAA-1C9673499F59}.Debug.Build.0 = Debug|Win32
   {20F931CA-702B-4C6C-BCAA-1C9673499F59}.Release.ActiveCfg = Release|Win32
   {20F931CA-702B-4C6C-BCAA-1C9673499F59}.Release.Build.0 = Release|Win32
   {8E906845-B7FD-454C-8831-C6E679093DA0}.Debug.ActiveCfg = Debug|Win32
   {8E906845-B7FD-454C-8831-C6E679093DA0}.Debug.Build.0 = Debug|Win32
   {8E906845-B7FD-454C-8831-C6E679093DA0}.Release.ActiveCfg = Release|Win32
   {8E906845-B7FD-454C-8831-C6E679093DA0}.Release.Build.0 = Release|Win32
   {8BD9CD7D-0E34-4149-93D3-699CA7A43945}.Debug.ActiveCfg = Debug|Win32
   {8BD9CD7D-0E34-4149-93D3-699CA7A43945}.Debug.Build.0 = Debug|Win32
   {8BD9CD7D-0E34-4149-93D3-699CA7A43945}.Release.ActiveCfg = Release|Win32
   {8BD9CD7D-0E34-4149-93D3-699CA7A43945}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

Glest322.vcproj

<?xml version="1.0" encoding="gb2312"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="Glest322"
ProjectGUID="{768D6E1B-3241-4769-AF02-FF43D883BE22}"
Keyword="Win32Proj">
<Platforms>
   <Platform
    Name="Win32"/>
</Platforms>
<Configurations>
   <Configuration
    Name="Debug|Win32"
    OutputDirectory="Debug"
    IntermediateDirectory="Debug"
    ConfigurationType="1"
    CharacterSet="2">
    <Tool
     Name="VCCLCompilerTool"
     Optimization="0"
     PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
     MinimalRebuild="TRUE"
     BasicRuntimeChecks="3"
     RuntimeLibrary="5"
     UsePrecompiledHeader="0"
     WarningLevel="3"
     Detect64BitPortabilityProblems="TRUE"
     DebugInformationFormat="4"/>
    <Tool
     Name="VCCustomBuildTool"/>
    <Tool
     Name="VCLinkerTool"
     OutputFile="$(OutDir)/Glest322.exe"
     LinkIncremental="2"
     GenerateDebugInformation="TRUE"
     ProgramDatabaseFile="$(OutDir)/Glest322.pdb"
     SubSystem="2"
     TargetMachine="1"/>
    <Tool
     Name="VCMIDLTool"/>
    <Tool
     Name="VCPostBuildEventTool"/>
    <Tool
     Name="VCPreBuildEventTool"/>
    <Tool
     Name="VCPreLinkEventTool"/>
    <Tool
     Name="VCResourceCompilerTool"/>
    <Tool
     Name="VCWebServiceProxyGeneratorTool"/>
    <Tool
     Name="VCXMLDataGeneratorTool"/>
    <Tool
     Name="VCWebDeploymentTool"/>
    <Tool
     Name="VCManagedWrapperGeneratorTool"/>
    <Tool
     Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
   </Configuration>
   <Configuration
    Name="Release|Win32"
    OutputDirectory="Release"
    IntermediateDirectory="Release"
    ConfigurationType="1"
    CharacterSet="2">
    <Tool
     Name="VCCLCompilerTool"
     PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
     RuntimeLibrary="4"
     UsePrecompiledHeader="0"
     WarningLevel="3"
     Detect64BitPortabilityProblems="TRUE"
     DebugInformationFormat="3"/>
    <Tool
     Name="VCCustomBuildTool"/>
    <Tool
     Name="VCLinkerTool"
     OutputFile="$(OutDir)/Glest322.exe"
     LinkIncremental="1"
     GenerateDebugInformation="TRUE"
     SubSystem="2"
     OptimizeReferences="2"
     EnableCOMDATFolding="2"
     TargetMachine="1"/>
    <Tool
     Name="VCMIDLTool"/>
    <Tool
     Name="VCPostBuildEventTool"/>
    <Tool
     Name="VCPreBuildEventTool"/>
    <Tool
     Name="VCPreLinkEventTool"/>
    <Tool
     Name="VCResourceCompilerTool"/>
    <Tool
     Name="VCWebServiceProxyGeneratorTool"/>
    <Tool
     Name="VCXMLDataGeneratorTool"/>
    <Tool
     Name="VCWebDeploymentTool"/>
    <Tool
     Name="VCManagedWrapperGeneratorTool"/>
    <Tool
     Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
   </Configuration>
</Configurations>
<References>
</References>
<Files>
   <Filter
    Name="源文件"
    Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
    UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
   </Filter>
   <Filter
    Name="头文件"
    Filter="h;hpp;hxx;hm;inl;inc;xsd"
    UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
   </Filter>
   <Filter
    Name="资源文件"
    Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
    UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
   </Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>


路过

鸡蛋

鲜花

握手

雷人

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 立即注册

文字版|小黑屋|搜客社区    

GMT+8, 2020-12-4 12:36 , Processed in 0.044503 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

返回顶部