Skip to content

Fail to build #914

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

Closed
zyxdenny opened this issue Feb 27, 2025 · 3 comments · Fixed by #916
Closed

Fail to build #914

zyxdenny opened this issue Feb 27, 2025 · 3 comments · Fixed by #916
Assignees
Labels
question Further information is requested

Comments

@zyxdenny
Copy link

Hi. I followed BUILD.md to build it on my OpenSUSE laptop but there an error after I run ninja.

clang++: error: no such include directory: '/home/y/projects/proton/build/src/Core/include' [-Werror,-Wmissing-include-dirs]

What might be the issue? I'm using clang19.

@zyxdenny zyxdenny added the question Further information is requested label Feb 27, 2025
@chenziliang
Copy link
Collaborator

Could you try clang-18, we are currently working on 19 support

@yokofly
Copy link
Collaborator

yokofly commented Feb 28, 2025

thanks i can reproduce it, i will try fix

g/proton/src/Parsers/ASTAlterQuery.cpp
clang++-19: error: no such include directory: '/proton/build_clang19/src/Core/include' [-Werror,-Wmissing-include-dirs]
[1350/12069] Building CXX object contrib/capnproto-cmake/CMakeFiles/_capnpc.dir/__/capnproto/c++/src/capnp/compiler/parser.c++.o
ninja: build stopped: subcommand failed.
(base) ➜  build_clang19 git:(develop) 

@yokofly yokofly linked a pull request Mar 4, 2025 that will close this issue
@yokofly
Copy link
Collaborator

yokofly commented Mar 4, 2025

hi @zyxdenny

Thank you for reporting this issue. I have not encountered the exact same error, but there is a similar error log here: 76b2ed2

I have verified this with LLVM 19 under both Linux-x86 (Ubuntu 24) and macOS-ARM.

@yokofly yokofly closed this as completed Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants