Re: [igraph] Cygwin -> Windows compilation - again.
From:
Mark McClure
Subject:
Re: [igraph] Cygwin -> Windows compilation - again.
Date:
Tue, 10 Mar 2009 15:31:17 -0400
Tamas wrote: > >I'd try recompiling igraph as follows: > > > > ./configure > > CFLAGS=-mno-cygwin CXXFLAGS=-mno-cygwin make
Well, I guessed that you meant: ./configure CFLAGS=-mno-cygwin CXXFLAGS=-mno-cygwin make
Doing this way, I saw -mno-cygwin flags during the compilation, but not when I did it the way you originally wrote it. This seems good. Unfortunately, I now get the following compilation error:
gcc -DHAVE_CONFIG_H -I. -I.. -mno-cygwin -I/usr/include/libxml2 -Wall -mno-cygw in -I/usr/include/libxml2 -MT libigraph_la-foreign-graphml.lo -MD -MP -MF .deps/ libigraph_la-foreign-graphml.Tpo -c foreign-graphml.c -DDLL_EXPORT -DPIC -o .li bs/libigraph_la-foreign-graphml.o In file included from foreign-graphml.c:34: /usr/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such file or directory In file included from foreign-graphml.c:34: /usr/include/libxml2/libxml/encoding.h:136: error: parse error before "iconv_t" /usr/include/libxml2/libxml/encoding.h:136: warning: no semicolon at end of stru ct or union /usr/include/libxml2/libxml/encoding.h:137: warning: type defaults to `int' in d eclaration of `iconv_out' /usr/include/libxml2/libxml/encoding.h:137: warning: data definition has no type or storage class make[3]: *** [libigraph_la-foreign-graphml.lo] Error 1 make[3]: Leaving directory `/home/Student/igraph-0.5.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/Student/igraph-0.5.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Student/igraph-0.5.1' make: *** [all] Error 2