Skip to content

[R-pkg-devel] lfftw3 error

2 messages · Rampal S. Etienne

#
When trying to build a package with RStudio (newest R-devel and Rtools 
installed, and all packages updated), I get the following error.

C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: 
cannot find -lfftw3 collect2.exe: error: ld returned 1 exit status no 
DLL was created

I suppose lfftw3 should be included in Rtools or in the package? If not, 
how do I add this, under Windows?

Kind regards,

Rampal Etienne
#
Problem solved:

1. I installed the fftw library dlls from http://www.fftw.org/

2. I told the package where to find this library in the makevars.win file.

Regards,

Rampal
On 22-Dec-16 11:28, Rampal Etienne wrote: