Displaying 5 results from an estimated 5 matches for "have_png".
2011 Apr 18
4
How to get R to compile with PNG support
Dear R devel list,
Good morning; I'm with the Sage (http://www.sagemath.org) project.
(Some of you might have seen my talk on this at last summer's useR
conference).
We have some rudimentary support for using R graphics in various
cases, which has proved useful to many of our users who want to go
back and forth between R and other capabilities within Sage.
Unfortunately, the way we
2001 Feb 15
3
who frees dd and xd in X11_Open?
...y
thinking. So first try goes to r-devel... I find the following
comment in X11_Open () (src/unix/X11/devX11.c):
/* if we have to bail out with "error", then must free(dd) and free(xd) */
A couple lines down, there is:
if (!strncmp(dsp, "png::", 5)) {
FILE *fp;
#ifndef HAVE_PNG
error("No png support in this version of R");
#endif
if (!(fp = R_fopen(R_ExpandFileName(dsp+5), "w")))
error("could not open PNG file `%s'", dsp+6);
...
So what does the comment imply? If error jumps out to the toplevel
without giving X11DeviceDriver...
2001 Nov 18
1
Configuration: libpng needs zlib, but ...
...e reported libpng as "not found" although a
recent version exists.
Further looking into this issue told me, that the test failed because
the test
from R.m4
AC_CHECK_LIB(png, png_create_write_struct, [
BITMAP_LIBS="${BITMAP_LIBS} -lpng -lz"
AC_DEFINE(HAVE_PNG)
], , ${LIBS})
], AC_MSG_RESULT([no]))
])
did fail:
gcc.exe -o conftest.exe -g -m486 -Zmt -Ig:/include -I/xfree86/include
-Zmt -Zcrtdll -Zsysv-signals conftest.c -lpng -lsocket -lreadline -ldl
-lncurses -lm -lcExt
g:\lib/png.a(pngwrite.o): Undefined symbol _deflateEnd referenced...
2000 Aug 17
2
Install Error on SGI Irix 6.5 (PR#637)
Hi,
I'm using R since Version 0.99 on a SGI Indigo 2 with Irix 6.5. I could compile
all Versions of R until 1.1.0.
When I try to compile Version 1.1.0 or 1.1.1 I get an error in the directory
/R-1.1.1/src/unix/X11. Trying to compile the file rbitmap.c in this directory
with the gcc compiler command
gcc -I. -I../../../src/include -I../../../src/include
-I../../../src/include/R_ext
2006 Feb 09
1
make: Target `all' not remade because of errors. (PR#8585)
Full_Name: Je Cade
Version: R-2.2.1
OS: RedHat 9
Submission from: (NULL) (129.49.108.173)
I followed the instructions. tar -xvf, configure, then make.
I get these error messages at the end of make and with make check.
==================================================================
==================================================================
In file included from rbitmap.c:45: