用clode blocks编写消息队列用到了sys/ipc. h
报错sys/ipc. h no such files or dir ectory
ipc.h,h前面你加空格了?
是
sys/ipc.h
不是
sys/ipc. h
x86_64-linux-gnu/sys/ipc.h
没有➕空格
sys/ipc 是 linux 下的文件, windows 上是没有的。
无论用 code blocks 还是 Visual Studio 都会有这个错误。
IPC interprocess communication
如果非要用可以用 Visual Studio 2019 试试这个仓库
https://github.com/microsoft/IPC