Problem

X86 or MIPS 로 제작된 project를 CPU ARMV4 추가 후, Link error 발생: 

corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartup

 

Solution

Go into the Project->Settings menu and choose the "Link" tab, then choose"Output" in drop down list. Now add a w to the beginning of WinMainCRTStartup in the "Entry-point symbol" and click OK.This seems to be a bug in EVC4 which doesn't set the entry point to theunicode version correctly.


 

Posted by 싸이on
,