[Rd] Failed to install imager

jupiter jupiter.hce at gmail.com
Thu Jan 21 06:25:40 CET 2016


I failed to run install.packages("imager")  in CentOS 6, the R version is

g++ -shared -L/usr/local/r/3.2.2/lib64/R/lib -L/usr/local/lib64 -o
imager.so RcppExports.o colourspace.o display.o drawing.o filtering.o
interpolation.o morphology.o transformations.o utils.o wrappers.o -lX11
-lfftw3 -L/usr/local/r/3.2.2/lib64/R/lib -lR
/usr/bin/ld: cannot find -lfftw3

I checked imager src/Makevars.win:
PKG_LIBS += -L$(LIB_FFTW)/lib -lgdi32 -lfftw3-3 $(RCPP_LDFLAGS)

And I've already added LIB_FFTW to my fftw library, what I am still missing?

Thank you.

Kind regards,

- jupiter

	[[alternative HTML version deleted]]

More information about the R-devel mailing list