I read the sticky above before making this thread. Feel free to delete this thread if you don't feel it is necessary, but I would not have posted it if I didn't feel it was relevant.
The sticky suggests that the linker/compiler errors are not related to CodeBlocks, and that we should look else where, but this particular problem I believe is related to CodeBlocks.
Originally, I got SFML to work with CodeBlocks. I added the libraries, and everything worked fine.
Now, I decided to do an all new project from scratch, WITHOUT using SFML at all.
I made a simple project with an empty file, and I'm trying to run the simple Hello World program.
This is the linker/compiler error I am getting:
||=== Clean: Debug in some (compiler: GNU GCC Compiler) ===|
||=== Run: Debug in some (compiler: GNU GCC Compiler) ===|
||=== Build: Debug in some (compiler: GNU GCC Compiler) ===|
||=== Build: Debug in some (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lsfml-graphics-s|
ld.exe||cannot find -lfreetype|
ld.exe||cannot find -ljpeg|
ld.exe||cannot find -lsfml-window-s|
ld.exe||cannot find -lsfml-audio-s|
ld.exe||cannot find -lopenal32|
ld.exe||cannot find -lflac|
ld.exe||cannot find -lvorbisenc|
ld.exe||cannot find -lvorbisfile|
ld.exe||cannot find -lvorbis|
ld.exe||cannot find -logg|
ld.exe||cannot find -lsfml-network-s|
ld.exe||cannot find -lsfml-system-s|
||error: ld returned 1 exit status|
||=== Build failed: 14 error(s), 0 warning(s) (0 minute(s), 5 second(s)) ===|
Those are all of the errors I'm getting.
But here is where CodeBlocks comes in:
I have nothing in the linker or compiler settings of the IDE!
Nothing!
It's looking for these SFML libraries, but I have nothing in listed in the Project Build options.
Why is it checking for SMFL libraries when I don't want them, and they are not listed in the linker settings and search directories of the CodeBlocks Project Build options?
Any help would be greatly appreciated.
Thanks.