프로그램
IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds
(주)CKBcorp.,
2012. 2. 21. 18:48
반응형
Visual Studio 에서, C++ 로 프로그램을 만들 때 이러한 에러가 나올 때가 있다.
IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds
뒤저보니, 버그라는군.
이하의 설명대로 따라하면 된다.
http://connect.microsoft.com/VisualStudio/feedback/details/549119/intellisense-error-on-build-solution
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.
주의할 것은 메뉴의 properties 를 누르면 안되고, 반드시 project ( Solution 하위의 ) 에서 2.번을 실행할 것.
이걸 몰라서 메뉴를 한참 뒤지는 뻘짓을 했음.
반응형