LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrtd.lib

이런 에러가 나온건.. CRT때문이라고 그러는데.. ATL이나 MFC를 사용하게되면
msvcrtd에서 이미 선언되었기때문에 그런거란다…

해결방법은 간단하다…
Project Setting에가서 Link탭에 Input으로 가면 ignore에가서
LIBCMT.lib만 넣어주면된다…

자세한건.. msdn에서 link2001로 쳐보면..안다…

—————————————————————————-
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrtd.lib

Leave a Reply

Your email address will not be published. Required fields are marked *