Using Windows 11, CLion with CMake, trying to use SFML 2.6 "GCC 13.1.0 MinGW (SEH) - 64-bit"
I also have MinGW installed on my drive.
In CMake, I've done it as a forum post here suggested:
set(SFML_DIR ".../NBPCPP/include/SFML-2.6.0/lib/cmake/SFML")
find_package(SFML COMPONENTS graphics window REQUIRED)
target_link_libraries(NBPCPP sfml-graphics sfml-window)
I have SFML, just as I downloaded it from the download page (but extracted), in my "include" folder.
I have tried running a simple script I got from GeeksForGeeks, just to test out if it works, and I get this:
Process finished with exit code -1073741515 (0xC0000135)
According to other forum posts here and google, this seems to be a dll related issue, but I can't pinpoint what it is.