出现undefined reference to 'WinMain@16'的可能情况undefined reference to ‘WinMain@16’ 意思为提示找不到 WinMain 函数,有几种可能: 1.int main() 写成了 int mian() ,即找不到函数。