-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
After attempting to compile the knight
project, I encountered several undefined references errors related to LLVM and Clang libraries. This issue prevents the successful compilation and linking of the knight
tool. It seems like the project configuration might not correctly specify the dependencies or the paths to the LLVM and Clang libraries are not properly resolved.
Steps to Reproduce:
- Clone the
knight
project from the repository. - Follow the installation instructions provided in the
README.md
. - Run the build command:
cmake --build .
Expected Behavior:
The knight
project compiles successfully without any linker errors.
Actual Behavior:
Compilation fails with multiple errors similar to the following:
undefined reference to `llvm::sys::PrintStackTrace(llvm::raw_ostream&)'
undefined reference to `clang::FrontendOptions::FrontendOptions()'
...
Possible Solutions:
- Ensure that the paths to LLVM and Clang libraries and include directories are correctly specified in the
CMakeLists.txt
or the environment variables. - Verify that the required LLVM and Clang libraries are installed and accessible.
- Consider adding detailed instructions in the
README.md
regarding setting up LLVM and Clang dependencies for the project.
Metadata
Metadata
Assignees
Labels
No labels