SFML community forums
Help => General => Topic started by: The Illusionist Mirage on September 12, 2013, 06:15:51 pm
-
Hello friends
I stumbled upon the source for the SFML Game Dev book here (https://github.com/SFML/SFML-Game-Development-Book). I downloaded it and then tried to run the very first program it contains(01_Intro). But when I tried to run it, an unexpected error pops up:
D:\CodeBlocks\SFML 2.0\Projects\sf-GameDev\Ch-1-Intro\main.cpp|5|fatal error: Book/StringHelpers.h: No such file or directory
What is that supposed to mean?
Thanks
(I've set up everything correctly and linked SFML statically, it's working for other projects if I change the code)
-
Have you followed the ReadMe file carefully? We tried to explain every necessary step, please check again and make sure you didn't miss anything. Furthermore, you should not rename the subdirectories ("Ch-1-Intro" is not the original name).
.inl stands for "inline" header, these files are used for the implementation of templates.
-
I didn't rename or edit anything; I just copied all the files in another project and then tried to comile. It's possible I am missing something, so I'll recheck again.
-
I just copied all the files in another project and then tried to comile.
Don't do that. Begin from scratch and follow the instructions in ReadMe.txt. They exist for a reason ;)
-
Thanks you Sir, I am doing exactly that. You were right that I should have read the README before doing anything. :)
-
Now everything's working fine. Thanks sir! :)