SFML community forums

Help => Graphics => Topic started by: scyth3s on January 29, 2015, 04:17:26 am

Title: Nothing in Graphics module compiles!
Post by: scyth3s on January 29, 2015, 04:17:26 am
So I've been trying to get anything in the graphics module to work (window module works fine), and it just won't happen. I get a window up and running without any issues, but as soon as I even declare a Texture, ImageLoader gives me several errors. Does anyone have a clue what they mean or how to fix them?

The Texture isn't the only thing that causes this. If I change sf::Window to sf::RenderWindow, or try to use much of anything else in the Graphics module, I get the exact same errors, all originating from ImageLoader.cpp
Title: Re: Nothing in Graphics module compiles!
Post by: math1992 on January 29, 2015, 04:55:55 am
A quick look to the error and I would ask :

Did you link the jpeg libs to your project? Because most of them are jpeg related.
Title: Re: Nothing in Graphics module compiles!
Post by: scyth3s on January 29, 2015, 06:32:32 am
So, it turns out I was retarded and linked to "sfml-graphis"

It was my grandma who noticed. :-[