과학과 기술/프로그래밍

Please use the /MD switch for _AFXDLL build

EXIFEEDI 2014. 11. 11. 10:43
비주얼 스튜디오(Visual Studio)의 에러 리스트(Error List)에서 오류 메시지가 떠 있네요. 실행에는 별다른 영향을 미치지 않았지만, 그래도 Error List에 불쾌한 메시지가 뜨는 걸 보고 싶지는 않습니다.


#error directive: Please use the /MD switch for _AFXDLL build


afxver_.h라는 파일의 전처리기에서 정의된 내용 때문인데요.


Property PageConfiguration PropertiesC/C++Code GenerationRuntime Library 항목에서 값을 /MD로 설정하면 됩니다.