更新时间:2023-11-13 18:14:46
将 -IPathToTheHeaderFiles
添加到编译器选项.所以它会找到要包含的文件.将 PathToTheHeaderFiles 替换为您的文件 ServPaths.h 所在的路径.
Add the -IPathToTheHeaderFiles
to the compiler options. So it will find the files to be included. Replace PathToTheHeaderFiles with the path where your file ServPaths.h resides.
添加尽可能多的 -I
以用于进一步的头文件.
Add as many -I
as you need for further header files.
此外,值得阅读一本关于 C++ 或/和 GCC 手册1
Additionally it would be worth to read a book about C++ or/and the GCC manual1
1 3.11 节会有所帮助.
1 Section 3.11 will help.