igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Test an example


From: Wafa Nafti
Subject: Re: [igraph] Test an example
Date: Mon, 20 Apr 2015 07:09:19 +0000 (UTC)

Hi,

Thanks for your response.
It works :)

Thank you again,
Best regards,
------------------------
Wafa NAFTI
ENSIT, Tunisie



Le Vendredi 17 avril 2015 19h48, Bradford Boyle <address@hidden> a écrit :


What happens when you run the following command?

gcc $(pkg-config --cflags igraph)
/home/wafa/igraph-0.7.1/examples/simple/dijkstra.c $(pkg-config --libs
igraph)

--Bradford


On Fri, Apr 17, 2015 at 4:14 AM, Wafa Nafti <address@hidden> wrote:
> Hi all,
>
> I have just install igraph-0.7.1 and I try to test an example (dijkstra.c).
>
> gcc `pkg-config --cflags --libs igraph`
> /home/wafa/igraph-0.7.1/examples/simple/dijkstra.c
>
>
> But I have this error :
>
> /tmp/ccZjgOrK.o: In function `print_matrix':
> dijkstra.c:(.text+0x14): undefined reference to `igraph_matrix_nrow'
> dijkstra.c:(.text+0x24): undefined reference to `igraph_matrix_ncol'
> /tmp/ccZjgOrK.o: In function `main':
> dijkstra.c:(.text+0x28f): undefined reference to `igraph_small'
> dijkstra.c:(.text+0x2ad): undefined reference to `igraph_vector_view'
> dijkstra.c:(.text+0x2c6): undefined reference to `igraph_matrix_init'
> dijkstra.c:(.text+0x2cb): undefined reference to `igraph_vss_all'
> dijkstra.c:(.text+0x2d9): undefined reference to `igraph_vss_all'
> dijkstra.c:(.text+0x327): undefined reference to
> `igraph_shortest_paths_dijkstra'
> dijkstra.c:(.text+0x345): undefined reference to `igraph_matrix_destroy'
> dijkstra.c:(.text+0x354): undefined reference to `igraph_destroy'
>
> Can you help me please ?
>
> Thanks for advance,
> Best regards,
> ------------------------
> Wafa NAFTI
> ENSIT, Tunisie

>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

>



reply via email to

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