SFML community forums

Help => General => Topic started by: catalinnic on January 24, 2019, 12:29:34 pm

Title: Thor problem
Post by: catalinnic on January 24, 2019, 12:29:34 pm
in want to use thor for big images and textures but when i use:
hd_texture.loadFromFile("resources/map2.png");
I get:
undefined reference to `thor::BigTexture::loadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Can someone help me?
Title: Re: Thor problem
Post by: eXpl0it3r on January 24, 2019, 01:36:52 pm
You need to rebuild Thor with the same compiler flags as you compiled SFML with or the other way around, they just have to be consistent. Especially if you used -std=c++11