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 - kingkoronov

Pages: [1]
1
I'm trying to learn OpenGL and want to use SFML for window creation, input, texture loading, etc. I've been following the tutorial at https://open.gl/textures to try and get everything to run. When I try to include the SFML.Graphics.hpp header, create an sf::Image and call loadFromFile() on that image, it claims that it is an undefined reference. What's perplexing is that calling other functions on the sf::Image object doesn't crash the program. I would just try a different image library but this seems to be suggesting that something is wrong with my setup, although I can't find anything? Can anyone help narrow down the possibilities of what might be wrong?
undefined reference to `_imp___ZN2sf5Image12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'
 

Pages: [1]