Hello I have an issue with my code.
sf::Clock clock;
sf::Time elapsed = clock.restart();
i get this error.
undefined reference to `sf::Clock::Clock()'
undefined reference to `sf::Clock::restart()'
It is also giving me similar error with other "sf::" lines but that might be the clock code causing that.
I am using Code::Blocks with SFML to do this if anyone knows how to fix this please help me.