by Angel Leon. March 17, 2015; August 29, 2019.
On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.
With gcc
and llvm
include paths are passed with -I/path/to/includes
, you can pass as many -I
as you need.
In Windows, cl.exe
takes include paths with the following syntax:
/I"c:\path\to\includes\
you can also pass as many as you need.