Software
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
yoonlives
2007. 9. 5. 10:44
원인
This error occurs if you are using CRT functions that require CRT startup
code. The Release configurations define _ATL_MIN_CRT, which excludes CRT
startup code from your EXE or DLL.
조치
Project Setting 에서 C/C++ 텝 카테고리 General에서 Preprocessor definitions 에서 ATL_MIN_CRT를 제거하면 된다.