Of course, I had put SFML_STATIC only in the debugger. Now it's ok.
Thank you!
Just one more thing:
In order to not generate the console screen in the release version, under "
Linker-> System-> Subsystem", I switched from "
Console (/ SUBSYSTEM: CONSOLE)" to "
Windows (/ SUBSYSTEM: WINDOWS)".
But with this latter option, it generates this error when compiling:
1>------ Build started: Project: teste, Configuration: Release x64 ------
1>MSVCRT.lib(exe_winmain.obj) : error LNK2001: unresolved external symbol WinMain
1>C:\Users\Rogerio\Desktop\c++\Visual Studio\teste\x64\Release\teste.exe : fatal error LNK1120: 1 unresolved externals
1>Done building project "teste.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
How to solve this?