* installing *source* package 'GeneralizedUmatrixGPU' ... ** this is package 'GeneralizedUmatrixGPU' version '0.0.4' ** 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 -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 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'