Skip to content

opae_FOUND to FALSE when install opae-sim #59

@DatNguyen97-VN

Description

@DatNguyen97-VN

Dear Admin,

I want to install opae-sim to use afu_json_mgr and afu_sim_setup command.

Setup Info

Ubuntu 24.04 on WSL2

Action

git clone https://github.com/OPAE/opae-sim.git
cd opae-sim
mkdir build
opae_DIR=/usr/local/lib/opae-2.14.0 cmake ..

Result

-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found libjson-c: /usr/local/include
-- Found libuuid: /usr/include
-- Found librt: /usr/lib/x86_64-linux-gnu/librt.a
CMake Error at ase/CMakeLists.txt:33 (find_package):
  Found package configuration file:

    /usr/local/lib/opae-2.14.0/opae-config.cmake

  but it set opae_FOUND to FALSE so package "opae" is considered to be NOT
  FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  json-c::json-c



-- Configuring incomplete, errors occurred!

Please help me to fix this error.
Thank you,
Dat Nguyen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions