igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] igraph 1.1.2 compile error with R


From: Jannick
Subject: Re: [igraph] igraph 1.1.2 compile error with R
Date: Fri, 18 Aug 2017 15:50:17 +0200

On Fri, 18 Aug 2017 12:57:53 +0300, Panner wrote:

> gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG     -DUSING_R -I.
> -Iinclude -Ics -Iglpk -Iplfit -ICHOLMOD/Include -IAMD/Include - 
> ICOLAMD/Include -ISuiteSparse_config -g -O2 -fstack-protector-strong - 
> Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g - 
> DNDEBUG -DNPARTITION -DNTIMER -DNCAMD -DNPRINT - 
> DPACKAGE_VERSION=\"1.1.1\" -DINTERNAL_ARPACK - 
> DIGRAPH_THREAD_LOCAL=/**/ -fpic  -g -O2 -fstack-protector-strong - 
> Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
> foreign-graphml.c -o foreign-graphml.o
> foreign-graphml.c: In function ‘igraph_write_graph_graphml’:
> foreign-graphml.c:1408:46: error: expected ‘)’ before 
> ‘GRAPHML_NAMESPACE_URI’
>    ret=fprintf(outstream, "<graphml xmlns=\"" GRAPHML_NAMESPACE_URI 
> "\"\n");
>                                               ^
> foreign-graphml.c:1412:59: error: expected ‘)’ before 
> ‘GRAPHML_NAMESPACE_URI’
>    ret=fprintf(outstream, "         xsi:schemaLocation=\""
> GRAPHML_NAMESPACE_URI "\n");
>                                                            ^
> foreign-graphml.c:1414:38: error: expected ‘)’ before 
> ‘GRAPHML_NAMESPACE_URI’
>    ret=fprintf(outstream, "         " GRAPHML_NAMESPACE_URI
> "/1.0/graphml.xsd\">\n");

You could try to replace the file foreign-graphml.c with the latest version at 
https://github.com/igraph/igraph/blob/master/src/foreign-graphml.c (click 
'Raw' to see the plain file for easy download) which contains an amendment 
regarding this kind of compilation error.

Thanks,
J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]