SFML community forums
Help => General => Topic started by: Bedda on February 03, 2021, 04:37:09 pm
-
Hello
I try to compile the SFML Library for my Ubuntu 20.04 System.
first i try it with the QTCreator but a error appeared.
then i try my luck under the terminal with the same result.
i checked the needed libraries but the are all installed.
and this Error was displayed
44%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/CursorImpl.cpp.o
/home/bedda/Document/C++/SFML-files/SFML-master/src/SFML/Window/Unix/CursorImpl.cpp:32:10: fatal error: X11/Xcursor/Xcursor.h: File not found
32 | #include <X11/Xcursor/Xcursor.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
-
Sorry for the double post.
-
what command did you use in the terminal exacly?
are you trying to build from cmake? aren't you trying to use the QTCreator files (you probably have a option for that in cmake)
-
With some of the latest changes on the master branch you also need the dependency libxcursor-dev.