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
I guess you need to update your gcc to build FeatureHashing. In my last experience, I cannot build it with gcc 4.6 on our Centos server. But it works with gcc 4.8.
Hi,
Pls check the below install error. The dependencies of Rcpp (≥ 0.11), Matrix, digest (≥ 0.6.8), magrittr (≥ 1.5) are all satisfied.
[mm@x01tbipapp3a R]$ sudo R CMD INSTALL FeatureHashing_0.9.1.1.tar.gz
** package ‘FeatureHashing’ successfully unpacked and MD5 sums checked
** libs
g++ -std=c++0x -I/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/include -DNDEBUG -I/usr/local/include -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/Rcpp/include" -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/digest/include" -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/BH/include" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=c++0x -I/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/include -DNDEBUG -I/usr/local/include -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/Rcpp/include" -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/digest/include" -I"/usr/lib64/RRO-8.0.2/R-3.1.2/lib64/R/library/BH/include" -fpic -g -O2 -c as.cpp -o as.o
as.cpp: In function ‘void pair_sort(int_, double_, size_t)’:
as.cpp:26: error: expected primary-expression before ‘[’ token
as.cpp:26: error: expected primary-expression before ‘]’ token
as.cpp:26: error: expected primary-expression before ‘a’
as.cpp:26: error: expected primary-expression before ‘b’
make: *** [as.o] Error 1
ERROR: compilation failed for package ‘FeatureHashing’
[mm@x01tbipapp3a R]$
Thanks,
Manish
The text was updated successfully, but these errors were encountered: