首页 > 其他 > 详细

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

时间:2016-06-06 23:16:53      阅读:269      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!