On Fri, May 2, 2014 at 12:19 PM, patricia <[email protected]> wrote:

> Command used to compile the program in cygwin shell :
>
> *<<   gcc Teste.c -I/C:/cygwin/usr/local/include/igraph
> -L/C:/cygwin/usr/local/lib -o Teste   >> .  *
>
> The following error occurs :
>
> PATRICIA APARECIDA@ETEP_PATRICIA /cygdrive/c/TesteGraph
> $ gcc Teste.c -I/C:/cygwin/usr/local/include/igraph
> -L/C:/cygwin/usr/local/lib -
>                                                      o Teste
> *Teste.c:1:21: fatal error: igraph.h: No such file or directory*
>  #include <igraph.h>
>                      ^
> compilation terminated.
>
>
You don't need the C:/cygwin, this works for with the default installation
options:

gcc igraph_is_loop.c -I/usr/local/include/igraph -L/usr/local/lib -ligraph

Gabor


> Thank you
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to