igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] [R-igraph_0.5.3/Win] Error during compilation - encoding.h


From: Gábor Csárdi
Subject: Re: [igraph] [R-igraph_0.5.3/Win] Error during compilation - encoding.h is "missing"
Date: Tue, 27 Apr 2010 17:19:28 +0200

Hi,

add -I/libxml2-2.7.6.win32/include to the PKG_CPPFLAGS in
Makefile.win. Setting LIB_XML apparently works for the CRAN windows
package building service, but I remember that it never actually worked
properly for me. I always had to add the include directory to
PKG_CPPFLAGS.

Maybe you need '/' instead of '\'. I haven't built a binary windows
package by hand for a while...

Gabor

2010/4/27 Łukasz Ręcławowicz <address@hidden>:
> Hi,
>
> I got this error:
>
> foregin-graphml.c:35:22: fatal error: encoding.h: No such file or directory
> compilation terminated.
>
> This file is in \libxml2-2.7.6.win32\include\libxml.
> foregin-graphml.c looks like this
> 34 #if HAVE_LIBXML == 1
> 35 #include <libxml/encoding.h>
> 36 #include <libxml/parser.h>
> --
> Miłego dnia
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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