[R-pkg-devel] CL/cl.hpp file not found
quirin stier
Qu|r|n_St|er @end|ng |rom gmx@de
Thu Aug 28 13:17:21 CEST 2025
Hi everyone,
CRAN Submission of package
(https://github.com/Quirinms/GeneralizedUmatrixGPU/tree/main) leads to
an error.
* installing *source* package 'GeneralizedUmatrixGPU' ...
** this is package 'GeneralizedUmatrixGPU' version '0.0.1'
** using staged installation
=== configurig OpenCL for x64 ==
OCL=d:/RCompile/CRANpkg/extralibs/OpenCL
SDK appears to include only one architecture, assuming it is 64-bit
OCL64LIB not set, assuming d:/RCompile/CRANpkg/extralibs/OpenCL/lib/OpenCL.lib
OCL32LIB not set, assuming d:/RCompile/CRANpkg/extralibs/OpenCL/lib/x86/OpenCL.lib
OCLINC not set, assuming -Id:/RCompile/CRANpkg/extralibs/OpenCL/include
--- Compiling 64-bit ---
OCL=d:/RCompile/CRANpkg/extralibs/OpenCL
PKG_CPPFLAGS=-Id:/RCompile/CRANpkg/extralibs/OpenCL/include
PKG_LIBS=d:/RCompile/CRANpkg/extralibs/OpenCL/lib/OpenCL.lib
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG '-I-Id:/RCompile/CRANpkg/extralibs/OpenCL/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG '-I-Id:/RCompile/CRANpkg/extralibs/OpenCL/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c trainSESOM.cpp -o trainSESOM.o
trainSESOM.cpp:4:10: fatal error: CL/cl.hpp: No such file or directory
4 | #include "CL/cl.hpp"
| ^~~~~~~~~~~
compilation terminated.
make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: trainSESOM.o] Error 1
ERROR: compilation failed for package 'GeneralizedUmatrixGPU'
* removing 'd:/RCompile/CRANincoming/R-devel/lib/GeneralizedUmatrixGPU'
Best,
Quirin
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list