"Attributes.inc";文件未找到 [英] "Attributes.inc" file not found

查看:551
本文介绍了"Attributes.inc";文件未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用include\llvminclude\llvm-c中提供的标头尝试创建自己的编译器.但是,每当我尝试编译时,都会出现此错误.我的文件中没有llvm/IR/Attributes.inc,也没有看到任何LLVM项目.我收到此错误:

I have been using the headers provided in include\llvm and include\llvm-c to try and make my own compiler. However, whenever I try to compile, I get this error. There is no llvm/IR/Attributes.inc in my files nor any LLVM project I have seen. I get this error:

In file included from ./headers/llvm/IR/Function.h:26:
In file included from ./headers/llvm/IR/Argument.h:19:
./headers/llvm/IR/Attributes.h(74,14):  fatal error: 'llvm/IR/Attributes.inc' file not found
    #include "llvm/IR/Attributes.inc"

这是什么问题?

推荐答案

使install-llvm-headers可能对您有所帮助

make install-llvm-headers may help u

这篇关于"Attributes.inc";文件未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆