next up previous contents index
Next: Building Tcl/Tk Support Up: Compiling R from Source Previous: Compiling R from Source   Contents   Index


Building Bitmap Device Support

You will need to build the bitmap device support, Rbitmap.dll, manually. You need to unpack the libpng and jpeg sources that you downloaded earlier. They must be unpacked into sub-directories of R-1.6.0/src/gnuwin32/bitmap. For example, assuming your libpng-1.2.4.tar.gz and jpegsrc.v6b.tar.gz are saved in the R-1.6.0/src/gnuwin32/bitmap directory, then you may type:
tar zxvf libpng-1.2.4.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
mv libpng-1.2.4 libpng
Note that if your jpeg version is not 6b, you need to edit the JPEGDIR definition in R-1.6.0/src/gnuwin32/bitmap/Makefile. Once you have done this, type:
make bitmapdll
under R-1.6.0/src/gnuwin32/.

Ko-Kang Wang 2002-10-10