Hello,
Thank you for providing the useful package. I failed to install the package and yielded the following message. My R version is 4.2.0.
- installing source package 'apg' ...
** using staged installation
** libs
g++ -std=gnu++11 -I"C:/PROGRA1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"C:/PROGRA1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c grad_logistic.cpp -o grad_logistic.o
g++ -std=gnu++11 -I"C:/PROGRA1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c grad_ranking_logistic.cpp -o grad_ranking_logistic.o
g++ -std=gnu++11 -shared -s -static-libgcc -o apg.dll tmp.def RcppExports.o grad_logistic.o grad_ranking_logistic.o -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA1/R/R-421.0/bin/x64 -lR
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x10d): undefined reference to dgemv_' C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x7ac): undefined reference to dgemm_'
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x88f): undefined reference to dgemv_' C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0xc2e): undefined reference to dsyrk_'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'apg'
Hello,
Thank you for providing the useful package. I failed to install the package and yielded the following message. My R version is 4.2.0.
** using staged installation
** libs
g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.og++ -std=gnu++11 -I"C:/PROGRA
1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c grad_logistic.cpp -o grad_logistic.og++ -std=gnu++11 -I"C:/PROGRA
1/R/R-421.0/include" -DNDEBUG -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/Rcpp/include' -I'C:/Users/cwliu/AppData/Local/R/win-library/4.2/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c grad_ranking_logistic.cpp -o grad_ranking_logistic.og++ -std=gnu++11 -shared -s -static-libgcc -o apg.dll tmp.def RcppExports.o grad_logistic.o grad_ranking_logistic.o -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA
1/R/R-421.0/bin/x64 -lRC:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x10d): undefined reference to
dgemv_' C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x7ac): undefined reference todgemm_'C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0x88f): undefined reference to
dgemv_' C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: grad_logistic.o:grad_logistic.:(.text.hot+0xc2e): undefined reference todsyrk_'collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'apg'