You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build the project, the script fails due to multiple issues related to LLVM configuration and CMake settings:
LLVM Configuration Issue:
The llvm-config script is not found, indicating that LLVM may not be installed or is not in the system's PATH
../build.sh: 1: llvm-config: not found
Include Header Error:
The file llvm/Pass.h cannot be found which halts the compilation of main.cpp:./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 | #include "llvm/Pass.h"
| ^~~~~~~~~~~~~
compilation terminated.
Expected Behavior
The build script should complete without errors, successfully compiling all modules.
Actual Behavior
The build process fails due to missing LLVM configuration and header file issues. Additionally, a CMake configuration warning is issued.
Possible Solutions
Ensure LLVM is correctly installed and llvm-config is accessible in your PATH.
Verify the presence of llvm/Pass.h in your LLVM installation directory, or ensure the correct LLVM version is being used.
Modify the CMakeLists.txt to include a direct call to the project() command as suggested by the CMake warning.
Logs
./build.sh: 1: llvm-config: not found
./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 |#include "llvm/Pass.h"| ^~~~~~~~~~~~~
compilation terminated.
[] Trying to Build EntryPointIdentifier
./build.sh: 1: llvm-config: not found
./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 |#include "llvm/Pass.h"| ^~~~~~~~~~~~~
compilation terminated.
The text was updated successfully, but these errors were encountered:
Issue Description
When attempting to build the project, the script fails due to multiple issues related to LLVM configuration and CMake settings:
The
llvm-config
script is not found, indicating that LLVM may not be installed or is not in the system's PATH../build.sh: 1: llvm-config: not found
The file
llvm/Pass.h
cannot be found which halts the compilation ofmain.cpp
:./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory6 | #include "llvm/Pass.h"
| ^~~~~~~~~~~~~
compilation terminated.
Expected Behavior
The build script should complete without errors, successfully compiling all modules.
Actual Behavior
The build process fails due to missing LLVM configuration and header file issues. Additionally, a CMake configuration warning is issued.
Possible Solutions
llvm-config
is accessible in your PATH.llvm/Pass.h
in your LLVM installation directory, or ensure the correct LLVM version is being used.CMakeLists.txt
to include a direct call to theproject()
command as suggested by the CMake warning.Logs
The text was updated successfully, but these errors were encountered: