S
Susan Baker
Hi,
I am (trying) to compile some code I downloaded from the internet. The
sources contain references to header files - using the form :
#include <pathname/file>
If I change the form to this:
#include "pathname/file"
The file can be compiled. The only problem is that I do not want to edit
the original source files as above, I just want to set up the search
path (like you do by specifying with -I option when compiling with gcc ).
I have gone to the project properties (C/C++->General->Additional
Include) and set this to pathname - still no joy.
I need to know how to set up VC++ so that I can add pathname to my
search path, so that I can automatically compile code containing
preprocesser directives like:
#include <pathname/filename.h> // <- Note angled brackets
Any help wil be much appreciated. Thanks
I am (trying) to compile some code I downloaded from the internet. The
sources contain references to header files - using the form :
#include <pathname/file>
If I change the form to this:
#include "pathname/file"
The file can be compiled. The only problem is that I do not want to edit
the original source files as above, I just want to set up the search
path (like you do by specifying with -I option when compiling with gcc ).
I have gone to the project properties (C/C++->General->Additional
Include) and set this to pathname - still no joy.
I need to know how to set up VC++ so that I can add pathname to my
search path, so that I can automatically compile code containing
preprocesser directives like:
#include <pathname/filename.h> // <- Note angled brackets
Any help wil be much appreciated. Thanks