* installing *source* package 'RcppPlanc' ... ** this is package 'RcppPlanc' version '2.0.3' ** using staged installation -- Building for: Unix Makefiles -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/rtools45/x86_64-w64-mingw32.static.posix/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/rtools45/x86_64-w64-mingw32.static.posix/bin/g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- This is libplanc 1.0.0 containing component nmflib 1.0.0 CMake Debug Log at cmake/FindR.cmake:38 (find_program): find_program called with the following settings: VAR: R_EXECUTABLE NAMES: "R" Documentation: R executable. Framework Only Search Frameworks: 0 Search Frameworks Last: 0 Search Frameworks First: 0 AppBundle Only Search AppBundle: 0 Search AppBundle Last: 0 Search AppBundle First: 0 CMAKE_FIND_USE_CMAKE_PATH: 1 CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1 CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1 CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1 CMAKE_FIND_USE_INSTALL_PREFIX: 1 find_program considered the following locations: D:/rtools45/usr/bin/bin/R.com D:/rtools45/usr/bin/bin/R.exe D:/rtools45/usr/bin/bin/R D:/rtools45/usr/bin/R.com D:/rtools45/usr/bin/R.exe D:/rtools45/usr/bin/R D:/rtools45/x86_64-w64-mingw32.static.posix/bin/bin/R.com D:/rtools45/x86_64-w64-mingw32.static.posix/bin/bin/R.exe D:/rtools45/x86_64-w64-mingw32.static.posix/bin/bin/R D:/rtools45/x86_64-w64-mingw32.static.posix/bin/R.com D:/rtools45/x86_64-w64-mingw32.static.posix/bin/R.exe D:/rtools45/x86_64-w64-mingw32.static.posix/bin/R D:/RCompile/recent/R/bin/x64/bin/R.com D:/RCompile/recent/R/bin/x64/bin/R.exe D:/RCompile/recent/R/bin/x64/bin/R D:/RCompile/recent/R/bin/x64/R.com The item was found at D:/RCompile/recent/R/bin/x64/R.exe Call Stack (most recent call first): CMakeLists.txt:51 (find_package) CMake Debug Log at cmake/FindR.cmake:59 (find_program): find_program called with the following settings: VAR: RSCRIPT_EXECUTABLE NAMES: "Rscript" Documentation: Rscript executable. Framework Only Search Frameworks: 0 Search Frameworks Last: 0 Search Frameworks First: 0 AppBundle Only Search AppBundle: 0 Search AppBundle Last: 0 Search AppBundle First: 0 CMAKE_FIND_USE_CMAKE_PATH: 1 CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1 CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1 CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1 CMAKE_FIND_USE_INSTALL_PREFIX: 1 find_program considered the following locations: D:/RCompile/recent/R/bin/Rscript.com The item was found at D:/RCompile/recent/R/bin/Rscript.exe Call Stack (most recent call first): CMakeLists.txt:51 (find_package) -- Found R: D:/RCompile/recent/R/bin/x64/R.exe (found version "4.5.0") CMake Debug Log at CMakeLists.txt:51 (find_package): find_package considered the following paths for FindR.cmake: D:/rtools45/x86_64-w64-mingw32.static.posix/share/cmake-3.30.4/Modules/FindR.cmake The file was found at D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/planc/cmake/FindR.cmake -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- Could NOT find LAPACK (missing: LAPACK_LIBRARIES) Reason given by package: LAPACK could not be found because dependency BLAS could not be found. CMake Error at CMakeLists.txt:82 (get_target_property): get_target_property() called with non-existent target "OpenBLAS::OpenBLAS". CMake Error at CMakeLists.txt:83 (message): message called with incorrect number of arguments -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") CMake Warning (dev) at D:/rtools45/x86_64-w64-mingw32.static.posix/share/cmake-3.30.4/Modules/FetchContent.cmake:1953 (message): Calling FetchContent_Populate(HighFive) is deprecated, call FetchContent_MakeAvailable(HighFive) instead. Policy CMP0169 can be set to OLD to allow FetchContent_Populate(HighFive) to be called directly for now, but the ability to call it with declared details will be removed completely in a future version. Call Stack (most recent call first): CMakeLists.txt:143 (FetchContent_Populate) This warning is for project developers. Use -Wno-dev to suppress it. -- Found HDF5: hdf5-static (found version "1.12.1") -- Performing Test HDF5_LINKS -- Performing Test HDF5_LINKS - Success -- Found R_Rcpp: D:/RCompile/CRANpkg/lib/4.5/Rcpp -- Found R_RcppArmadillo: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo -- Found R_RcppProgress: D:/RCompile/CRANpkg/lib/4.5/RcppProgress -- Performing Test UNSAFE_MATH -- Performing Test UNSAFE_MATH - Success -- Performing Test FINITE_MATH -- Performing Test FINITE_MATH - Success -- Performing Test TRAPPING_MATH -- Performing Test TRAPPING_MATH - Success -- Performing Test ERRNO_MATH -- Performing Test ERRNO_MATH - Success -- Performing Test UNSIGNED_ZERO -- Performing Test UNSIGNED_ZERO - Success -- Performing Test RECIPROCAL_MATH -- Performing Test RECIPROCAL_MATH - Success -- Performing Test ARCH_AVX -- Performing Test ARCH_AVX - Success -- Performing Test HAS_POPCNT -- Performing Test HAS_POPCNT - Success -- Looking for cblas.h -- Looking for cblas.h - found -- A cache variable, namely HWLOC_DIR, has been set to specify the install directory of HWLOC -- Checking for one of the modules 'hwloc' -- Looking for HWLOC - not found using PkgConfig. Perhaps you should add the directory containing hwloc.pc to the PKG_CONFIG_PATH environment variable. -- Looking for HWLOC - PkgConfig not used -- Looking for hwloc -- hwloc.h not found -- Looking for hwloc -- lib hwloc not found -- Could NOT find HWLOC (missing: HWLOC_LIBRARIES HWLOC_WORKS) -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- NNLS_SOURCE_DIR = D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/planc/nnls -- NMF_SOURCE_DIR = D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/planc/nmf -- NMFLIB_COMMON = D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/planc/common -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring incomplete, errors occurred! gmake.exe: Makefile: No such file or directory gmake.exe: *** No rule to make target 'Makefile'. Stop. CMake Error: Not a file: D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/build/cmake_install.cmake CMake Error: Error processing file: D:/temp/2025_04_04_18_40_17_11699/RtmpINOLcR/R.INSTALL28ccc1b79293c/RcppPlanc/src/build/cmake_install.cmake ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rcppplanc_nmf.cpp -o rcppplanc_nmf.o rcppplanc_nmf.cpp:8:10: fatal error: config.h: No such file or directory 8 | #include "config.h" | ^~~~~~~~~~ compilation terminated. make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: rcppplanc_nmf.o] Error 1 ERROR: compilation failed for package 'RcppPlanc' * removing 'd:/RCompile/CRANincoming/R-devel/lib/RcppPlanc'