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

VC4C build error in the current branch #163

Open
Zenitur opened this issue Apr 22, 2023 · 1 comment
Open

VC4C build error in the current branch #163

Zenitur opened this issue Apr 22, 2023 · 1 comment

Comments

@Zenitur
Copy link

Zenitur commented Apr 22, 2023

There is an error:

[ 43%] Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/LLVMLibrary.cpp.o
/home/pi/opencl-vc4/VC4C/src/precompilation/LLVMLibrary.cpp: In function 'std::shared_ptr<llvm::LLVMContext> vc4c::precompilation::initializeLLVMContext()':
/home/pi/opencl-vc4/VC4C/src/precompilation/LLVMLibrary.cpp:54:14: error: 'using element_type = class llvm::LLVMContext' {aka 'class llvm::LLVMContext'} has no member named 'setDiagnosticHandlerCallBack'; did you mean 'setDiagnosticHandler'?
     context->setDiagnosticHandlerCallBack([](const llvm::DiagnosticInfo& info, void* /* dummy */) {
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
              setDiagnosticHandler
make[2]: *** [src/CMakeFiles/VC4CC.dir/build.make:1207: src/CMakeFiles/VC4CC.dir/precompilation/LLVMLibrary.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:324: src/CMakeFiles/VC4CC.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

I'm using Raspbian 10 (Legacy GL driver) and LLVM 5.0

@doe300
Copy link
Owner

doe300 commented Apr 23, 2023

LLVM 5.0 is wayy outdated, LLVM 15.0 support was never added.

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

2 participants