CMake Error: LIBUDEV_LIBRARIES variables are used in this project, but they are set to NOTFOUND. - CMake Error: LIBUDEV_LIBRARIES variables are used in this project, but they are set to NOTFOUND.
Description When you build the Open Programmable Acceleration Engine (OPAE) SDK source code using a development branch and pack it into several local RPM packages, the following error might occur: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBUDEV_LIBRARIES linked by target "fpgaperf_counter" in directory /home/diankun/opae-sdk/external/opae-legacy/tools/fpgaperf_counter -- Configuring incomplete, errors occurred! See also "/home/XXX/opae-sdk/build/CMakeFiles/CMakeOutput.log". See also "/home/XXX/opae-sdk/build/CMakeFiles/CMakeError.log". Resolution To work around this problem, you should add “ -DOPAE_LEGACY_TAG=<tag> ” and “ -DOPAE_SIM_TAG=<tag> ” into your compile command. eg: cmake .. -DCPACK_GENERATOR=RPM -DOPAE_BUILD_LEGACY=ON -DOPAE_BUILD_EXTRA_TOOLS_FPGABIST=ON -DOPAE_BUILD_SIM=ON -DOPAE_LEGACY_TAG=2.0.10-2 -DOPAE_SIM_TAG=2.0.10-2
Custom Fields values:
['novalue']
Troubleshooting
15010766452
False
['novalue']
['novalue']
novalue
novalue
['Agilex™ 7 FPGAs and SoCs', 'Stratix® 10 FPGAs and SoCs']
['novalue']
['novalue']
['novalue'] - 2022-06-20
external_document