简体   繁体   English

如何安装SFGUI和SFML visual Studio

[英]how to install SFGUI and SFML visual Studio

I trying install SFML and SFGUI on Visual Studio 2010, but i can't install. 我尝试在Visual Studio 2010上安装SFML和SFGUI,但无法安装。 I used Cmake, but it don't work. 我使用了Cmake,但是它不起作用。 With SFML,I install by link to library, SFGUI don't work. 使用SFML,我通过链接安装到库,SFGUI不起作用。

Help me! 帮我!

How to install SFML and SFGUI using Visual Studio 2010 with images??? 如何使用带有图像的Visual Studio 2010安装SFML和SFGUI?

There is a very good guide at the SFML page. SFML页面上有一个很好的指南 Make sure you follow it to the letter. 确保按照字母进行操作。 It's very important you read it first, don't skip steps and download the correct files. 首先阅读它是非常重要的,不要跳过步骤并下载正确的文件。 For 2010 there should be no need to use CMake. 对于2010年,应该不需要使用CMake。 At the time of this post, you only need to build yourself for VS2013. 在撰写本文时,您只需要为VS2013构建自己。

Current (at the time of this post) guides to SFGUI can be found here . 可以在此处找到SFGUI的最新指南(在撰写本文时) Please note that due to the use of C++11 features, only VS2013 is supported. 请注意,由于使用了C ++ 11功能,因此仅支持VS2013。 You can download VS2013 Express for free on the Microsoft site. 您可以在Microsoft网站上免费下载VS2013 Express。

That means if you want to use both SFML and SFGUI, you have to use VS2013 and rebuild SFML from scratch. 这意味着,如果要同时使用SFML和SFGUI,则必须使用VS2013并从头开始重建SFML。 That's easy, if you follow the instructions carefully. 如果您仔细按照说明进行操作,那很容易。 If something fails, reread the instructions. 如果失败,请重新阅读说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM