[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Problems compiling igraph 0.6 on MacOS X
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] Problems compiling igraph 0.6 on MacOS X |
Date: |
Tue, 24 Apr 2012 22:15:37 +0200 |
Dear Bob,
Thanks for the bug report; this is an error on our side. We have recently added
a new argument to igraph_community_eb_get_merges in the C core and the R
interface has not been updated yet. Please try an earlier nightly snapshot; any
nightly build released before 19 April 2012 would do.
Best,
--
T.
On Tuesday, 24 April 2012 at 22:07, Bob Pap wrote:
> Dear all,
>
> I get the error below compiling igraph on MacOS X 10.7.3 (with command: R CMD
> install ~/Downloads/igraph_nightly_0.6-2694-20120421.tar.gz ). Could a guru
> please maybe point me in the right direction? Any help is appreciated (I need
> to use weighted betweeness measure that I understand is available in th enew
> version).
>
> Kind regards,
> Bob
>
> gcc -arch x86_64 -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG
> -I/usr/local/include -DUSING_R -I. -Ics -Iglpk -Iglpk/amd -Iglpk/colamd -g
> -O2 -I/usr/include/libxml2 -g -O2 -I/usr/include/libxml2 -DNDEBUG
> -DPACKAGE_VERSION=\"0.6\" -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL=/**/ -fPIC
> -g -O2 -c rinterface.c -o rinterface.o
> rinterface.c: In function ‘R_SEXP_to_vector_complex_copy’:
> rinterface.c:2380: warning: passing argument 2 of
> ‘igraph_vector_complex_init_copy’ from incompatible pointer type
> rinterface.c: In function ‘R_SEXP_to_matrix_complex_copy’:
> rinterface.c:2393: warning: passing argument 2 of
> ‘igraph_vector_complex_init_copy’ from incompatible pointer type
> rinterface.c: In function ‘R_igraph_community_eb_get_merges’:
> rinterface.c:6177: warning: passing argument 3 of
> ‘igraph_community_eb_get_merges’ from incompatible pointer type
> rinterface.c:6177: warning: passing argument 4 of
> ‘igraph_community_eb_get_merges’ from incompatible pointer type
> rinterface.c:6177: error: too few arguments to function
> ‘igraph_community_eb_get_merges’
> make: *** [rinterface.o] Error 1
> ERROR: compilation failed for package ‘igraph’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
> * restoring previous
> ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden (mailto:address@hidden)
> https://lists.nongnu.org/mailman/listinfo/igraph-help