igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Building igraph 0.6 rev 1601 with msvc9


From: Tamas Nepusz
Subject: Re: [igraph] Building igraph 0.6 rev 1601 with msvc9
Date: Sat, 1 Aug 2009 22:11:56 +0200

Hi guys. I just built igraph 0.6 from bzr rev 1601 on Windows with msvc9 (VS 2008). I had to make changes in 2 files:
Fixed as well -- added M_SQRT2 to igraph_math.h and included it from src/centrality.c. I'm not sure about the inline stuff -- I thought that inline is a valid C keyword, but it looks like we have to live with a compiler-related hack here. Something like:

#if defined(_MSC_VER)
#  define inline __inline
#endif

I added the above code snippet to src/heap.c, hope this helps.

--
Tamas





reply via email to

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