Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error For Attributes.gen #11

Open
JodieAllen opened this issue Aug 9, 2017 · 6 comments
Open

Fatal Error For Attributes.gen #11

JodieAllen opened this issue Aug 9, 2017 · 6 comments

Comments

@JodieAllen
Copy link

hi,
when I make the program , I met the error - fatal error: llvm/IR/Attributes.gen: No such file or directory and I did not find Attributes.gen in my llvm-4.0.1. I've tried llvm-3.2 , but I failed too. So dose this program require a special version of llvm?
Thank you very much!

@sampsyo
Copy link
Owner

sampsyo commented Aug 9, 2017

Hello! I don’t have an obvious diagnosis, but it’s true that the LLVM API does change a lot between versions. You might try using the one that was current when I committed this code. (I should then add a note to the README mentioning that version! Or if there’s a quick fix you can find to bring things up to date, that would be even more awesome.)

@JodieAllen
Copy link
Author

@sampsyo ok, thanks a lot.

@zhangysh1995
Copy link

@sampsyo Just a reminder, please add a README to this repo.

@sampsyo
Copy link
Owner

sampsyo commented Aug 22, 2017

Hmm… @zhangysh1995, there is a README in this repo. If you meant to add a version indicator, that would be a good idea, but I'm depending on you and @JodieAllen to find out which version is the right one to recommend!

@JodieAllen
Copy link
Author

@sampsyo ,@zhangysh1995, It can run on LLVM-3.8.1 and the version of my ubuntu is 16.04.

sampsyo added a commit that referenced this issue Aug 30, 2017
@sampsyo
Copy link
Owner

sampsyo commented Aug 30, 2017

Great; thank you! I've added a note to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants