-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on installing uwot under Microsoft R-4.1.2 #124
Comments
I also try to install it using source file, still get the same error ,
*** arch - i386 r_uwot.cpp:137:19:
|
@yingyin2019 please upgrade R to the latest version (4.4.0). R 4.3.3 might also work. |
Hi,
I'm trying to install uwot on my PC R-4.1.2.
error message as following
1: All
2: CRAN packages only
3: None
4: Rcpp (1.0.11.6 -> 1.0.12) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 3
-- R CMD build -----------------------------------------------------------------------------------------------------
v checking for file 'C:\Users\Administrator\AppData\Local\Temp\Rtmp0CF9cz\remotes6ed0454f3667\jlmelville-uwot-cd38605/DESCRIPTION' (437ms)
preparing 'uwot': (1.6s)
v checking DESCRIPTION meta-information ...
cleaning src
installing the package to process help pages
-----------------------------------
installing source package 'uwot' ...
** using non-staged installation
** libs
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-411.2/include" -DNDEBUG -I../inst/include/ -I'C:/Program Files/R/R-4.1.2/library/dqrng/include' -I'C:/Program Files/R/R-4.1.2/library/Rcpp/include' -I'C:/Program Files/R/R-4.1.2/library/RcppAnnoy/include' -I'C:/Program Files/R/R-4.1.2/library/RcppProgress/include' -DRCPP_NO_RTTI -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -fdiagnostics-color=always -c RcppExports.cpp -o RcppExports.o"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-411.2/include" -DNDEBUG -I../inst/include/ -I'C:/Program Files/R/R-4.1.2/library/dqrng/include' -I'C:/Program Files/R/R-4.1.2/library/Rcpp/include' -I'C:/Program Files/R/R-4.1.2/library/RcppAnnoy/include' -I'C:/Program Files/R/R-4.1.2/library/RcppProgress/include' -DRCPP_NO_RTTI -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -fdiagnostics-color=always -c connected_components.cpp -o connected_components.o"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-411.2/include" -DNDEBUG -I../inst/include/ -I'C:/Program Files/R/R-4.1.2/library/dqrng/include' -I'C:/Program Files/R/R-4.1.2/library/Rcpp/include' -I'C:/Program Files/R/R-4.1.2/library/RcppAnnoy/include' -I'C:/Program Files/R/R-4.1.2/library/RcppProgress/include' -DRCPP_NO_RTTI -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -fdiagnostics-color=always -c nn_parallel.cpp -o nn_parallel.o"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-411.2/include" -DNDEBUG -I../inst/include/ -I'C:/Program Files/R/R-4.1.2/library/dqrng/include' -I'C:/Program Files/R/R-4.1.2/library/Rcpp/include' -I'C:/Program Files/R/R-4.1.2/library/RcppAnnoy/include' -I'C:/Program Files/R/R-4.1.2/library/RcppProgress/include' -DRCPP_NO_RTTI -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -fdiagnostics-color=always -c perplexity.cpp -o perplexity.o"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-411.2/include" -DNDEBUG -I../inst/include/ -I'C:/Program Files/R/R-4.1.2/library/dqrng/include' -I'C:/Program Files/R/R-4.1.2/library/Rcpp/include' -I'C:/Program Files/R/R-4.1.2/library/RcppAnnoy/include' -I'C:/Program Files/R/R-4.1.2/library/RcppProgress/include' -DRCPP_NO_RTTI -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -Wall -pedantic -fdiagnostics-color=always -c r_uwot.cpp -o r_uwot.or_uwot.cpp:n member function 'std::unique_ptruwot::Optimizer UmapFactory::create_optimizer(Rcpp::List)
r_uwot.cpp:137:19:error: make_uniqueis not a member of 'std
return std::make_unique::Adam>(alpha, beta1, beta2, eps,
^~~~~~~~~~~
r_uwot.cpp:137:19:note: std::make_uniqueis defined in header ' did you forget to '#include
r_uwot.cpp:31:1:
+#include
r_uwot.cpp:137:19:
return std::make_unique::Adam>(alpha, beta1, beta2, eps,
^~~~~~~~~~~
r_uwot.cpp:137:41:error: pected primary-expression before '>en
return std::make_uniqueuwot::Adama, beta1, beta2, eps,
^
r_uwot.cpp:137:50:warning: operand of comma operator has no effect [-Wunused-value
return std::make_uniqueuwot::Adam(alpha, beta1a2, eps,
^~~~~
r_uwot.cpp:137:57:warning: operand of comma operator has no effect [-Wunused-value
return std::make_uniqueuwot::Adam(alpha, beta1, beta2,
^~~~~
r_uwot.cpp:137:64:warning: operand of comma operator has no effect [-Wunused-value
return std::make_uniqueuwot::Adam(alpha, beta1, beta2, eps
^~~
r_uwot.cpp:138:63:warning: operand of comma operator has no effect [-Wunused-value
head_embedding.size()
^
r_uwot.cpp:145:19:error: make_uniqueis not a member of 'std
return std::make_unique::Sgd>(alpha);
^~~~~~~~~~~
r_uwot.cpp:145:19:note: std::make_uniqueis defined in header ' did you forget to '#include
r_uwot.cpp:145:40:error: pected primary-expression before '>en
return std::make_uniqueuwot::Sgda);
^
make: *** [C:/PROGRA
1/R/R-411.2/etc/x64/Makeconf:245: r_uwot.o] Error 1ERROR: compilation failed for package 'uwot'
removing 'C:/Users/ADMINI~1/AppData/Local/Temp/Rtmpsxxuq2/Rinst24e027b53b9c/uwot'
-----------------------------------
ERROR: package installation failed
Error: Failed to install 'uwot' from GitHub:
! System command 'Rcmd.exe' failed
i hope someone may kindly help with my issue.
regards,
Ying
The text was updated successfully, but these errors were encountered: