> I tried installing msys2 <https://msys2.github.io/> to be able to run the
> configure script, and the mingw-w64 package to be able to compile for 64 bit
> systems.  Unfortunately the build process stops when the compiler cannot
> find <sys/times.h>.
sys/times.h is not available in MinGW, only in Cygwin (as far as I
know). The only place where igraph uses it is in f2c, which is a
third-party library. In particular, the two occurrences are in
src/f2c/dtime_.c and src/f2c/etime_.c. These files seem to use clock()
and CLOCKS_PER_SECOND only. clock() is actually also available from
<time.h>, so you could try including time.h instead of sys/time.h.
Also, CLOCKS_PER_SECOND should probably be replaced with
CLOCKS_PER_SEC because time.h defines CLOCKS_PER_SEC.

Let me know if this worked for you.

T.

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

Reply via email to