I've uploaded a video of the SFML setup process. This is
not related to my last attempt (
LINK)
I followed
SFML and Code::Blocks (MinGW) tutorial this time. It ended with an
exit code 5.
The only reason I made the video is because I wasn't sure what kind of problem I'd run into this time. It's not often that I configure a new SFML installation but each time is different. I know my delete / unzip situation was probably silly, but let me know if I've done anything else stupid or if I've forgot any steps.
EDIT : Added new video, plus the build and debug logs.
-------------- Build: Debug in SFML (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -g -std=c++14 -IC:\SFML\2.5.1\include\ -IC:\SFML\2.5.1 -c C:\SFML\2.5.1\src\main.cpp -o obj\Debug\src\main.o
g++.exe -LC:\SFML\2.5.1\lib\ -LC:\SFML\2.5.1\lib\ -o bin\Debug\SFML.exe obj\Debug\src\main.o lib\libsfml-graphics-d.a lib\libsfml-window-d.a lib\libsfml-system-d.a lib\libsfml-audio-d.a C:\Windows\System32\OpenAL32.dll
collect2.exe: error: ld returned 5 exit status
Process terminated with status 1 (0 minute(s), 12 second(s))
1 error(s), 0 warning(s) (0 minute(s), 12 second(s))
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\SFML\2.5.1\
Adding source dir: C:\SFML\2.5.1\
Adding file: C:\SFML\2.5.1\bin\Debug\SFML.exe
Changing directory to: C:/SFML/2.5.1/.
Set variable: PATH=.;C:\SFML\2.5.1\lib\;C:\TDM-GCC-64\bin;C:\TDM-GCC-64;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\RGL\lib;C:\Program Files\ImageMagick-7.1.0-Q16-HDRI;C:\Program Files (x86)\CMake\bin;C:\Users\kainn\AppData\Local\Microsoft\WindowsApps;C:\SFML\2.5.1\bin;C:\Ruby30-x64\bin;C:\cmake-3.22.1;C:\Program Files\CodeBlocks\MinGW\bin;C:\GCC\mingw32\bin
Starting debugger: C:\Program Files\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet -args C:/SFML/2.5.1/bin/Debug/SFML.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
SIDE-NOTE: While recording the video I discovered the forum's search function no longer works. Could just be me. Discord has never worked either (global) otherwise I'd be asking for help there. Thanks for understanding.