You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are interested in considering performing a Velocity analysis in Seurat.
I am having trouble installing the package for Velocyto.R. I am trying to work through Rstudio on Windows, but the same error persists, even though I have tried everything, including changing the path and installing boost.
(I also encounter the same error on Ubuntu with WSL2. Maybe Rstudio is the problem?)
In the past, a question was raised about installing Velocyto.R, but the response there did not solve the problem.
If anyone knows how to solve this, please help.
Thank you.
devtools::install_github("velocyto-team/velocyto.R")
Downloading GitHub repo velocyto-team/velocyto.R@HEAD
Skipping 1 packages not available: pcaMethods
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\KeiMiya\AppData\Local\Temp\RtmpMfGl0K\remotes65447a706f02\velocyto-team-velocyto.R-83e6ed9/DESCRIPTION' ...
─ preparing 'velocyto.R':
✔ checking DESCRIPTION meta-information ...
─ cleaning src
Warning in .write_description(db, ldpath) :
Unknown encoding with non-ASCII data: converting to ASCII
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'velocyto.R_0.6.tar.gz'
Install the package in 'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3
(because 'lib' is not specified)
installing source package 'velocyto.R' ...
** using staged installation
** libs
using C++ compiler: 'G__1.EXE (GCC) 12.3.0'
using C++11
g++ -std=gnu++11 -I"C:/PROGRA1/R/R-431.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/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"C:/PROGRA1/R/R-431.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c points_within.cpp -o points_within.o
g++ -std=gnu++11 -I"C:/PROGRA1/R/R-43~1.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c routines.cpp -o routines.o
routines.cpp: In function 'arma::sp_mat balanced_knn(const arma::mat&, int, int, bool, int)':
routines.cpp:16:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<d.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp:30:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
30 | for(int i=0;i<d.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp:35:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
35 | for(j=0;j<dsi.n_rows && p<k;j++) {
| ~^~~~~~~~~~~
routines.cpp:39:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
39 | if(l[m]>= maxl) { continue; } // element has already maxed out its neighbors
routines.cpp:43:9: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
43 | if(j==dsi.n_rows && p<k) {
| ~^~~~~~~~~~~~
routines.cpp:59:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
59 | for(int i=0;i<colptr.n_elem;i++) { colptr[i]=cc; cc+=k; }
| ~^~~~~~~~~~~~~~
routines.cpp: In function 'arma::mat colDeltaCor(const arma::mat&, const arma::mat&, int)':
routines.cpp:77:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
77 | for(int i=0;i<e.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp: In function 'arma::mat colDeltaCorSqrt(const arma::mat&, const arma::mat&, int)':
routines.cpp:89:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
89 | for(int i=0;i<e.n_cols;i++) {
| ^~~~~~~~~
routines.cpp: In function 'arma::mat colDeltaCorLog10(const arma::mat&, const arma::mat&, double, int)':
routines.cpp:102:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
102 | for(int i=0;i<e.n_cols;i++) {
| ^~~~~~~~~
routines.cpp: In function 'arma::mat colEuclid(const arma::mat&, const arma::mat&, int)':
routines.cpp:118:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
118 | for(int i=0;i<e.n_cols;i++) {
| ^~~~~~~~~
routines.cpp: In function 'arma::mat embArrows(const arma::mat&, const arma::sp_mat&, double, int)':
routines.cpp:147:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
147 | for(int i=0;i<emb.n_rows;i++) {
| ^~~~~~~~~~~
routines.cpp: In function 'arma::mat expectedExpressionShift(const arma::mat&, const arma::sp_mat&, int, double, int)':
routines.cpp:164:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
164 | for(int i=0;i<e.n_cols;i++) {
| ^~~~~~~~~
routines.cpp: In function 'Rcpp::DataFrame groupMotifs(Rcpp::DataFrame, int)':
routines.cpp:231:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
231 | for(int i=0;i<ci.size();i++) {
| ^~~~~~~~~~
g++ -shared -s -static-libgcc -o velocyto.R.dll tmp.def RcppExports.o points_within.o routines.o -lboost_filesystem -lboost_system -lstdc++ -LC:/PROGRA1/R/R-431.2/bin/x64 -lRlapack -LC:/PROGRA1/R/R-431.2/bin/x64 -lRblas -fopenmp -lgfortran -lm -lquadmath -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA1/R/R-431.2/bin/x64 -lR
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lboost_filesystem: No such file or directory
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lboost_system: No such file or directory
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'velocyto.R'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are interested in considering performing a Velocity analysis in Seurat.
I am having trouble installing the package for Velocyto.R. I am trying to work through Rstudio on Windows, but the same error persists, even though I have tried everything, including changing the path and installing boost.
(I also encounter the same error on Ubuntu with WSL2. Maybe Rstudio is the problem?)
In the past, a question was raised about installing Velocyto.R, but the response there did not solve the problem.
If anyone knows how to solve this, please help.
Thank you.
Install the package in 'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3
(because 'lib' is not specified)
** using staged installation
** libs
using C++ compiler: 'G__
1.EXE (GCC) 12.3.0'1/R/R-43using C++11
g++ -std=gnu++11 -I"C:/PROGRA
1.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o1/R/R-43g++ -std=gnu++11 -I"C:/PROGRA
1.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c points_within.cpp -o points_within.o1/R/R-43~1.2/include" -DNDEBUG -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/KeiMiya/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c routines.cpp -o routines.og++ -std=gnu++11 -I"C:/PROGRA
routines.cpp: In function 'arma::sp_mat balanced_knn(const arma::mat&, int, int, bool, int)':
routines.cpp:16:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<d.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp:30:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
30 | for(int i=0;i<d.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp:35:14: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
35 | for(j=0;j<dsi.n_rows && p<k;j++) {
| ~^~~~~~~~~~~
routines.cpp:39:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
39 | if(l[m]>= maxl) { continue; } // element has already maxed out its neighbors
routines.cpp:43:9: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
43 | if(j==dsi.n_rows && p<k) {
| ~^~~~~~~~~~~~
routines.cpp:59:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
59 | for(int i=0;i<colptr.n_elem;i++) { colptr[i]=cc; cc+=k; }
| ~^~~~~~~~~~~~~~
routines.cpp: In function 'arma::mat colDeltaCor(const arma::mat&, const arma::mat&, int)':
routines.cpp:77:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
77 | for(int i=0;i<e.n_cols;i++) {
| ~^~~~~~~~~
routines.cpp: In function 'arma::mat colDeltaCorSqrt(const arma::mat&, const arma::mat&, int)':
routines.cpp:89:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
89 | for(int i=0;i<e.n_cols;i++) {
|
^~~~~~~~~1.2/bin/x64 -lRroutines.cpp: In function 'arma::mat colDeltaCorLog10(const arma::mat&, const arma::mat&, double, int)':
routines.cpp:102:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
102 | for(int i=0;i<e.n_cols;i++) {
|
^~~~~~~~~1/R/R-43routines.cpp: In function 'arma::mat colEuclid(const arma::mat&, const arma::mat&, int)':
routines.cpp:118:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
118 | for(int i=0;i<e.n_cols;i++) {
|
^~~~~~~~~1.2/bin/x64 -lRblas -fopenmp -lgfortran -lm -lquadmath -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRAroutines.cpp: In function 'arma::mat embArrows(const arma::mat&, const arma::sp_mat&, double, int)':
routines.cpp:147:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
147 | for(int i=0;i<emb.n_rows;i++) {
|
^~~~~~~~~~~1/R/R-43routines.cpp: In function 'arma::mat expectedExpressionShift(const arma::mat&, const arma::sp_mat&, int, double, int)':
routines.cpp:164:16: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
164 | for(int i=0;i<e.n_cols;i++) {
|
^~~~~~~~~1.2/bin/x64 -lRlapack -LC:/PROGRAroutines.cpp: In function 'Rcpp::DataFrame groupMotifs(Rcpp::DataFrame, int)':
routines.cpp:231:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
231 | for(int i=0;i<ci.size();i++) {
|
^~~~~~~~~~1/R/R-43g++ -shared -s -static-libgcc -o velocyto.R.dll tmp.def RcppExports.o points_within.o routines.o -lboost_filesystem -lboost_system -lstdc++ -LC:/PROGRA
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lboost_filesystem: No such file or directory
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lboost_system: No such file or directory
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'velocyto.R'
Beta Was this translation helpful? Give feedback.
All reactions