1
Graphics / Re: undefined reference to `sf::Texture : error : getNativeHandle() const'
« on: May 04, 2017, 06:08:32 pm »Always include the error when you get one. It's not just random text, but explains exactly what is going on. Even if you may not get it, others probably will understand.Upgraded all the libraries (libsfml-graphics2, libsfml-window2, libsfml-system2, libsfml-dev) to their newest versions, but didn't seem to get any noticeable difference in results. We only originally installed the SFML libraries about a month ago or so, so unless getNativeHandle is especially new (or the apt-get .so files are outdated)... do you know if the error could be caused by anything else?
Sounds like you may have updated your header files, but when linking you're still using the older SFML libs where getNativeHandle() didn't exist.
Remove all the the traces of SFML on your system, especially when you installed the official SFML package before and then just re-install your own build of SFML.
(I think 'upgrade' is the equivalent of an uninstall/reinstall. Let me know if you want me to do that manually instead.)