I have a headerpath in ac program that reads
#include <lib/a.h>
#include <lib/b.h>
How do I specify where 'lib' should be in my makefile? It gives me a compile error saying lib/ah is not found. But I know the system path where ah is located. How do I tell my Makefile where to go find lib?
Thanks, Vik.
将参数-I/path/to/include
到编译标志(例如CFLAGS
或CXXFLAGS
),在该编译标志中,路径指向lib
目录的父目录。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.