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

Difficulties setting up build environment #3

Open
michaeltandy opened this issue Nov 14, 2017 · 2 comments
Open

Difficulties setting up build environment #3

michaeltandy opened this issue Nov 14, 2017 · 2 comments

Comments

@michaeltandy
Copy link

Hello,

I've tried to build this - it looks like a useful tool - but I've had some trouble. On Ubuntu 16.04 despite a successful apt-get install llvm-3.7-dev clang-3.7 libclang-3.7-dev I'm not able to make:-

mtandy@mtandy-desktop:~/Documents/elfs-clang-plugins$ make
g++  `llvm-config-64 --cxxflags` -O2 -g "enums_conversion/enums_conversion.cpp" -o "enums_conversion.o" -c -Wall -Wextra -Wno-unused -Wno-strict-aliasing -Werror
/bin/sh: 1: llvm-config-64: not found
enums_conversion/enums_conversion.cpp:3:51: fatal error: clang/Frontend/FrontendPluginRegistry.h: No such file or directory
compilation terminated.
Makefile:31: recipe for target 'enums_conversion.o' failed
make: *** [enums_conversion.o] Error 1

I can change the makefile to add -I /usr/lib/llvm-3.7/include/ to the g++ command - but that gives me hundreds of errors.

Presumably my environment is misconfigured. Do you think you could provide a travis buildfile or something similar, showing me how it's done?

@michaeltandy
Copy link
Author

I've successfully got a Travis build working - https://travis-ci.org/michaeltandy/elfs-clang-plugins/builds/305555868 - albeit with some warnings. I can open a merge request if you're interested?

@sinelaw
Copy link
Owner

sinelaw commented Oct 29, 2018

@michaeltandy excuse the delay... your issue somehow didn't pop up in my alerts.

I'll be happy for a pull request.

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

Successfully merging a pull request may close this issue.

2 participants