1>WinMain.obj : error LNK2019: unresolved external symbol [email protected]4 referenced in function [email protected]16 2>WinMain.obj : error LNK2019: unresolved external symbol [email protected]4 referenced in function [email protected]16 3>WinMain.obj : error LNK2019: unresolved external symbol [email protected]16 referenced in function [email protected]16 4>WinMain.obj : error LNK2019: unresolved external symbol [email protected]4 referenced in function [email protected]16 5>WinMain.obj : error LNK2019: unresolved external symbol [email protected]8 referenced in function [email protected]16
错误在linker中 加入依赖项,解决办法是在程序头加入两行:
#pragma comment(lib,"user32.lib") #pragma comment(lib,"gdi32.lib")
错误之unresolved external symbol,布布扣,bubuko.com
时间: 2024-10-28 04:39:16