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

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

0 Members and 1 Guest are viewing this topic.

OniLinkPlus

  • 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • 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:

Thanks.
Laurent Gomila - SFML developer