[Note] Build your SDL2 Environment in Visual Studio 2013 配置你的SDL2运行环境

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Note] Build your SDL2 Environment in Visual Studio 2013 配置你的SDL2运行环境相关的知识,希望对你有一定的参考价值。

Right key your project in "solution manager(解决方案资源管理器)", choose the "Property(属性)" option.

Then select "VC++ Directionary(VC++ 目录)", and do the following things:

1.Add the path of sdl2‘s include folder to including directionay(包含目录);

2.Add the path of sdl2‘s library folder to library directionay(库目录);

3.Add the path of sdl2‘s binary dll folder to Windows Runtime directionary(Windows运行库目录).

At Last, Select the Linker->Input,

Add SDL2.lib, SDL2_image.lib and so on to Append Rely Objects(附加依赖项).

Attention:

  Apply the settings to Release mode(and other modes) also, not only the Debug mode.

 

以上是关于[Note] Build your SDL2 Environment in Visual Studio 2013 配置你的SDL2运行环境的主要内容,如果未能解决你的问题,请参考以下文章

编译android版本sdl2

Build your own distribution based on Fedora CoreOS

Build your own distribution based on Fedora CoreOS

Build Your own Simplified AngularJS in 200 Lines of JavaScript

POJ3907:Build Your Home——题解

Snap Build Your Own Blocks输入中文解决办法