aws / aws/aws-fpga

Could NOT find Vitis (missing: Vitis_AIE_INCLUDE_DIR)

Open
#677 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
SystemVerilog
Stars
1.7k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if this is the right place to ask, but I tried running the hello_world example using the Vitis Unified IDE, and I encountered the following error:
`CMake Error at /opt/Xilinx/Vitis/2024.1/tps/lnx64/cmake-3.24.2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Vitis (missing: Vitis_AIE_INCLUDE_DIR)
Call Stack (most recent call first):
/opt/Xilinx/Vitis/2024.1/tps/lnx64/cmake-3.24.2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/opt/Xilinx/Vitis/2024.1/vitisng-server/scripts/cmake/FindVitis.cmake:133 (find_package_handle_standard_args)
CMakeLists.txt:14 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/Documents/Example/hello_world/build/hw/CMakeFiles/CMakeOutput.log".
[ERROR] Build Failed`

What should I do to resolve this issue?

i used FPGA Developer Ami(Ubuntu)

Contributor guide

Open the contributing guide

Research direction

Start with CMakeLists.txt at line 14 and the referenced FindVitis.cmake at line 133, then reproduce the hello_world configuration in the Vitis Unified IDE environment described. Check how the setup provides Vitis_AIE_INCLUDE_DIR and verify that CMake can complete configuration without the reported missing-variable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, ubuntu
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.