Article ID: 000089765 Content Type: Error Messages Last Reviewed: 08/02/2022

CMake Error: LIBUDEV_LIBRARIES variables are used in this project, but they are set to NOTFOUND.

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
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

Related Products

This article applies to 5 products

Intel® Agilex™ 7 FPGAs and SoC FPGAs
Intel® Stratix® 10 FPGAs and SoC FPGAs
Intel® FPGA PAC D5005
Intel® FPGA PAC N3000
Intel® PAC with Intel® Arria® 10 GX FPGA

Disclaimer

1

All postings and use of the content on this site are subject to Intel.com Terms of Use.