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

Author Topic: Build 1291 sf::Utf8 error when compiling  (Read 2064 times)

0 Members and 1 Guest are viewing this topic.


  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Build 1291 sf::Utf8 error when compiling
« 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>
I use the latest build of SFML2


  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Build 1291 sf::Utf8 error when compiling
« Reply #1 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:

Laurent Gomila - SFML developer