cmake -G"NMake Makefiles" && nmake 中出現了以下這個RC資源編譯器報告的錯誤:
invalid language id when compiling version.rc.res
SDL的論壇中也有人遇到這個問題了,但是死活沒人回復解決:
https://forums.libsdl.org/viewtopic.php?t=12153
於是乎就不用CMake了,直接用SDL提供的VS2008的工程,用VS2013打開,直接點build,過程完美,好無錯誤。
references:
https://www.libsdl.org/tmp/SDL/VisualC.html