igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: betweenness and degree correlation


From: Tamas Nepusz
Subject: Re: [igraph] Re: betweenness and degree correlation
Date: Thu, 23 Jul 2009 15:52:58 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

Hi Yong,

Yup, these are some more missing header files :) You can grab them from
Launchpad, they should be in src/, see here:

http://bazaar.launchpad.net/~igraph/igraph/0.6-main/files/head%3A/src/

I will fix the makefile so the next nightly build will contain these as well.
If you encounter more missing header files, let me know.

-- 
Tamas

On Thu, Jul 23, 2009 at 04:47:54PM +0200, Yong Zou wrote:
> Thanks a lot for your prompt reply, Tamas,
> 
> Before trying the other method, let me show the error messages for 0.6. :-)
> 
> I still have problems when install this:
> drl_layout.cpp:27:24: error: drl_layout.h: No such file or directory
> drl_layout.cpp:28:23: error: drl_parse.h: No such file or directory
> drl_layout.cpp:29:23: error: drl_graph.h: No such file or directory
> drl_layout.cpp:36: error: ‘drl’ is not a namespace-name
> drl_layout.cpp:36: error: expected namespace-name before ‘;’ token
> drl_layout.cpp: In function ‘int igraph_layout_drl(const igraph_t*,
> igraph_matrix_t*, igraph_bool_t, igraph_layout_drl_options_t*, const
> igraph_vector_t*, const igraph_vector_bool_t*)’:
> drl_layout.cpp:420: error: ‘graph’ is not a member of ‘drl’
> drl_layout.cpp:420: error: expected `;' before ‘neighbors’
> drl_layout.cpp:421: error: ‘neighbors’ was not declared in this scope
> make[3]: *** [libigraph_la-drl_layout.lo] Error 1
> 
> I'll try the other way you suggested.
> 
> Best,
> Yong
> 
> 
> On Thu, Jul 23, 2009 at 4:40 PM, Tamas Nepusz<address@hidden> wrote:
> > Hi Yong,
> >
> >> I find it is quite hard for me to write the python code back to C. Can
> >> you please help me to do that? In particular how to define source and
> >> target from my edge list?
> > Construct an edge iterator that iterates over all edges:
> >
> > igraph_eit_t eit;
> > igraph_integer_t source, target;
> >
> > igraph_eit_create(&graph, igraph_ess_all(), &eit);
> > while (!IGRAPH_EIT_END(eit)) {
> >  long int edgeID = IGRAPH_EIT_GET(eit);
> >  igraph_edge(&g, edgeID, &source, &target);
> >  /* Now source and target contains the source and target vertex IDs for
> >   * edge #edgeID */
> >
> >  /* Do whatever you want here */
> >
> >  IGRAPH_EIT_NEXT(eit);
> > }
> > igraph_eit_destroy(&eit);
> >
> >> It seems that I can't install 0.6 on my computer. Here is a short
> >> piece of error message. Furthermore, I couldn't find the
> >> assortativity.c in src.
> > It should be src/mixing.c, not src/assortativity.c
> >
> >> foreign.c:2735:31: error: foreign-dl-header.h: No such file or directory
> > Hmm, this is a private header file. It looks like it was somehow left
> > out from the tarball. Please find the missing file in the attachment --
> > this should be enough to compile 0.6. The file should be placed in src/.
> > Please let me know if it doesn't work.
> >
> > --
> > Tamas
> >
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

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