bgreenawald / projmanr

Project Management Tools in R
12 stars 11 forks source link

Issues compiling on Solaris #8

Open bgreenawald opened 5 years ago

bgreenawald commented 5 years ago

I was informed that the package is having an issue compiling on Solaris.

Error message found here.

bgreenawald commented 5 years ago

Including the full error message below in case the original link becomes unavailable.


* installing to library ‘/home/ripley/R/Lib32-dev’ * installing source package ‘projmanr’ ... package ‘projmanr’ successfully unpacked and MD5 sums checked libs /opt/csw//bin/g++ -std=gnu++11 -I"/home/ripley/R/gcc-devel/include" -DNDEBUG -I"/home/ripley/R/Lib32-dev/Rcpp/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c RcppExports.cpp -o RcppExports.o /opt/csw//bin/g++ -std=gnu++11 -I"/home/ripley/R/gcc-devel/include" -DNDEBUG -I"/home/ripley/R/Lib32-dev/Rcpp/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c simul.cpp -o simul.o In file included from /opt/csw/include/c++/5.2.0/utility:70:0, from /opt/csw/include/c++/5.2.0/unordered_map:38, from /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/platform/compiler.h:153, from /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/r/headers.h:59, from /home/ripley/R/Lib32-dev/Rcpp/include/RcppCommon.h:29, from /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp.h:27, from simul.cpp:1: /opt/csw/include/c++/5.2.0/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = std::cxx11::basic_string&; _U2 = Rcpp::internal::generic_name_proxy<19, Rcpp::PreserveStorage>; = void; _T1 = std::cxx11::basic_string; _T2 = Rcpp::Vector<14, Rcpp::PreserveStorage>]’: simul.cpp:119:65: required from here /opt/csw/include/c++/5.2.0/bits/stl_pair.h:145:64: error: call of overloaded ‘Vector(Rcpp::internal::generic_name_proxy<19, Rcpp::PreserveStorage>)’ is ambiguous : first(std::forward<_U1>(x)), second(std::forward<_U2>(y)) { } ^ In file included from /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/Vector.h:52:0, from /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp.h:40, from simul.cpp:1: /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:239:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(std::initializer_list<typename Rcpp::traits::init_type::type>) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage; typename Rcpp::traits::init_type::type = double] Vector( std::initializer_list list ) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:133:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::Dimension&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage] Vector( const Dimension& dims) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:128:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const int&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage] Vector( const int& size ) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:107:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const char) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage] Vector( const char st ) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:101:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const string&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage; std::cxx11::string = std::cxx11::basic_string] Vector( const std::string& st ){ ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:82:14: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::no_init_vector&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage] explicit Vector( const no_init_vector& obj) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:73:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(SEXP) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage; SEXP = SEXPREC*] Vector( SEXP x ) { ^ /home/ripley/R/Lib32-dev/Rcpp/include/Rcpp/vector/Vector.h:65:5: note: candidate: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::Vector<RTYPE, StoragePolicy>&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage] Vector( const Vector& other){ ^ ** Error code 1 make: Fatal error: Command failed for target `simul.o' Current working directory /tmp/RtmpflaGWS/R.INSTALL598457ea5c6f/projmanr/src ERROR: compilation failed for package ‘projmanr’ \ removing ‘/home/ripley/R/Lib32-dev/projmanr’

real 19.3 user 14.2 sys 2.8