Hello
I try to static link my game and i get error.
I add SFML_STATIC to preprocessor.
In Release:
sfml-window-s.lib
sfml-graphics-s.lib
sfml-audio-s.lib
sfml-network-s.lib
sfml-system-s.lib
sfml-main.lib
opengl32.lib
winmm.lib
gdi32.lib
freetype.lib
jpeg.lib
openal32.lib
flac.lib
vorbisenc.lib
vorbisfile.lib
vorbis.lib
ogg.lib
ws2_32.lib
In Debug:
sfml-window-s-d.lib
sfml-graphics-s-d.lib
sfml-audio-s-d.lib
sfml-network-s-d.lib
sfml-system-s-d.lib
sfml-main-d.lib
opengl32.lib
winmm.lib
gdi32.lib
freetype.lib
jpeg.lib
openal32.lib
flac.lib
vorbisenc.lib
vorbisfile.lib
vorbis.lib
ogg.lib
ws2_32.lib
And when i run compile all is good but when i try to open my game i get error: "Program game.exe stopped working" when i use debug i get error in line when code is:
RenderWindow window(VideoMode::getDesktopMode(), "Game", Style::Default, sett);
And the error is "Unhandled exception at the Location 0x77A2FF33 (Ntdll.dll)"
I use Visual Studio 2017, and i download package Visual C++ 14 (2015) - 32-bit
I really dont know where are problem.