Getting this error building a C++ project in VS2008. Very confused what it means, why does it think WIN32 is a file?
Getting this error building a C++ project in VS2008. Very confused what it means,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Go to Project–>Properties—>C/C++–>Command line. You most probably have a
/I""before your/D "WIN32". For some reason an empty include directive causes the /D to evaporate hence your error.Go to Project–>Properties–>C/C++–>General–>Additional include directories and make sure there are no redundant chars there.
It can for example arise when the last include directory is a reference to an environement variable that doesn’t exist.