Cannot open include file: 'unistd.h': No such file or directory的解决办法

简介: Cannot open include file: 'unistd.h': No such file or directory的解决办法

在自己编译的include目录中,添加一个文件unistd.h

内容:


#ifndef _UNISTD_H
#define _UNISTD_H
#include <io.h>
#include <process.h>
#endif /* _UNISTD_H */


#define _UNISTD_H


#include <io.h>

#include <process.h>


#endif /* _UNISTD_H */


两个include是否必要不确定。


如果有其他需要定义的宏,可以直接在这里处理。

目录
相关文章
libfreetype.so.6: cannot open shared object file: No such file or directory
libfreetype.so.6: cannot open shared object file: No such file or directory
583 0
|
机器学习/深度学习 Linux
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
232 0
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
Cannot open include file: 'unistd.h': No such file or directory的解决办法
Cannot open include file: 'unistd.h': No such file or directory的解决办法
744 0
|
8月前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
98 0
指定的 filePath 文件不存在
指定的 filePath 文件不存在
60 2
|
并行计算 TensorFlow 算法框架/工具
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
331 0
|
Windows
Cannot open include file: ‘Windows.h‘: No such file or directory
Cannot open include file: ‘Windows.h‘: No such file or directory
271 0
ibavformat.so.57: cannot open shared object file: No such file or directory
ibavformat.so.57: cannot open shared object file: No such file or directory
164 0
|
并行计算
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
167 0
|
机器学习/深度学习 并行计算 异构计算
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory
libnccl.so.2: cannot open shared object file: No such file or directory
1445 0
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory

热门文章

最新文章