[R-pkg-devel] Rcpp with clang++ -stdlib=libc++ ?

2020-09-11 Thread Dr . Jens Oehlschlägel
I can compile a package under clang++ with -stdlib=libstdc++, but with -stdlib=libc++ I get " In file included from /home/jo/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp/r/headers.h:67: /home/jo/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp/platform/compiler.h:100:10: fatal error:

Re: [R-pkg-devel] Fixing travis build fail due to fftwtools fatal error (fftw3.h: No such file or directory)

2020-09-11 Thread Dirk Eddelbuettel
Hi Karim, On 11 September 2020 at 13:09, Karim Rahim wrote: | Thanks for resolving this! It's been awhile since I've worked on this... | | So for dependencies, I'd like to keep it as simple as possible. I agree | fftw3 may need to be updated. | | It's my understanding that if one were to insta

Re: [R-pkg-devel] Fixing travis build fail due to fftwtools fatal error (fftw3.h: No such file or directory)

2020-09-11 Thread Karim Rahim
Hi Dirk, Thanks for resolving this! It's been awhile since I've worked on this... So for dependencies, I'd like to keep it as simple as possible. I agree fftw3 may need to be updated. It's my understanding that if one were to install the latest fftw (3.3.8) from source then it would expose the h

Re: [R-pkg-devel] Fixing travis build fail due to fftwtools fatal error (fftw3.h: No such file or directory)

2020-09-11 Thread Dirk Eddelbuettel
On 10 September 2020 at 14:14, Marta Karaś wrote: | Adding the following to .travis.yml: | | before_install: | - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -y install | libfftw3-dev ; fi | | did the trick! I think that is an example of the issue discussed in this blog post: http