Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Prox112

Pages: [1]
1
General / Trying to link SFML library gives error
« on: August 13, 2023, 10:50:35 am »
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.


Pages: [1]
anything