《C++游戏与图形编程基础》第2版

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011017860/article/details/53926422

部署链接: AGK__Windows__Create__Projects__Help

常见问题

vs2010设置lib/dll包含目录

VS中添加LIb库及头文件(外部依赖项)的步骤
在VS工程中,添加c/c++工程中外部头文件及库的基本步骤:
1、添加头文件目录
工程—属性—配置属性—c/c++—常规—附加包含目录
2、添加lib静态库路径
lib文件目录
工程—属性—配置属性—链接器—常规—附加库目录。
lib文件
工程—属性—配置属性—链接器—输入—附加依赖项。
3、添加dll动态库
把引用的dll放到工程的可执行文件所在的目录下。

AGK Files

The following steps will show you how to set up the necessary files for the project.

NOTE: This section is only necessary if you can’t write to Program Files (x86). If you have admin rights or otherwise have write access to Program Files (x86), you can skip straight to Creating a New Game Project.

  • Open AGK2. If you’ve launched it previously, click on Tools > Install Additional Files. If you haven’t previously launched AGK2, the dialogue should open automatically.
  • In the C++ Libraries box, type or browse for a folder where you have write access (eg. C:\Users[Name]\Documents\AGKLibs\) and click Install. Close AGK.

NOTE: If you want to manually link the include files and libraries, they can be found at these locations:

  • Include Files:
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\common\include\
  • Libraries (VS 2008)
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\Debug\
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\Release\
  • Libraries (VS 2010)
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\VS2010\Debug\
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\VS2010\Release\
  • Libraries (VS 2013)
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\VS2013\Debug\
  • C:\Program Files (x86)\The Game Creators\AGK2\Tier 2\platform\windows\Lib\VS2013\Release\

没有更多推荐了,返回首页