0
最近我已經安裝了Visual Studio 2015的SFML。我看了這個特定任務的教程有網站,但在測試後(編譯和運行調試)這個錯誤出現:安裝SFML後Visual Studio 2015錯誤
1>------ Build started: Project: projet game, Configuration: Debug Win32 ------
1> main.cpp
1>MSVCRTD.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "int __cdecl invoke_main(void)" ([email protected]@YAHXZ)
1>C:\Users\Cewein\documents\visual studio 2015\Projects\projet game\Debug\projet game.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
爲什麼和我應該怎麼辦? 我應該重命名我的main.cpp winmain.cpp?
感謝大家的幫助
PS:VS2015是一個主要的驅動器,其中OS是(C :)但SFML的文件夾是另一個驅動器(E :)
[錯誤LNK2019的可能重複:解析外部符號\ _WinMain @函數引用16 \ _ \ _ \ _tmainCRTStartup](https://stackoverflow.com/questions/6626397/error-lnk2019-unresolved-external-symbol-winmain16-referenced-in-function) – N00byEdge