* installing *source* package 'psp' ...
** package 'psp' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2025_04_08_10_21_14_26694/RtmpEvf4jQ/R.INSTALL132d84c005c7a/psp/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -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"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -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"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c pspGlobal.cpp -o pspGlobal.o
pspGlobal.cpp: In function 'arma::mat ClampParameters(arma::mat, arma::colvec, arma::colvec)':
pspGlobal.cpp:29:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   29 |   for (int i = 0; i < upper.n_elem; i++) {
      |                   ~~^~~~~~~~~~~~~~
pspGlobal.cpp: In function 'arma::cube OrdinalCompare(arma::cube, arma::cube)':
pspGlobal.cpp:60:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   60 |   for (int x = 0; x < predicted.n_slices; x++) {
      |                   ~~^~~~~~~~~~~~~~~~~~~~
pspGlobal.cpp:62:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   62 |     for (int y = 0; y < discovered.n_slices; y++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~
pspGlobal.cpp: In function 'void WriteFile(int, arma::mat, arma::vec, std::string)':
pspGlobal.cpp:153:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  153 |   for (uword i = 0; i < rows; i++) {
      |                     ~~^~~~~~
pspGlobal.cpp:156:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  156 |     for (uword k = 0; k < columns; k++) {
      |                       ~~^~~~~~~~~
pspGlobal.cpp: In function 'Rcpp::List pspGlobal(Rcpp::Function, Rcpp::Function, Rcpp::List, bool, std::string, std::string, bool)':
pspGlobal.cpp:196:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  196 |   if (dimensions != lower.n_elem || dimensions != upper.n_elem) {
      |       ~~~~~~~~~~~^~~~~~~~~~~~~~~
pspGlobal.cpp:196:48: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  196 |   if (dimensions != lower.n_elem || dimensions != upper.n_elem) {
      |                                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o psp.dll tmp.def RcppExports.o pspGlobal.o -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: pspGlobal.o:pspGlobal.cpp:(.text$_ZN4arma6op_sum24apply_mat_square_noaliasIdEEvRNS_3MatIT_EERKS4_j[_ZN4arma6op_sum24apply_mat_square_noaliasIdEEvRNS_3MatIT_EERKS4_j]+0x1b6): undefined reference to `ddot_'
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory '/d/temp/2025_04_08_10_21_14_26694/RtmpEvf4jQ/R.INSTALL132d84c005c7a/psp/src'
make[1]: Entering directory '/d/temp/2025_04_08_10_21_14_26694/RtmpEvf4jQ/R.INSTALL132d84c005c7a/psp/src'
make[1]: Leaving directory '/d/temp/2025_04_08_10_21_14_26694/RtmpEvf4jQ/R.INSTALL132d84c005c7a/psp/src'
no DLL was created
ERROR: compilation failed for package 'psp'
* removing 'd:/Rcompile/CRANpkg/lib/4.3/psp'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/psp'