Unix 运行make时出现致命错误:';ext/stdio_filebuf.h';找不到文件
使用“make”命令编译源代码时,出现以下错误消息Unix 运行make时出现致命错误:';ext/stdio_filebuf.h';找不到文件,unix,Unix,使用“make”命令编译源代码时,出现以下错误消息 /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in src g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT alignment.o -MD -MP -MF .deps/alignment.Tpo -c -o alignment.o alignment.cpp mv -f .deps/alignment
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT alignment.o -MD -MP -MF
.deps/alignment.Tpo -c -o alignment.o alignment.cpp
mv -f .deps/alignment.Tpo .deps/alignment.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT fasta.o -MD -MP -MF
.deps/fasta.Tpo -c -o fasta.o fasta.cpp
In file included from fasta.cpp:1:
./fasta.h:8:10: fatal error: 'ext/stdio_filebuf.h' file not found
#include <ext/stdio_filebuf.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [fasta.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/Library/Developer/CommandLineTools/usr/bin/make all recursive
在src中制作所有
g++-DHAVE_CONFIG_H-I.-I-g-O2-MT校准。o-MD-MP-MF
.deps/alignment.Tpo-c-o alignment.o alignment.cpp
mv-f.deps/alignment.Tpo.deps/alignment.Po
g++-DHAVE_CONFIG_H-I.-I-g-O2-MT-fasta.o-MD-MP-MF
.deps/fasta.Tpo-c-o fasta.o fasta.cpp
在fasta.cpp中包含的文件中:1:
./fasta.h:8:10:致命错误:“找不到ext/stdio_filebuf.h”文件
#包括
^~~~~~~~~~~~~~~~~~~~~
生成1个错误。
生成[2]:***[fasta.o]错误1
生成[1]:***[all recursive]错误1
make:**[全部]错误2
如何解决此问题?请提供您正在编译的源代码。或者您正在从事的项目。您使用的是什么操作系统?