I want to compile and run the example " igraph_layout_reingold_tilford.c " using cygwin shell and the following command line: " gcc name_file.c -I/usr/local/include/igraph -L/usr/local/lib -ligraph -o name_file " .
But this example contains the "math.h" library that is not located in the same directory as IGRAPH. How do I include the path where the file is located that contains "math.h" and what should I select library file ( files with extension .a ).
The file "math.h" is located at: " C :/ Program files / CodeBlocks / MinGW / include " and " C :/ Program Files / CodeBlocks / MinGW / lib " is the path that contains the library files ( files with extension. a ).
Thank you