Hi
I used MinGW with SFML without a problem for months now, however I added a library that require std::threads so I had to change to MinGW-W64.
Tried to recompile everything and reconfigure the enviornment, but everything got messed up and broken.
I think I'm fairly confused about whats going on, probably because my noob experience with cmake.
I would like to start from scratch, lets say from a simple hello world for SFML using MinGW-W64 (which is configured in my PATH and I can run a cout << "Hello World" with it).
Here are my questions:
1. First a general question, if I compile SFML myself, do I still need the windows DLL files (sfml-system-2.dll etc...) to be inside my executable folder? I would rather everything go inside one .exe file.
2. After I build SFML (I successfully built it to \program files...\SFML) how should I integrate it to my project CMakeLists file ? I tried all sort of things (find_package, add_subdirectory...) nothing works.
3. Can I instead just build SFML with my project? I tried adding SFML git source to my project in directory lib/SFML-2.5.1/ and in my project cmake file write add_subdirectory(...) to that directory. The hello world build but he ask for the DLL files. I also tried retrieving the DLL files and adding them to the executable directory using file(COPY...) command, and it does copy the file but my hello world program complains it does not find the DLL files (altough they are on the same directrory!)
I'm really sorry for the noob questions, but I've invested the past couple of months developing my software which uses SFML and not nothing works and i'm wasting hours on that...
Thank you !