lundi 3 novembre 2014

Cannot open header file in Visual Studio 2012


Vote count:

0




I am using Visual Studio 2012 and trying to import header files in the project, but have been failing miserably. Here is what I have tried to do:



#include "gevents.h"
#include "gobjects.h"
#include "gwindow.h"

int main(){

int x=1;

return 0;
}


I have added these three header files in the project location: C:\Users\Shaby\Documents\Visual Studio 2012\Projects\ConsoleApplication39


In addition, I have also gone to Project properties ->Configuration Propertues -> C/C++ ->General and included the above path location in "Additional Include Directories" but this had yielded nothing. Instead, I am getting the following error:


Unable to start program C:\Users\Shaby\Documents\Visual Studio 2012\Projects\ConsoleApplication39\Debug\ConsoleApplication39.exe The system cannot find the file specified



asked 1 min ago







Cannot open header file in Visual Studio 2012

Aucun commentaire:

Enregistrer un commentaire