Visual Studio 2012 Include Path/macro redefination
-
Hi I am running VS2012 Windows 8.1 and I have downloaded SDK 7.1 My include path includes VC/ALTMFC for using Microsoft MFC it also includes the include path for the SDK 7.1 I also included the include directory that's in Visual Studio VC since I am using Visual C++ Seems like I need all 3 of these directories to get a clean build Whether I use the above directory or I get a number compile errors macro redefinitions Is there a basic include directory I should be using/ or a preprocessor directive To alleviate these problems Thanks
-
Hi I am running VS2012 Windows 8.1 and I have downloaded SDK 7.1 My include path includes VC/ALTMFC for using Microsoft MFC it also includes the include path for the SDK 7.1 I also included the include directory that's in Visual Studio VC since I am using Visual C++ Seems like I need all 3 of these directories to get a clean build Whether I use the above directory or I get a number compile errors macro redefinitions Is there a basic include directory I should be using/ or a preprocessor directive To alleviate these problems Thanks
In my experience of all versions of Visual Studio, it works 'out of the box'. The installation process normally sets up the links to the correct directories for both compiler and linker. It may be that you have some incorrect settings in your project or header file(s) which causes the errors; although you have not shown us the detail of the errors.
-
In my experience of all versions of Visual Studio, it works 'out of the box'. The installation process normally sets up the links to the correct directories for both compiler and linker. It may be that you have some incorrect settings in your project or header file(s) which causes the errors; although you have not shown us the detail of the errors.
-
Richard I ported this over from VS 2008 and in fact that may be the issue Based on your advice instead adding a existing project to the solution I may do a create new and cut and paste the code in Thanks