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

Cannot build tutorial 3. #28

Open
AndreasGe0 opened this issue Jun 14, 2016 · 0 comments
Open

Cannot build tutorial 3. #28

AndreasGe0 opened this issue Jun 14, 2016 · 0 comments

Comments

@AndreasGe0
Copy link

Hello,

After following your tutorial I cannot build tutorial 3. It keeps giving me an error on line 85:
invalid initialization of reference of type ‘const clang::PCHContainerReader&’ from expression of type ‘clang::FrontendOptions’
frontendOptions);

I am compiling it with the following command:
g++ llvm-config --cxxflags --ldflags tutorial3.cpp $CLANG_LIBS llvm-config --libs --system-libs -o tutorial3

where $CLANG_LIBS = "-lclangTooling -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization -lclangCodeGen -lclangParse -lclangSema -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangAnalysis -lclangARCMigrate -lclangRewrite -lclangRewriteFrontend -lclangEdit -lclangAST -lclangLex -lclangBasic -lclang"

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

1 participant