User forums > General (but related to Code::Blocks)
Problem with SFML 2.0 libraries
stahta01:
My build log of the project.
--- Code: ----------------- Build: Debug_shared in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -g -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Debug\main.o
g++.exe -o bin\Debug\testsfml.exe obj\Debug\main.o -lsfml-window.dll -lsfml-graphics.dll -lsfml-system.dll
Output file is bin\Debug\testsfml.exe with size 368.23 KB
-------------- Build: Release_shared in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -O2 -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Release\main.o
g++.exe -o bin\Release\testsfml.exe obj\Release\main.o -s -lsfml-window.dll -lsfml-graphics.dll -lsfml-system.dll -mwindows
Output file is bin\Release\testsfml.exe with size 21.00 KB
-------------- Build: Debug_static in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -g -DSFML_STATIC -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Debug_static\main.o
g++.exe -o bin\Debug_static\testsfml.exe obj\Debug_static\main.o -lsfml-main -lsfml-window-s -lsfml-graphics-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32
Output file is bin\Debug_static\testsfml.exe with size 1.43 MB
-------------- Build: Release_static in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -O2 -DSFML_STATIC -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Release_static\main.o
g++.exe -o bin\Release_static\testsfml.exe obj\Release_static\main.o -lsfml-main -lsfml-window-s -lsfml-graphics-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32 -mwindows
Output file is bin\Release_static\testsfml.exe with size 1.21 MB
Process terminated with status 0 (0 minute(s), 5 second(s))
0 error(s), 0 warning(s) (0 minute(s), 5 second(s))
--- End code ---
Qday:
--- Quote from: stahta01 on July 03, 2024, 04:10:25 am ---My build log of the project.
--- Code: ----------------- Build: Debug_shared in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -g -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Debug\main.o
g++.exe -o bin\Debug\testsfml.exe obj\Debug\main.o -lsfml-window.dll -lsfml-graphics.dll -lsfml-system.dll
Output file is bin\Debug\testsfml.exe with size 368.23 KB
-------------- Build: Release_shared in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -O2 -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Release\main.o
g++.exe -o bin\Release\testsfml.exe obj\Release\main.o -s -lsfml-window.dll -lsfml-graphics.dll -lsfml-system.dll -mwindows
Output file is bin\Release\testsfml.exe with size 21.00 KB
-------------- Build: Debug_static in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -g -DSFML_STATIC -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Debug_static\main.o
g++.exe -o bin\Debug_static\testsfml.exe obj\Debug_static\main.o -lsfml-main -lsfml-window-s -lsfml-graphics-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32
Output file is bin\Debug_static\testsfml.exe with size 1.43 MB
-------------- Build: Release_static in demo_sfml (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -O2 -DSFML_STATIC -c H:\devel\cb_projects\test\testsfml\main.cpp -o obj\Release_static\main.o
g++.exe -o bin\Release_static\testsfml.exe obj\Release_static\main.o -lsfml-main -lsfml-window-s -lsfml-graphics-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32 -mwindows
Output file is bin\Release_static\testsfml.exe with size 1.21 MB
Process terminated with status 0 (0 minute(s), 5 second(s))
0 error(s), 0 warning(s) (0 minute(s), 5 second(s))
--- End code ---
--- End quote ---
Are you unable of teaching ?? U honestly did not help me at all with my problem. Just pointing out how dumb I am. I just wanted to learn how to code and u are the worst person i couldve talked too.
I just istaled VS c++ followed one simple guide and made it all work. Very much not thank you.
stahta01:
Unable to answer questions! I still have no idea what MSys2 environment you are using; but, maybe you have no idea.
So, A help vampire or extreme newbie! Goodbye.
Tim S.
everSome:
If you are still using the ucrt environment of MSYS2, you can get their binary package of SFML via
pacman -S mingw-w64-ucrt-x86_64-sfml
Doing so currently will get you SFML 2.6.1
stahta01:
--- Quote from: everSome on September 07, 2024, 01:10:17 pm ---If you are still using the ucrt environment of MSYS2, you can get their binary package of SFML via
pacman -S mingw-w64-ucrt-x86_64-sfml
Doing so currently will get you SFML 2.6.1
--- End quote ---
That package name is for the UCRT64 environment.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version