igraph-help
[Top][All Lists]
Advanced

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

[igraph] Test an example


From: Wafa Nafti
Subject: [igraph] Test an example
Date: Fri, 17 Apr 2015 08:14:05 +0000 (UTC)

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

reply via email to

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