On 06.10.2013 01:42, Cleber N.Borges wrote:
I tried to follow the intrusions in http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Building-the-bitmap-files when I type make bitmapdll (in gnuwin directory) or make (in gnuwin/bitmap dir) the libpng and libjpeg seems to compile but libtiff reclaims by png.h file. I set in the MkRules.local: ----------------------------------------- # optional overrides for making bitmapdll: names of source directories JPEGDIR = C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9 PNGDIR = C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng TIFFDIR = C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff The error snippet: ----------------------- make CC='gcc -std=gnu99 -m32' AR='ar' RANLIB=ranlib -C C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -f ../Makefile.tiff JPEGDIR=C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9 gcc -std=gnu99 -m32 -DHAVE_PNG -DHAVE_JPEG -DHAVE_TIFF -I. -I../../extra/zlib -I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng
Not sure what you actually configured elsewhere, but -I./C:/R..... is incorrect, it should be -I C:/R...... Best, Uwe Ligges
-IC:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9 -I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -I../../include -O3 -Wall -pedantic -c rbitmap.c -o rbitmap.o rbitmap.c:53:17: fatal error: png.h: No such file or directory compilation terminated. make[1]: *** [rbitmap.o] Error 1 make: *** [all] Error 2 so, I don't understand the error because *The png.h is in C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng* I thank for some help cleber ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.