* installing *source* package 'RiemBase' ...
** package 'RiemBase' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++11
make[1]: Entering directory '/d/temp/2025_01_01_01_50_00_29699/RtmpumcqXI/R.INSTALL24f14577518cd/RiemBase/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c engines.cpp -o engines.o
In file included from ../inst/include/riemfactory.hpp:11,
                 from engines.cpp:2:
../inst/include/manifolds/riem_04stiefel.h: In function 'arma::mat stiefel_exp(arma::mat, arma::mat, double)':
../inst/include/manifolds/riem_04stiefel.h:88:13: warning: unused variable 'n' [-Wunused-variable]
   88 |   const int n = x.n_rows;
      |             ^
../inst/include/manifolds/riem_04stiefel.h: In function 'arma::mat stiefel_log(arma::mat, arma::mat)':
../inst/include/manifolds/riem_04stiefel.h:108:13: warning: unused variable 'n' [-Wunused-variable]
  108 |   const int n = U0.n_rows;
      |             ^
../inst/include/manifolds/riem_04stiefel.h: In function 'arma::mat stiefel_invretr(arma::mat, arma::mat)':
../inst/include/manifolds/riem_04stiefel.h:168:7: warning: unused variable 'n' [-Wunused-variable]
  168 |   int n = x.n_rows;
      |       ^
In file included from ../inst/include/riemfactory.hpp:12:
../inst/include/manifolds/riem_05grassmann.h: In function 'double grassmann_dist(arma::mat, arma::mat)':
../inst/include/manifolds/riem_05grassmann.h:34:17: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   34 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
../inst/include/manifolds/riem_05grassmann.h:42:17: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   42 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
../inst/include/manifolds/riem_05grassmann.h: In function 'arma::mat grassmann_exp(arma::mat, arma::mat, double)':
../inst/include/manifolds/riem_05grassmann.h:107:13: warning: unused variable 'n' [-Wunused-variable]
  107 |   const int n = x.n_rows;
      |             ^
../inst/include/manifolds/riem_05grassmann.h:108:13: warning: unused variable 'p' [-Wunused-variable]
  108 |   const int p = x.n_cols;
      |             ^
../inst/include/manifolds/riem_05grassmann.h: In function 'arma::mat grassmann_log(arma::mat, arma::mat)':
../inst/include/manifolds/riem_05grassmann.h:125:7: warning: unused variable 'n' [-Wunused-variable]
  125 |   int n = x.n_rows;
      |       ^
g++ -shared -s -static-libgcc -o RiemBase.dll tmp.def RcppExports.o engines.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: engines.o:engines.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x23d): undefined reference to `zhetrf_'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: engines.o:engines.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x290): undefined reference to `zhetrs_'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: engines.o:engines.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x2ea): undefined reference to `zhecon_'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: engines.o:engines.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x3d7): undefined reference to `zhetrf_'
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory '/d/temp/2025_01_01_01_50_00_29699/RtmpumcqXI/R.INSTALL24f14577518cd/RiemBase/src'
make[1]: Entering directory '/d/temp/2025_01_01_01_50_00_29699/RtmpumcqXI/R.INSTALL24f14577518cd/RiemBase/src'
make[1]: Leaving directory '/d/temp/2025_01_01_01_50_00_29699/RtmpumcqXI/R.INSTALL24f14577518cd/RiemBase/src'
no DLL was created
ERROR: compilation failed for package 'RiemBase'
* removing 'd:/Rcompile/CRANpkg/lib/4.3/RiemBase'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/RiemBase'