SFML community forums

Help => Window => Topic started by: OniLinkPlus on November 27, 2009, 08:10:46 am

Title: Build 1291 sf::Utf8 error when compiling
Post by: OniLinkPlus on November 27, 2009, 08:10:46 am
Linux/WindowImplX11.cpp: In member function ‘bool sf::priv::WindowImplX11::ProcessEvent(XEvent)’:
Linux/WindowImplX11.cpp:702: error: ‘Utf8’ has not been declared

I get that when I try to compile the latest build on Linux. I ran make clean then make sfml, and it fails to compile libsfml-window.so with that error.

Fixed by replacing this line:
#include <SFML/System/Unicode.hpp>
with this line:
#include <SFML/System/Utf.hpp>
Title: Build 1291 sf::Utf8 error when compiling
Post by: Laurent on November 27, 2009, 08:44:13 am
That's what happens when I'm too lazy to reboot on Linux to make a simple modification :lol:

Thanks.