errors compiling Rgraphviz
1
0
Entering edit mode
Paul Shannon ★ 1.1k
@paul-shannon-578
Last seen 9.6 years ago
(This message may be a duplicate of one you received earlier. I apologize if you receive two copies. - Paul) Hello, After installing and building graphviz-1.10.20031218.0515 on my Red Hat 8 Linux box, and then calling getBioC (relLevel="release", libName="graph") Running getBioC version 1.2.46.... I run into compile problems with Rgraphviz, in which the main error seems to be: /local/include/graphviz/globals.h:80: parse error before "FIG_CodeGen" when Rgraphviz.c is compiled. I apologize if this is my dumb mistake. Can anyone help? A more complete snapshot of the compiler error report appears below. Thanks, - Paul ** libs gcc -I/local/lib/R/include `dotneato-config --cflags` -D__NO_MATH_INLINES -mieee-fp -Wall -fPIC -g -O2 -c Rgraphviz.c -o Rgraphviz.o In file included from /local/include/graphviz/render.h:49, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/macros.h:28:1: warning: "NEW" redefined In file included from common.h:11, from Rgraphviz.c:1: /local/lib/R/include/Rdefines.h:129:1: warning: this is the location of the previous definition In file included from /local/include/graphviz/types.h:11, from /local/include/graphviz/render.h:51, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/pathplan.h:11: warning: ignoring #pragma prototyped In file included from /local/include/graphviz/pathplan.h:16, from /local/include/graphviz/types.h:11, from /local/include/graphviz/render.h:51, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/pathgeom.h:11: warning: ignoring #pragma prototyped In file included from /local/include/graphviz/render.h:52, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/graph.h:11: warning: ignoring #pragma prototyped In file included from /local/include/graphviz/render.h:53, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/globals.h:16:10: #include expects "FILENAME" or <filename> In file included from /local/include/graphviz/render.h:53, from common.h:20, from Rgraphviz.c:1: /local/include/graphviz/globals.h:80: parse error before "FIG_CodeGen" /local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `FIG_CodeGen' /local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `GD_CodeGen' /local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `memGD_CodeGen'
Rgraphviz Rgraphviz • 813 views
ADD COMMENT
0
Entering edit mode
Jeff Gentry ★ 3.9k
@jeff-gentry-12
Last seen 9.6 years ago
> After installing and building graphviz-1.10.20031218.0515 on my Red > Hat 8 Linux box, and then calling Well, there seems to be something in general wrong with that particular snapshot of graphviz-current (in fact, I was just working with graphviz-1.10.20031222.0515 and did not encounter those errors). However, there was a change to some of the underlying structures in the data types between the 1.10 release version of graphviz and the graphviz-current branch - at least one of which is incompatable with the current versions of Rgraphviz (1.3 and devel). I would recommend installing Graphviz version 1.10 (the official release version) and trying gaain. Thanks -J
ADD COMMENT
0
Entering edit mode
> Well, there seems to be something in general wrong with that particular > snapshot of graphviz-current (in fact, I was just working with > graphviz-1.10.20031222.0515 and did not encounter those errors). However, I take that back - I definitely am getting the FIG_CodeGen parse error in the 20031222 version of Graphviz, in trying to track down the root of the compatability issues between Rgrahpviz & graphviz-current I missed that. My original comment does still stand though, to use Graphviz 1.10 release. Thanks -J
ADD REPLY

Login before adding your answer.

Traffic: 705 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6