Hi all, it feels like forever since I last posted here.
Anyways, I've recently purchased SFML Game Development and I have to say, it's really helpful and interesting to follow.
I've been trying to write down all the code in each chapter (with the assistance of the github source code) and it's been going well until a few hours ago.
I just finished Chapter 5 and, while it was a bit complicated to follow, I believe I got the gist of it...
After I read through the last pages of the chapter and wrote down all the code, I was faced with ~45 errors like this one:
obj\Debug\Application.o||In function `ZN11ApplicationC2Ev':|
D:\SFML projects\Book_PartV\Application.cpp|19|undefined reference to `State::Context::Context(sf::RenderWindow&, ResourceHolder<sf::Texture, Textures::ID>&, ResourceHolder<sf::Font, Fonts::ID>&, Player&)'|
All of these errors are inside Application.cpp.
Full error log can be seen here:
http://pastebin.com/vEsPtA1DI've noticed that the errors are connected to class State and it's struct Context...and I've compared both State.cpp and State.hpp with the ones on github several times.
I've been searching for the problem for at least an hour and I couldn't find anything.
If anyone wants the sources, I'll upload them on Pastebin.
Everything is written on a clean installation of Code::Blocks and compiled on MinGW and GCC 4.9.2 on Windows 8.1.