Greetings all. A while back, I came here trying SFML as my first library, and had extensive troubles getting it to work (dynamically), but finally got it with help. Then , I tried it using a new computer, and it doesn't work anymore.
I am using Code::Blocks with MinGW.
I made a new, empty project.
I went to project > properties, then set it to a GUI application for both debug and release.
I went to project > build options, search directories, and added the SFML/include folder for compiler, andlib for linker.
I went to other linker options, and had -lsfml-window, -lsfml-graphics, -lsfml-system. Although, I got the same results linking the respective libraries in that order the other way, both tried seperately.
I put those dlls (window, graphics, and system) - the plain .a versions of the libraries, as I was doing it dynamically.
Made some test code, included the libraries, with system first and the others following (I switched them to see if that was the problem but it wasn't). At first I screwed up but then I recalled you need the .hpp. Hrm.
I ran it, and get this error: The program cannot start because sfml-graphics-2.dll is missing. Try reinstalling...
etc. Anyhow, far as I know, backed up by searching in /lib, such a library does not exists. I tried removing the #include for the graphics mudle, and it jumped to system, so it does not seem to be a specific one. It seems as though it is quite similar to the problem whenyou don'tput the libraries next to the .exe, but I did. (In bin/debug/ , I think.)
Any ideas how to fix this? I feel like it is simple, but cannot find an answer. Searching the internet seemed to mention something about this occuring because you weren't using the debug libraries, but experimentation with this also proved to be inconclusive. They also mentioned Visual, so mabye that is why.
Can anybody offer me some guidance on how to fix this?