* installing *source* package 'GeneralizedUmatrixGPU' ... ** this is package 'GeneralizedUmatrixGPU' version '0.0.5' ** 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/x64/ WARNING: d:/RCompile/CRANpkg/extralibs/OpenCL/lib/x64/ not found! Check your OCL and OCL64LIB settings! OCL32LIB not set, assuming d:/RCompile/CRANpkg/extralibs/OpenCL/lib/x86/ 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/x64/ ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I'D:/RCompile/CRANincoming/R-devel/lib/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 In file included from D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/current/armadillo:26, from D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:62, from D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/RcppArmadillo.h:29, from RcppExports.cpp:4: D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported' 373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported") | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I'D:/RCompile/CRANincoming/R-devel/lib/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 In file included from ocl.h:9, from trainSESOM.cpp:2: ../inst/include/CL/cl.hpp: In constructor 'cl::Sampler::Sampler(const cl::Context&, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)': ../inst/include/CL/cl.hpp:4240:36: warning: '_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)' is deprecated [-Wdeprecated-declarations] 4240 | object_ = ::clCreateSampler( | ~~~~~~~~~~~~~~~~~^ 4241 | context(), | ~~~~~~~~~~ 4242 | normalized_coords, | ~~~~~~~~~~~~~~~~~~ 4243 | addressing_mode, | ~~~~~~~~~~~~~~~~ 4244 | filter_mode, | ~~~~~~~~~~~~ 4245 | &error); | ~~~~~~~ In file included from ocl.h:7: ../inst/include/CL/cl.h:1366:1: note: declared here 1366 | clCreateSampler(cl_context /* context */, | ^~~~~~~~~~~~~~~ ../inst/include/CL/cl.hpp: At global scope: ../inst/include/CL/cl.hpp:4726:28: warning: ignoring attributes on template argument 'cl_int' {aka 'int'} [-Wignored-attributes] 4726 | VECTOR_CLASS* binaryStatus = NULL, | ^ ../inst/include/CL/cl.hpp: In constructor 'cl::CommandQueue::CommandQueue(cl_command_queue_properties, cl_int*)': ../inst/include/CL/cl.hpp:5084:45: warning: '_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)' is deprecated [-Wdeprecated-declarations] 5084 | object_ = ::clCreateCommandQueue( | ~~~~~~~~~~~~~~~~~~~~~~^ 5085 | context(), device(), properties, &error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/CL/cl.h:1359:1: note: declared here 1359 | clCreateCommandQueue(cl_context /* context */, | ^~~~~~~~~~~~~~~~~~~~ ../inst/include/CL/cl.hpp: In constructor 'cl::CommandQueue::CommandQueue(const cl::Context&, const cl::Device&, cl_command_queue_properties, cl_int*)': ../inst/include/CL/cl.hpp:5101:41: warning: '_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)' is deprecated [-Wdeprecated-declarations] 5101 | object_ = ::clCreateCommandQueue( | ~~~~~~~~~~~~~~~~~~~~~~^ 5102 | context(), device(), properties, &error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/CL/cl.h:1359:1: note: declared here 1359 | clCreateCommandQueue(cl_context /* context */, | ^~~~~~~~~~~~~~~~~~~~ ../inst/include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueTask(const cl::Kernel&, const std::vector*, cl::Event*) const': ../inst/include/CL/cl.hpp:5878:28: warning: 'cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)' is deprecated [-Wdeprecated-declarations] 5878 | ::clEnqueueTask( | ~~~~~~~~~~~~~~~^ 5879 | object_, kernel(), | ~~~~~~~~~~~~~~~~~~ 5880 | (events != NULL) ? (cl_uint) events->size() : 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5881 | (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5882 | (event != NULL) ? &tmp : NULL), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/CL/cl.h:1373:1: note: declared here 1373 | clEnqueueTask(cl_command_queue /* command_queue */, | ^~~~~~~~~~~~~ trainSESOM.cpp: In function 'std::vector trainstepC3(std::vector, std::vector, std::vector, std::vector, int, int, int, int, int, int, int, bool, int)': trainSESOM.cpp:192:9: warning: unused variable 'errorA' [-Wunused-variable] 192 | int errorA = Program_ToroidDistance.build("-cl-fast-relaxed-math -w"); | ^~~~~~ trainSESOM.cpp:201:9: warning: unused variable 'errorB' [-Wunused-variable] 201 | int errorB = Program_NonToroidDistance.build("-cl-fast-relaxed-math -w"); | ^~~~~~ trainSESOM.cpp:210:7: warning: unused variable 'error2' [-Wunused-variable] 210 | int error2 = Program_UpdateWeights.build("-cl-fast-relaxed-math -w"); | ^~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o GeneralizedUmatrixGPU.dll tmp.def RcppExports.o trainSESOM.o -Ld:/RCompile/CRANpkg/extralibs/OpenCL/lib/x64/ -lOpenCL --verbose -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR Using built-in specs. COLLECT_GCC=D:\rtools45\x86_64-w64-mingw32.static.posix\bin\g++.exe COLLECT_LTO_WRAPPER=D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/x86_64-w64-mingw32.static.posix/14.2.0/lto-wrapper.exe Target: x86_64-w64-mingw32.static.posix Configured with: /root/mxe/tmp-gcc-host-x86_64-w64-mingw32.static.posix/gcc-14.2.0/configure --host=x86_64-w64-mingw32.static.posix --target=x86_64-w64-mingw32.static.posix --build=x86_64-pc-linux-gnu --prefix=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix --with-native-system-header-dir=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix/include --enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs --with-gcc --with-gnu-ld --with-gnu-as --disable-nls --without-libiconv-prefix --disable-shared --disable-multilib --without-x --disable-win32-registry --enable-threads=posix --enable-libgomp --with-gmp=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix --with-isl=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix --with-mpc=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix --with-mpfr=/usr/lib/mxe/usr/x86_64-w64-mingw32.static.posix --enable-libstdcxx-time target_configargs=XCFLAGS=-Wno-format ac_cv_header_sys_mman_h=no Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.2.0 (GCC) COMPILER_PATH=D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/x86_64-w64-mingw32.static.posix/14.2.0/;D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/ LIBRARY_PATH=D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/;D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/;D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/../../../../lib/;D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/../../../ COLLECT_GCC_OPTIONS='-std=gnu++17' '-shared' '-s' '-static-libgcc' '-o' 'GeneralizedUmatrixGPU.dll' '-Ld:/RCompile/CRANpkg/extralibs/OpenCL/lib/x64/' '-v' '-Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64' '-Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib' '-LD:/RCompile/recent/R/bin/x64' '-mtune=generic' '-march=x86-64' '-dumpdir' 'GeneralizedUmatrixGPU.dll.' D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/x86_64-w64-mingw32.static.posix/14.2.0/collect2.exe -plugin D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/x86_64-w64-mingw32.static.posix/14.2.0/liblto_plugin.dll -plugin-opt=D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../libexec/gcc/x86_64-w64-mingw32.static.posix/14.2.0/lto-wrapper.exe -plugin-opt=-fresolution=D:\temp\2025_08_29_11_20_18_14976\cc2Dbamn.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lkernel32 -m i386pep --shared -Bdynamic -e DllMainCRTStartup --enable-auto-image-base -o GeneralizedUmatrixGPU.dll -s D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/../../../../lib/dllcrt2.o D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/crtbegin.o -Ld:/RCompile/CRANpkg/extralibs/OpenCL/lib/x64/ -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -LD:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0 -LD:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc -LD:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/../../../../lib -LD:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/../../.. tmp.def RcppExports.o trainSESOM.o -lOpenCL -lR -lstdc++ -lmingw32 -lgcc -lmingwex -lmsvcrt -lkernel32 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmingwex -lmsvcrt -lkernel32 D:/rtools45/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/crtend.o D:\rtools45\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lOpenCL: No such file or directory collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'GeneralizedUmatrixGPU' * removing 'd:/RCompile/CRANincoming/R-devel/lib/GeneralizedUmatrixGPU'