You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error: install(EXPORT "OpenCLHeadersCppTargets" ...) includes target "HeadersCpp" which requires target "OpenCLHeaders" that is not in any export set.
CMake Error in CMakeLists.txt:
export called with target "HeadersCpp" which requires target
"OpenCLHeaders" that is not in any export set.
Hello! The OpenCL C++ bindings (this repo) has a dependency on the OpenCL headers, which provides the target "OpenCLHeaders". Please see the build instructions and dependency information in the README:
Can you build and install the OpenCL headers before invoking CMake for the OpenCL C++ bindings? Note, you should not need the OpenCL ICD loader unless you are also building the examples, and it doesn't look like you are in the link above. Please let us know if this will work for you.
CC @MathiasMagnus in case I got any of this wrong - thanks!
Thanks for the reply. I do have the OpenCL headers installed in ${OPENCL_DIST_DIR}/include as mentioned in the build instructions. It used to work with clhpp=2.0.16, but not anymore.
Here's how we invoke cmake
https://github.com/conda-forge/clhpp-feedstock/blob/65ec400d4f221776e11078c5903b4c56cc8edc83/recipe/build.sh#L6-L16
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: