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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FlamingBurrito15

Pages: [1]
1
General / Re: Why do I get this error with 'sf::clock' and other sf:: codes
« on: November 24, 2017, 11:39:18 pm »
Something is wrong with your linker settings, you should double check or show them here.

Yeah I just checked my linker settings and nothing is linked. Is there a specific file that I have to link to it?

2
General / Why do I get this error with 'sf::clock' and other sf:: codes
« on: November 24, 2017, 10:25:51 pm »
Hello I have an issue with my code.
sf::Clock clock;
sf::Time elapsed = clock.restart();
i get this error.
Quote
undefined reference to `sf::Clock::Clock()'
Quote
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.

Pages: [1]
anything