Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 统计文本分析、语言建模和信息检索程序-彩虹_C_Compiler Errors_Classification_Text Analysis_Language Model - Fatal编程技术网

C 统计文本分析、语言建模和信息检索程序-彩虹

C 统计文本分析、语言建模和信息检索程序-彩虹,c,compiler-errors,classification,text-analysis,language-model,C,Compiler Errors,Classification,Text Analysis,Language Model,我试图使用Rainbow()库来解决一个简单的问题,但是我无法编译Rainbow.c文件 错误是 error: expected "FILENAME" or <FILENAME> #include “bow/libbow.h” ^ ./rainbow.c:23:10: fatal error: 'argp.h' file not found #include <argp.h> ^ 2 errors generated. 错

我试图使用Rainbow()库来解决一个简单的问题,但是我无法编译Rainbow.c文件

错误是

error: expected "FILENAME" or <FILENAME>

#include “bow/libbow.h”

         ^

./rainbow.c:23:10: fatal error: 'argp.h' file not found

#include <argp.h>

         ^

2 errors generated.
错误:应为“文件名”或
#包括“bow/libbow.h”
^
./rainbow.c:23:10:致命错误:“argp.h”文件未找到
#包括
^
产生2个错误。
是否有任何方法可以避免生成可工作的编译文件

这是在-

*

错误:“bow/libbow.h”文件未与include一起找到;
用“引号”代替
#包括
^~~~~~~~~~~~~~
“bow/libbow.h”
在包含于./rainbow.c:22的文件中:
./bow/libbow.h:40:10:致命错误:“未找到malloc.h”文件
#包括/*用于malloc()和朋友*/
^
*


如果可能的话,请花几分钟来帮助我,因为我需要这个软件包来提交我选择的项目问题。

你编辑过rainbow.c文件吗?看起来第22行有#include行。您应该阅读并注意,尖括号搜索标准包含路径(可以修改)上的文件。您可能需要进行一些安装。查看自述文件,确保您已按照安装说明进行了操作。
我下载了你链接的bow包,并查看了里面。有一个rainbow.c(显然您正试图编译它。请阅读随附的自述文件,并按照其中包含的编译/安装说明进行操作。

。只有后者有效。
不是标准标题;请使用
。您似乎正在尝试(编写?/compile?)一个C程序,编译器在定位你的#include'd库时遇到问题。你正在运行什么操作系统,安装了什么开发工具?你编辑过rainbow.C文件吗?看起来第22行有#include行。你应该读一读,谢谢大家;@melpomene解决了这个问题
error: 'bow/libbow.h' file not found with <angled> include;
      use "quotes" instead
#include <bow/libbow.h>
         ^~~~~~~~~~~~~~
         "bow/libbow.h"
In file included from ./rainbow.c:22:
./bow/libbow.h:40:10: fatal error: 'malloc.h' file not found
#include <malloc.h>             /* for malloc() and friends. */
         ^