Created
February 25, 2017 02:44
-
-
Save kylebaron/aa63a8ba0d7071a2f44ea181b7d6316c to your computer and use it in GitHub Desktop.
RcppTOML Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include/ -DCPPTOML_USE_MAP -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Users/kyleb/Rlibs/lib/Rcpp/include" -fPIC -Wall -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o | |
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include/ -DCPPTOML_USE_MAP -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Users/kyleb/Rlibs/lib/Rcpp/include" -fPIC -Wall -mtune=core2 -g -O2 -c parse.cpp -o parse.o | |
In file included from parse.cpp:22: | |
In file included from ../inst/include/cpptoml.h:10: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:1720:21: error: conversion from 'Rcpp::internal::generic_proxy<19>' to 'double' is ambiguous | |
*__result = *__first; | |
^~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:1744:19: note: in instantiation of function template specialization 'std::__1::__copy<Rcpp::internal::Proxy_Iterator<Rcpp::internal::generic_proxy<19> >, double *>' requested here | |
return _VSTD::__copy(__unwrap_iter(__first), __unwrap_iter(__last), __unwrap_iter(__result)); | |
^ | |
/Users/kyleb/Rlibs/lib/Rcpp/include/Rcpp/vector/Vector.h:212:14: note: in instantiation of function template specialization 'std::__1::copy<Rcpp::internal::Proxy_Iterator<Rcpp::internal::generic_proxy<19> >, double *>' requested here | |
std::copy( first, last, begin() ) ; | |
^ | |
parse.cpp:162:33: note: in instantiation of function template specialization 'Rcpp::Vector<14, PreserveStorage>::Vector<Rcpp::internal::Proxy_Iterator<Rcpp::internal::generic_proxy<19> > >' requested here | |
Rcpp::NumericVector v(ll.begin(), ll.end()); | |
^ | |
/Users/kyleb/Rlibs/lib/Rcpp/include/Rcpp/vector/generic_proxy.h:58:26: note: candidate function [with U = double] | |
template <typename U> operator U() const { | |
^ | |
/Users/kyleb/Rlibs/lib/Rcpp/include/Rcpp/vector/generic_proxy.h:63:4: note: candidate function | |
operator bool() const { return ::Rcpp::as<bool>(get()) ; } | |
^ | |
/Users/kyleb/Rlibs/lib/Rcpp/include/Rcpp/vector/generic_proxy.h:64:4: note: candidate function | |
operator int() const { return ::Rcpp::as<int>(get()) ; } | |
^ | |
In file included from parse.cpp:22: | |
In file included from ../inst/include/cpptoml.h:10: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:1720:19: error: assigning to 'double' from incompatible type 'Rcpp::internal::generic_proxy<19>' | |
*__result = *__first; | |
^ ~~~~~~~~ | |
2 errors generated. | |
make: *** [parse.o] Error 1 | |
ERROR: compilation failed for package ‘RcppTOML’ | |
* removing ‘/Users/kyleb/Rlibs/lib/RcppTOML’ | |
Warning in install.packages : | |
installation of package ‘RcppTOML’ had non-zero exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment