Please use the /MD switch for _AFXDLL builds
에러내용 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
코드 #if defined(_AFXDLL) && !defined(_DLL) #error Please use the /MD switch for _AFXDLL builds #endif
해결방법 1. Right-click the Project. 2. Go to Config Properties->C/C++-> Code Gen ->. Double-click "Runtime Library" and set to "Multi-threaded Debug DLL (/MDd)" . If this value already appears to be set, make sure it is by selecting it again (it should then appear as bold). 3. Click OK. => 프로젝트속성 > c,c++ > code gen > Runtime library-Multi Debug DLL (BOLD) //다른옵션 선택후 다시 선택. |
http://blog.naver.com/PostView.nhn?blogId=crazywlsgur&logNo=70100145542