Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Solved]What does .inl stand for?  (Read 2792 times)

0 Members and 1 Guest are viewing this topic.

The Illusionist Mirage

  • Full Member
  • ***
  • Posts: 115
  • My Life = Linux, C++ & Computers
    • View Profile
    • fleptic
    • Email
[Solved]What does .inl stand for?
« on: September 12, 2013, 06:15:51 pm »
Hello friends

I stumbled upon the source for the SFML Game Dev book here. 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)
« Last Edit: September 12, 2013, 07:25:09 pm by The illusionist mirage »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: What does .inl stand for?
« Reply #1 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.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

The Illusionist Mirage

  • Full Member
  • ***
  • Posts: 115
  • My Life = Linux, C++ & Computers
    • View Profile
    • fleptic
    • Email
Re: What does .inl stand for?
« Reply #2 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: What does .inl stand for?
« Reply #3 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 ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

The Illusionist Mirage

  • Full Member
  • ***
  • Posts: 115
  • My Life = Linux, C++ & Computers
    • View Profile
    • fleptic
    • Email
Re: What does .inl stand for?
« Reply #4 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.  :)

The Illusionist Mirage

  • Full Member
  • ***
  • Posts: 115
  • My Life = Linux, C++ & Computers
    • View Profile
    • fleptic
    • Email
Re: What does .inl stand for?
« Reply #5 on: September 12, 2013, 07:24:54 pm »
Now everything's working fine. Thanks sir! :)