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

ERROR: compilation failed for package ‘gridtext’ with TRAVIS #11

Closed
TuQmano opened this issue Aug 18, 2020 · 2 comments
Closed

ERROR: compilation failed for package ‘gridtext’ with TRAVIS #11

TuQmano opened this issue Aug 18, 2020 · 2 comments

Comments

@TuQmano
Copy link

TuQmano commented Aug 18, 2020

I have problems with {gridtext} (as a dependency on {ggtext}) in the package{polAr}compiled in TRAVIS and I cannot resolve the error.

** package ‘gridtext’ successfully unpacked and MD5 sums checked ** using staged installation ** libs g++ -std=gnu++11 -I"/home/travis/R-bin/lib/R/include" -DNDEBUG -I'/home/travis/R/Library/Rcpp/include' -I'/home/travis/R/Library/testthat/include' -I/home/travis/R-bin/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from gridtext_types.h:12:0, from RcppExports.cpp:4: grid-renderer.h: In member function ‘void GridRenderer::raster(Rcpp::RObject, Length, Length, Length, Length, bool, const GraphicsContext&)’: grid-renderer.h:61:94: error: no matching function for call to ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::Vector(int, bool&, const GraphicsContext&)’ NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)

COMPLETE LOG: https://travis-ci.org/github/electorArg/polAr/jobs/719017528#L1919

I don't know how to better report this bug. Sorry in advance and thank you!

@clauswilke
Copy link
Collaborator

You're using trusty as your build environment, which was released in 2014. My guess would be that your C++ compiler is too old. Try using a newer build environment (e.g., xenial) or update your C++ compiler as part of your build and see if that helps.

@TuQmano
Copy link
Author

TuQmano commented Aug 18, 2020

Thanks!
It worked perfectly with xenial https://travis-ci.org/github/electorArg/polAr

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

No branches or pull requests

2 participants