Do you know when/if the brew install for igraph will be back? I tried to get that working, but it looks like the igraph formula was removed recently from brew.
Thanks, j On Wednesday, April 17, 2013 11:00:01 AM UTC-7, Gábor Csárdi wrote: > > Please stay on the list. Thanks. More below. > > On Wed, Apr 17, 2013 at 1:05 PM, fernando martinez > <[email protected]<javascript:> > > wrote: > >> So I fixed the gcc issue. Symlinks. >> >> Now when I run make i get this: >> >> make all-recursive >> Making all in src >> make all-am >> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/g++ >> -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/libxml2 -I../include >> -I../include -Wall -I../optional/glpk -g -O2 -I/usr/include/libxml2 -MT >> libigraph_la-games.lo -MD -MP -MF .deps/libigraph_la-games.Tpo -c -o >> libigraph_la-games.lo `test -f 'games.c' || echo './'`games.c >> libtool: compile: /usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 >> -I/usr/include/libxml2 -I../include -I../include -Wall -I../optional/glpk >> -g -O2 -I/usr/include/libxml2 -MT libigraph_la-games.lo -MD -MP -MF >> .deps/libigraph_la-games.Tpo -c games.c -fno-common -DPIC -o >> .libs/libigraph_la-games.o >> > > games.c is c, not c++, so I guess you set up your symlinks wrong, and the > c compiler points to a c++ compiler. Or using configure with some wrong > options to use a c++ compiler for c files. Or something similar. > > G. > > >> games.c: In function 'int igraph_preference_game(igraph_t*, >> igraph_integer_t, igraph_integer_t, const igraph_vector_t*, igraph_bool_t, >> const igraph_matrix_t*, igraph_vector_t*, igraph_bool_t, igraph_bool_t)': >> games.c:2207: error: invalid conversion from 'void*' to 'igraph_vector_t*' >> games.c:2207: error: initializing argument 1 of 'int >> igraph_vector_init(igraph_vector_t*, long int)' >> games.c:2246: error: invalid conversion from 'void*' to 'igraph_vector_t*' >> games.c:2256: error: invalid conversion from 'void*' to 'igraph_vector_t*' >> games.c: In function 'int igraph_asymmetric_preference_game(igraph_t*, >> igraph_integer_t, igraph_integer_t, igraph_matrix_t*, igraph_matrix_t*, >> igraph_vector_t*, igraph_vector_t*, igraph_bool_t)': >> games.c:2471: error: invalid conversion from 'void*' to 'igraph_vector_t*' >> games.c:2471: error: initializing argument 1 of 'int >> igraph_vector_init(igraph_vector_t*, long int)' >> games.c:2472: error: invalid conversion from 'void*' to 'igraph_vector_t*' >> games.c:2472: error: initializing argument 1 of 'int >> igraph_vector_init(igraph_vector_t*, long int)' >> games.c: In function 'int igraph_rewire_edges(igraph_t*, igraph_real_t, >> igraph_bool_t, igraph_bool_t)': >> games.c:2843: warning: operation on 'igraph_i_ret' may be undefined >> make[3]: *** [libigraph_la-games.lo] Error 1 >> make[2]: *** [all] Error 2 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> >> I have not touched the code so I do not understand why I am getting >> compilation errors. >> >> >> > > > -- > Gabor Csardi <[email protected] <javascript:>> MTA KFKI RMKI >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
