Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Could NOT find DPL (missing: DPL_INCLUDE_DIR) #1246

Open
npolina4 opened this issue Dec 3, 2022 · 0 comments
Open

Build: Could NOT find DPL (missing: DPL_INCLUDE_DIR) #1246

npolina4 opened this issue Dec 3, 2022 · 0 comments
Assignees

Comments

@npolina4
Copy link
Collaborator

npolina4 commented Dec 3, 2022

I export DPL_ROOT like in README.md file.

export DPL_ROOT=$(pwd)/oneDPL/include

I try to build and see:

CMake Warning (dev) at CMakeLists.txt:294 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable DPL_ROOT is set to:

    /localdisk/intel/oneapi/dpl/2021.7.1

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /localdisk/work/npolina/.conda/envs/test1/lib/python3.9/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find DPL (missing: DPL_INCLUDE_DIR)
Call Stack (most recent call first):
  /localdisk/work/npolina/.conda/envs/test1/lib/python3.9/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindDPL.cmake:48 (find_package_handle_standard_args)
  CMakeLists.txt:294 (find_package)

I open FindDPL.cmake and see:

# The following variables are optionally searched for defaults
#  DPLROOT:         Environment variable to specify custom search place

I export DPLROOT and now its work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants