|
From: | Gábor Csárdi |
Subject: | Re: [igraph] Cannot install iGraph (0.6.5) C library on Mac OSX 10.8.3 |
Date: | Wed, 17 Apr 2013 14:00:01 -0400 |
So I fixed the gcc issue. Symlinks.Now when I run make i get this:make all-recursiveMaking all in srcmake 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.clibtool: 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: 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 undefinedmake[3]: *** [libigraph_la-games.lo] Error 1make[2]: *** [all] Error 2make[1]: *** [all-recursive] Error 1make: *** [all] Error 2I have not touched the code so I do not understand why I am getting compilation errors.
[Prev in Thread] | Current Thread | [Next in Thread] |