|
Re: Can't Get Include Paths to Work in CDT [message #1103475 is a reply to message #1098822] |
Fri, 06 September 2013 21:05 |
|
Change the include to "b2dJson.h". Using the less than and greater than tells the preprocessor to look in the implementation-specific locations for the file;
"ISO Standards - C Language - Sec. 6.10.2 Source file inclusion2. A preprocessing directive of the form
# include <h-char-sequence> new-line
searches a sequence of implementation-defined places for a header identified uniquely by the specified sequence between the < and > delimiters, and causes the replacement of that directive by the entire contents of the header.
When you want to include your own header, you must use the double quotes. Next time type the #include " then hold down CTRL and press the space key. This will use the code-completion feature which in the case of a #include directive will present you a list of all the header files the compiler can find using the particular directive form (double quote versus brackets). Hope that helps.
SenseiC bows out.
|
|
|
Powered by
FUDForum. Page generated in 0.04834 seconds