Package Details: mingw-w64-opencl-headers 2022.01.04-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-opencl-headers
Description: OpenCL (Open Computing Language) header files (mingw-w64)
Upstream URL:
Licenses: Apache
Groups: mingw-w64-vulkan-devel
Submitter: Svenstaro
Maintainer: None
Last Packager: xantares
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-09 21:37 (UTC)
Last Updated: 2022-01-27 07:01 (UTC)

Latest Comments

ManzanaYPatata commented on 2022-01-26 18:48 (UTC) (edited on 2022-01-26 18:49 (UTC) by ManzanaYPatata)


I've tried to cross compile my opencl test project, from my manjaro machine. I've installed these mingw headers, but when I run cmake, I get this error:

-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - found
-- Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "2.2")
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

I don't know what I'm doing wrong? My cmake contains this setup FYI:

set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
set(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)




add_executable(binary main.cpp)

target_link_libraries(binary ${OpenCL_LIBRARIES})

How would I fix this?

xantares commented on 2021-08-09 15:13 (UTC)

with the symlinks I do not have cl_d3d11.h, maybe it should be configured with mingw