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 - eyad salah

Pages: [1]
1
General / I can't use sfml library with Cmake
« on: January 02, 2024, 06:51:20 am »
I cannot use "SFML" library and I do not understand what is meant by the cmake template. They treat me as if I have been studying programming for 20 years.


2
Window / sfml app issue
« on: December 30, 2023, 09:35:20 am »
what should I do at this point as represented at the picture bilow


3
General / compiling main.o issue
« on: December 30, 2023, 08:46:41 am »
when I try to compile a main.o file by typing this long command g++ main.o -o sfml-app -L"C:\Users\SALAH AHMAD\Desktop\إياد\sfml folder\SFML-2.6.1\lib" -lsfml-graphics -lsfml-window -lsfml-system
I receive this output main.o:main.cpp:(.text+0x7c): undefined reference to
`_imp___ZN2sf6StringC1EPKcRKSt6locale'
main.o:main.cpp:(.text+0xa2): undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
main.o:main.cpp:(.text+0xde): undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
main.o:main.cpp:(.text+0x115): undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'
main.o:main.cpp:(.text+0x126): undefined reference to `_imp___ZN2sf5Color5GreenE'
main.o:main.cpp:(.text+0x130): undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'
main.o:main.cpp:(.text+0x142): undefined reference to `_imp___ZNK2sf10WindowBase6isOpenEv'
main.o:main.cpp:(.text+0x162): undefined reference to `_imp___ZN2sf10WindowBase9pollEventERNS_5EventE'
main.o:main.cpp:(.text+0x182): undefined reference to `_imp___ZN2sf6Window5closeEv'
main.o:main.cpp:(.text+0x1af): undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
main.o:main.cpp:(.text+0x1ca): undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'
main.o:main.cpp:(.text+0x1dd): undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'
main.o:main.cpp:(.text+0x1f1): undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'
main.o:main.cpp:(.text+0x203): undefined reference to `_imp___ZN2sf6Window7displayEv'
main.o:main.cpp:(.text+0x229): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
main.o:main.cpp:(.text+0x273): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0xa): undefined reference to `_imp___ZTVN2sf11CircleShapeE'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x17): undefined reference to `_imp___ZTVN2sf11CircleShapeE'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x2a): undefined reference to `_imp___ZN2sf5ShapeD2Ev'
collect2.exe: error: ld returned 1 exit status
what should I do ?

4
General / don't talk to me like that
« on: December 29, 2023, 07:17:01 pm »
ddon't talk to me like that you know I didn't mean any harm and I am new here so I can't use this forum

5
General / Re: sfml installation path
« on: December 29, 2023, 06:49:51 pm »
my os is windows 10

6
General / sfml installation path
« on: December 29, 2023, 06:09:49 pm »
I want to know how to install SFML into standard path so when I compile the main.cpp I don't have to show the compiler the header file path

Pages: [1]