corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
emulatorDbg/PocketSM.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe .
原因及解决:
报错的原因是入口有问题,WinMainCRTStartup在unicode系统上应该是wWinMainCRTStartup。
Project Settings将Link >> Category / Output >> entry-point symbol改为wWinMainCRTStartup
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment