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.
Thank you for your answer, i add path for compile my own SFML(libs and include) and when i try co compile i get error "LNK1104 cannot open file 'sfml-window-s-d.lib' client"
When i build INSTALL in visual studio i get error:
MSB3073 The command "setlocal
C:\Users\Sebastian\Desktop\cmake-3.8.0-rc2-win32-x86\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. INSTALL