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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bedda

Pages: [1]
1
General / Try to compile SFML Library (file not found)
« 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.


2
General / Can#t compile SFML files (File not found)
« on: February 01, 2021, 05:48:35 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.


3
General / Error while installing under QTCreator
« on: March 30, 2020, 03:36:54 pm »
Hello
Im new to SFML and C++ und try to Link the Library with QTCreator.
I use this tutorial:
https://github.com/SFML/SFML/wiki/Tutorial%3A-Link-SFML-with-Qt-Creator
the CompilerVersion fix to the  SFML Verion.
But when i try to compile a little test.
QTCreator say this to me:

C:\Qt\5.13.1\mingw73_64\bin\qmake.exe -o Makefile ..\SFML-Test\SFML-Test.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
mingw32-make: *** [Makefile:248: Makefile] Error 258
14:47:27: Der Prozess "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen/Deployment des Projekts SFML-Test (Kit: Desktop Qt 5.13.1 MinGW 64-bit)
Bei der Ausführung von Schritt "Make"

I dont know what to do next...
Please,can you help me ??
Thanks

Pages: [1]
anything