SFML community forums
Help => General => Topic started by: darthgernot on September 17, 2013, 07:48:38 pm
-
Hi guys;)
First my english is bad because i am just a student from Austria.
I dunno if i am here right but i try it :D
I bought the book "SFML Game Development" and now i stuck. I load the folder with the dates and i dunno o.O
I am at the end of capitel 1. I used Visual Studio and Static libaries but i dunno what is Cmake? and should i use it? What makes it? how should i use it? i have no plan i dont understand the tutorial...
greats
Gernot
-
Welcome to the SFML forum! :)
I'd like to help, but I guess due to translation difficulties, I don't understand what your problem is.
If you're having a hard time understanding the official SFML tutorials (http://www.sfml-dev.org/tutorials/2.1/) or the book, then things will be quite hard.
If your question is mainly about setting things up then you can read the official tutorial on how to work with Visual Studio (http://www.sfml-dev.org/tutorials/2.1/start-vc.php). CMake is a tool with which you can write one build file and generate make or project files for a number of compilers on different platforms. The books makes use of it to simplify things. It's a very useful tool and you should learn about it, but you can also create projects manually, add the source files and add linking information.
Overall you have to keep in mind though that the book requires you to have solid understanding in C++ which also includes working with your choosen IDE (i.e. Visual Studio). If you're lacking in those areas you should go and read a good book (http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list) on C++.
Also since you're from Austria you could pay the German SFML community (http://www.sfml-dev.de/) a visit. It doesn't have a high population, but it might still be easier for you.
-
Oh no i havnt that problem do understand the book or the tutorials but dont get it with this cmake. And C++ isnt my problem too because we learned it in the school and if i have a little problem i can ask my teacher.
Ok my problem is just CMake i dont get it.
what should i do with this programm? where and what should i fill in there? btw i have visual studio 2012 and windows 8 if this make a difference
-
Welcome!
If you're using Visual Studio 2012 you shouldn't need to use CMake. There's already a download of SFML for it. I use VS 2012 and I just used the download for VS 2012 and ignored CMake.
-
Take a look at the official ReadMe.txt (https://github.com/SFML/SFML-Game-Development-Book/blob/master/ReadMe.txt) which is supplied with the code of the book. Make sure you follow it step by step and you understand everything; otherwise ask again.