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

problem when run './build.sh" #1

Open
Howardcl opened this issue Dec 31, 2023 · 2 comments
Open

problem when run './build.sh" #1

Howardcl opened this issue Dec 31, 2023 · 2 comments

Comments

@Howardcl
Copy link

Hello,thank you for your excllent work ,bug i got a problem when i try to test your work.problem its here:
$ ./build.sh
In file included from ASTUtils.cpp:5:
In file included from ./ASTUtils.h:8:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from CallbackRegHandler.cpp:5:
./CallbackRegHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from DataWriter.cpp:5:
./DataWriter.h:8:10: fatal error: 'iostream' file not found
#include
^~~~~~~~~~
1 error generated.
In file included from Matchers.cpp:4:
In file included from ./Matchers.h:10:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchFinder.h:43:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from MemberExprHandler.cpp:5:
./MemberExprHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from NodeDeclHandler.cpp:5:
./NodeDeclHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from NodeNameHandler.cpp:5:
In file included from ./NodeNameHandler.h:8:
In file included from ./ASTUtils.h:8:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from ROS2InternalDependencyChecker.cpp:5:
In file included from /usr/lib/llvm-13/include/llvm/Support/CommandLine.h:22:
In file included from /usr/lib/llvm-13/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/lib/llvm-13/include/llvm/ADT/Hashing.h:48:
In file included from /usr/lib/llvm-13/include/llvm/Support/ErrorHandling.h:17:
/usr/lib/llvm-13/include/llvm/Support/Compiler.h:21:10: fatal error: 'new' file not found
#include
^~~~~
1 error generated.

@RaduLucianR
Copy link

Is there any work being done on this? I encounter the same problem while trying to ./build.sh code-analysis

@RaduLucianR
Copy link

I fixed this by doing sudo apt install libstdc++-12-dev and sudo apt install nlohmann-json3-dev

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