Skip to content
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

Issues compiling on Solaris #8

Open
bgreenawald opened this issue Jan 7, 2019 · 1 comment
Open

Issues compiling on Solaris #8

bgreenawald opened this issue Jan 7, 2019 · 1 comment
Assignees

Comments

@bgreenawald
Copy link
Owner

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

Error message found here.

@bgreenawald
Copy link
Owner Author

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<init_type> 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant