본문 바로가기

Eureka/Compile Error

[Solution] MFC error afxver_.h 81Line in Visual Studio

<Error>

1 IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxver_.h 81



<Solution>

해결 방법은 간단하다.

1. 우선 Solution Explorer를 열고 프로젝트에서 마우스 우클릭 후 Properties를 선택한다.







2. Property Pages 창이 뜨면 Configurration Properties -> C/C++ -> Code Generation -> Runtime Library에서 Multi-threaded Debug DLL (/MDd)를 선택후 확인 하면 된다.