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.


Messages - Bedda

Pages: [1]
1
General / Re: Try to compile SFML Library (file not found)
« on: February 03, 2021, 04:38:12 pm »
Sorry for the double post.

2
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.


3
SFML projects / Re: Jin Conception 2D Pixel Art JRPG
« on: February 03, 2021, 04:33:59 pm »
Oh,its look great.

4
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.


5
General / Re: Error while installing under QTCreator
« on: August 30, 2020, 06:32:45 pm »
For all who have the same problems with SFML under QtCreator (Win)
here is my ***.pro File

My mistake was thaht i make a blank between LC in the Libs += -LC Collum...
Hope i can help...

TEMPLATE = app
CONFIG += console c++14
CONFIG -= app_bundle
CONFIG -= qt
TARGET +=SFML-Test
SOURCES += \
        Game.cpp \
        main.cpp
LIBS += -LC:\Users\Peter\Documents\C++\SFML-2.5.1-32-bit\SFML-2.5.1/lib
LIBS += -LC:\Users\Peter\Documents\C++\SFML-2.5.1-32-bit\SFML-2.5.1/bin
CONFIG(release, debug|release): LIBS += -lsfml-audio -lsfml-graphics -lsfml-main -lsfml-network -lsfml-window -lsfml-system
CONFIG(debug, debug|release): LIBS += -lsfml-audio-d -lsfml-graphics-d -lsfml-main-d -lsfml-network-d -lsfml-window -lsfml-system-d


INCLUDEPATH += C:\Users\Peter\Documents\C++\SFML-2.5.1-32-bit\SFML-2.5.1/include
DEPENDPATH += C:\Users\Peter\Documents\C++\SFML-2.5.1-32-bit\SFML-2.5.1/include

HEADERS += \
    Game.h

6
General / Re: Error while installing under QTCreator
« on: August 30, 2020, 06:09:53 pm »
Problem solved...

7
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]