Closed andrie closed 7 years ago
I am trying to install your package using:
devtools::install_github('dselivanov/LSHR')
I get:
* installing *source* package 'LSHR' ... ** libs c:/Rtools/mingw_64/bin/g++ -std=c++0x -I"C:/R/R-33~1.3/include" -DNDEBUG -I"C:/Users/adevries/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o c:/Rtools/mingw_64/bin/g++ -std=c++0x -I"C:/R/R-33~1.3/include" -DNDEBUG -I"C:/Users/adevries/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c hash.cpp -o hash.o c:/Rtools/mingw_64/bin/g++ -std=c++0x -I"C:/R/R-33~1.3/include" -DNDEBUG -I"C:/Users/adevries/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c lsh.cpp -o lsh.o c:/Rtools/mingw_64/bin/g++ -std=c++0x -I"C:/R/R-33~1.3/include" -DNDEBUG -I"C:/Users/adevries/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c random_projection.cpp -o random_projection.o random_projection.cpp: In function 'Rcpp::IntegerVector project_spmat(const S4&, int, int, int)': random_projection.cpp:65:11: error: 'uint' was not declared in this scope for(uint hh = 0; hh < n; hh++) { ^ random_projection.cpp:65:24: error: 'hh' was not declared in this scope for(uint hh = 0; hh < n; hh++) { ^ make: *** [random_projection.o] Error 1 Warning: running command 'make -f "Makevars" -f "C:/R/R-33~1.3/etc/x64/Makeconf" -f "C:/R/R-33~1.3/share/make/winshlib.mk" -f "C:/Users/adevries/Documents/.R/Makevars" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="LSHR.dll" WIN=64 TCLBIN=64 OBJECTS="RcppExports.o hash.o lsh.o random_projection.o"' had status 2 ERROR: compilation failed for package 'LSHR' * removing 'C:/Users/adevries/Documents/R/win-library/3.3/LSHR'
I have RTools-3.4 installed and this is on the path.
sessionInfo:
R version 3.3.3 (2017-03-06) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] httr_1.2.1 R6_2.2.0 tools_3.3.3 withr_1.0.2 curl_2.6 [6] memoise_1.1.0 git2r_0.18.0 digest_0.6.12 devtools_1.12.0
I am trying to install your package using:
I get:
I have RTools-3.4 installed and this is on the path.
sessionInfo: