SFML community forums

Help => General => Topic started by: beachcomber on February 21, 2014, 09:42:57 am

Title: Getting Started
Post by: beachcomber on February 21, 2014, 09:42:57 am
Hello, I have recently started studying c++ with CodeBlocks and GCC Compiler on Windows XP and I want now to move on to graphics. So I have downloaded the SDK and followed the instructions in the tutorial. I have opened a new project and copied the code into CodeBlocks, but when I try to compile I get "It seems this project has not been built yet...." dialogue. If I click yes the dialogue just stays there.
Any help would be appreciated.
Title: Re: Getting Started
Post by: Lo-X on February 21, 2014, 10:16:11 am
You should "compile" the lastest build (clone it from github) with CMake, follow the CMake tutorial.
That's the easiest way to get things working, and as a developper it's a good thing to get used to compile the libs you need.
Title: Re: Getting Started
Post by: beachcomber on February 24, 2014, 07:22:55 am
Thanks for that. I have followed the instructions for CMake but when I try to configure I get an error that it can't find CMakeLists.txt. I have searched the SFML folder and there is no such file. I presume that this file should be in the SDK download? Thanks for your help.
Title: Re: Getting Started
Post by: eXpl0it3r on February 24, 2014, 09:05:00 am
The question is, whether you thought to have downloaded the SDK or whether you actually downloaded it. At best you get the source code directly from GitHub (https://github.com/SFML/SFML/archive/master.zip).