Opening SFML window gives memory read error

后端 未结 2 1273
温柔的废话
温柔的废话 2021-01-28 21:14

I\'m trying to open a SFML window, but every time it is launched it says \"Access violation reading location: 0xCCCCCCC0.\" The error is occuring in the init() method. Relevant

2条回答
  •  情深已故
    2021-01-28 21:42

    Fixed it!

    Turns out under the C++ pre-processor I set the definition to SFML_STATIC instead of SFML_DYNAMIC

提交回复
热议问题