I am trying to install XRT 2022.1 on the following systems configurations:
I cloned the XRT 2022.1 branch from github
Ubuntu 20.04.6
Kernel 5.15.0-119-generic
Vitis Version 2022.1
CMake 3.5.2
The OS is installed on Oracle VirtualBox
I had installed cmake using the .sh script from cmake downloads. I tried solving the issue by installing both the python-devel and python3-devel packages but still getting the same error. I am unable to understand that even after the PythonLibs being installed still how is it unable to detect the libraries to continue with the installation.
The error that I am getting when i run the build.sh script is given below:
CMake Error at /opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "3.4.0")
Call Stack (most recent call first):
/opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
python/pybind11/CMakeLists.txt:5 (find_package)
Please advice with any debug steps or help with the versions that I need to pick so that I will be able to install the tools without any errors. Also, finally I need to synthesize PYNQ-DPU hardware using XRT later on.
I am trying to install XRT 2022.1 on the following systems configurations:
I had installed
cmake
using the .sh script from cmake downloads. I tried solving the issue by installing both thepython-devel
andpython3-devel
packages but still getting the same error. I am unable to understand that even after thePythonLibs
being installed still how is it unable to detect the libraries to continue with the installation.The error that I am getting when i run the
build.sh
script is given below:CMake Error at /opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "3.4.0") Call Stack (most recent call first): /opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /opt/cmake-3.5.2-Linux-x86_64/share/cmake-3.5/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) python/pybind11/CMakeLists.txt:5 (find_package)
Please advice with any debug steps or help with the versions that I need to pick so that I will be able to install the tools without any errors. Also, finally I need to synthesize PYNQ-DPU hardware using XRT later on.