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

Author Topic: Drawing UTF-8 string extracted from variable/xml with sf::Text  (Read 6765 times)

0 Members and 1 Guest are viewing this topic.

bokoblin

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Drawing UTF-8 string extracted from variable/xml with sf::Text
« Reply #30 on: February 05, 2017, 07:42:43 pm »
I replaced the file using "tar -xzf" instead of unzipping it with z-zip.
I had libxcb-image0 missing, I downloaded it via apt-get and now I have the following error :

../libs/SFML-2.3.2/lib/libsfml-audio.so : référence indéfinie vers « std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20 »
collect2: error: ld returned 1 exit status
make[2]: *** [runner] Erreur 1
make[1]: *** [CMakeFiles/runner.dir/all] Erreur 2
make: *** [all] Erreur 2

I fixed this last issue by updating from gcc-4.8 to gcc-4.9. Compilation succeeded in local  ;D

Still,  I have to fix travis-ci having undefined ref with "udev" (installed udev0 but it needs udev1 that doesn't exist)

bokoblin

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Drawing UTF-8 string extracted from variable/xml with sf::Text
« Reply #31 on: February 05, 2017, 09:32:42 pm »
The issue in Travis-ci comes from SFML which needs libudev.so1 whereas apt-get can only install libudev.so0. I tried symlinking it but it doesn't work. Here is the message :

/usr/bin/ld: warning: libudev.so.1, needed by ../libs/SFML-2.3.2/lib/libsfml-window.so, not found (try using -rpath or -rpath-link)
../libs/SFML-2.3.2/lib/libsfml-window.so: undefined reference to `udev_device_get_action@LIBUDEV_183'
../libs/SFML-2.3.2/lib/libsfml-window.so: undefined reference to `udev_list_entry_get_next@LIBUDEV_183'
[...]
collect2: error: ld returned 1 exit status
make[2]: *** [runner] Error 1
make[1]: *** [CMakeFiles/runner.dir/all] Error 2
make: *** [all] Error 2