
December 8th, 2003, 01:34 PM
|
 |
Google Relay Server
|
|
Join Date: Oct 2003
Location: Oh christ I don't even know any more.
|
|
wx is expected to be a subdirectory of any of your include paths. So if your include paths are "/usr/include" and "/usr/local/include", in that order, and you #include <wx/header.h>, then the compiler will first look for "/usr/include/wx/header.h" and then "/usr/local/include/wx/header.h".
It searches for subdirectories like that using the same rules that it does when searching for headers that don't have a path specified, like #include <header.h>.
Also:
Code:
#include <wx/header.h>
Will typically look for "wx/header.h" in your include paths, while:
Code:
#include "wx/header.h"
Will typically look for "wx/header.h" in the directory that the source file is in. That's why people usually put project-specific headers that they write themselves in "" instead of <>.
If you are unsure as to the exact include path where the subdirectory 'wx' lives, then you can just search for it with your favorite file finding tool.
|