码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-06-06 23:19:01      阅读:359      评论:0      收藏:0      [点我收藏+]

标签:

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运行环境

标签:

原文地址:http://www.cnblogs.com/maikaze/p/5565392.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!