valentint / pcapp Goto Github PK
View Code? Open in Web Editor NEWR package pcaPP: Robust PCA by Projection Pursuit
R package pcaPP: Robust PCA by Projection Pursuit
Hello. I'm trying to compilate package with type=source
, but getting an error during compilation process:
* installing *source* package 'pcaPP' ...
** package 'pcaPP' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.2.0'
using C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c L1Median_HoCr.cpp -o L1Median_HoCr.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c L1Median_VardiZhang.cpp -o L1Median_VardiZhang.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c ML_meal.cpp -o ML_meal.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c ML_package.cpp -o ML_package.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c ML_passrng.cpp -o ML_passrng.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c PCAgrid.cpp -o PCAgrid.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c PCAproj.cpp -o PCAproj.o
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-4.3/include" -DNDEBUG -DR_PACKAGE_FILE -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files/R/R-4.3/bin/x64" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -I"C:/Program Files (x86)/zlib/include" -I"C:/Users/Rebelion/Downloads/libuv-v1.44.2/include" -I":/Repository/NLopt2/NLoptCMakeBuild" -O3 -march=native -mtune=native -mfpmath=both -mfma -O3 -march=native -mtune=native -mfpmath=both -mfma -flto=auto -ffat-lto-objects -fuse-linker-plugin -c R_meal.cpp -o R_meal.o
R_meal.cpp: In function 'void meal_geev(const char*, const char*, const int*, double*, const int*, double*, double*, double*, const int*, double*, const int*, double*, const int*, int*)':
R_meal.cpp:62:97: error: expected ')' before 'FCONE'
62 | { F77_CALL(dgeev)(jobvl, jobvr, n, a, lda, wr, wi, vl, ldvl, vr, ldvr, work, lwork, info FCONE FCONE) ; }
| ~ ^~~~~~
| )
R_meal.cpp:62:26: error: too few arguments to function 'void dgeev_(const char*, const char*, const int*, double*, const int*, double*, double*, double*, const int*, double*, const int*, double*, const int*, int*, size_t, size_t)'
62 | { F77_CALL(dgeev)(jobvl, jobvr, n, a, lda, wr, wi, vl, ldvl, vr, ldvr, work, lwork, info FCONE FCONE) ; }
| ^
In file included from C:/PROGRA~1/R/R-4.3/include/R_ext/Lapack.h:11,
from R_meal.cpp:58:
C:/PROGRA~1/R/R-4.3/include/R_ext/Lapack.h:1825:41: note: declared here
1825 | #define LAPACK_dgeev_base LAPACK_GLOBAL(dgeev,DGEEV)
| ^~~~~
C:/PROGRA~1/R/R-4.3/include/R_ext/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
12 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_
| ^~~~~~
C:/PROGRA~1/R/R-4.3/include/R_ext/Lapack.h:1826:6: note: in expansion of macro 'LAPACK_dgeev_base'
1826 | void LAPACK_dgeev_base(
| ^~~~~~~~~~~~~~~~~
R_meal.cpp: In function 'void meal_gesvd(const char*, const char*, const int*, const int*, double*, const int*, double*, double*, const int*, double*, const int*, double*, const int*, int*)':
R_meal.cpp:68:93: error: expected ')' before 'FCONE'
68 | { F77_CALL(dgesvd)(jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork, info FCONE FCONE) ; }
| ~ ^~~~~~
| )
R_meal.cpp:68:27: error: too few arguments to function 'void dgesvd_(const char*, const char*, const int*, const int*, double*, const int*, double*, double*, const int*, double*, const int*, double*, const int*, int*, size_t, size_t)'
68 | { F77_CALL(dgesvd)(jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork, info FCONE FCONE) ; }
| ^
C:/PROGRA~1/R/R-4.3/include/R_ext/Lapack.h:3390:42: note: declared here
3390 | #define LAPACK_dgesvd_base LAPACK_GLOBAL(dgesvd,DGESVD)
| ^~~~~~
C:/PROGRA~1/R/R-4.3/include/R_ext/lapacke_mangling.h:12:39: note: in definition of macro 'LAPACK_GLOBAL'
12 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_
| ^~~~~~
C:/PROGRA~1/R/R-4.3/include/R_ext/Lapack.h:3391:6: note: in expansion of macro 'LAPACK_dgesvd_base'
3391 | void LAPACK_dgesvd_base(
| ^~~~~~~~~~~~~~~~~~
make: *** [C:/PROGRA~1/R/R-4.3/etc/x64/Makeconf:277: R_meal.o] Error 1
ERROR: compilation failed for package 'pcaPP'
* removing 'C:/Program Files/R/R-4.3/library/pcaPP'
Warning message:
In install.packages("https://cran.r-project.org/src/contrib/pcaPP_2.0-3.tar.gz", :
installation of package ‘C:/Users/Rebelion/AppData/Local/Temp/RtmpeqbV6i/downloaded_packages/pcaPP_2.0-3.tar.gz’ had non-zero exit status
possible it's connected with blas/lapack
sources changes in R.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.