Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ubuntu 上安装 pylibrabbitmq。但amqp.h不在搜索路径中。它在
amqp.h
' /tmp/src/rabbit/rabbitmq-c/librabbitmq'。
/tmp/src/rabbit/rabbitmq-c/librabbitmq
如何将此位置添加到 gcc 搜索路径?
跑
sudo gcc whatever.c -I/dir/*
其中 ampq.h 应该在文件夹中 *