SFML community forums

Help => General => Topic started by: The Illusionist Mirage on September 12, 2013, 06:15:51 pm

Title: [Solved]What does .inl stand for?
Post 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)
Title: Re: What does .inl stand for?
Post by: Nexus on September 12, 2013, 06:26:16 pm
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.
Title: Re: What does .inl stand for?
Post by: The Illusionist Mirage on September 12, 2013, 06:29:01 pm
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.
Title: Re: What does .inl stand for?
Post by: Nexus on September 12, 2013, 06:30:06 pm
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 ;)
Title: Re: What does .inl stand for?
Post by: The Illusionist Mirage on September 12, 2013, 06:34:29 pm
Thanks you Sir, I am doing exactly that. You were right that I should have read the README before doing anything.  :)
Title: Re: What does .inl stand for?
Post by: The Illusionist Mirage on September 12, 2013, 07:24:54 pm
Now everything's working fine. Thanks sir! :)