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

Author Topic: Thor problem  (Read 1524 times)

0 Members and 1 Guest are viewing this topic.

catalinnic

  • Newbie
  • *
  • Posts: 19
    • View Profile
Thor problem
« 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?
« Last Edit: January 24, 2019, 12:39:02 pm by catalinnic »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Thor problem
« Reply #1 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything