Online PC Builder
EMI
Best Selling - SAHARA LAPTOP
Lenovo Laptops
Reliance WiFi Data Card
Microsoft Office 2007
Board index
LoginLogin User Control PanelUser Control Panel 
  FAQFAQ SearchSearch  
SwamiPC Sahara Scratch Offer

VC++: fatal error C1189: #error : Please use the /MD

C++, VC++, MFC and other flavour of C++ Language

VC++: fatal error C1189: #error : Please use the /MD

Postby cppguru on Mon Apr 16, 2007 11:46 am

Hi,

I got this error when building in VC++

C:\Program Files\DevStudio\VC\MFC\include\afxver_.h(128) : fatal error C1189:
#error : Please use the /MD switch for _AFXDLL builds

Any help?
Last edited by cppguru on Mon Apr 16, 2007 11:53 am, edited 1 time in total.
cppguru
 
Posts: 4
Joined: Mon Apr 16, 2007 11:40 am

Postby SpiritOfIndia on Mon Apr 16, 2007 11:50 am

Try followings
In Project=>Settings=>C/C++=> Project options
1) Add /MD in project settings or
2) Remove _AFXDLL
SpiritOfIndia
 
Posts: 12
Joined: Mon Apr 16, 2007 11:47 am

Postby cppguru on Mon Apr 16, 2007 11:51 am

Try followings
In Project=>Settings=>C/C++=> Project options
1) Add /MD in project settings or
2) Remove _AFXDLL


2nd worked

Thank you man.
cppguru
 
Posts: 4
Joined: Mon Apr 16, 2007 11:40 am


Return to C++ Programming

Who is online

Users browsing this forum: No registered users and 0 guests

phpBB SEO

SAIPL - Career
SwamiPC - Career
International Jobs
Jobs for Fresher
Referral Offer
Microsoft Vista