所以我收到以下错误:
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
我的代码是简单的:
#include <iostream> #include "SDL2\SDL.h" int main(int argc,char* argv[]) { std::cout << "Hello World!" << std::endl; return 0; }
我已经正确连接了这些库,而且在vs2012中这样工作正常,但由于某些原因,在vs2015中将无法编译.