How to fix unresolved externals of SDL 2.0.3 on Visual Studio 2015 Preview?
问题 so i'm getting the following errors: 1>SDL2main.lib(SDL_windows_main.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _ShowError 1>SDL2main.lib(SDL_windows_main.obj) : error LNK2019: unresolved external symbol __imp____iob_func referenced in function _ShowError my code is simply: #include <iostream> #include "SDL2\SDL.h" int main(int argc, char* argv[]) { std::cout << "Hello World!" << std::endl; return 0; } i've linked the libraries correctly, and this