Igraph actually does work with Visual C++ 2010 Express, we test this before releases, and I have just tried it.You need to do the following steps.
Download the source package specifically created for Visual Studio :http://igraph.sourceforge.net/download.html 。
Uncompress the file into My Documents\Visual Studio 2010\Projects .
Open the igraph.sln solution file in igraph-0.6-msvc\igraph-0.6-msvc directory from Visual Studio.
Visual Studio offers to convert the solution file to the current format, do that.
On the toolbar, change 'Debug' to 'Release' to make release builds.
Choose Debug -> Build solution and wait until the library is built.
To test it you can open the solution file in the igraphtest directory, convert it as well, choose 'Release' builds, and then build it.It is a simple C++ program that uses igraph to create a graph and write it into the file out.txt
You have to set up include and library directories:
1. Set the include directory as: My Documents\Visual Studio 2010\Projects\igraph-0.6.5-msvc\include
2. Set the library directory as: My Documents\Visual Studio 2010\Projects\igraph-0.6.5-msvc\Release
posted on
2014-04-23 18:03emy_yu
阅读(1055)
评论(0)
编辑收藏举报
My Documents\Visual Studio 2010\Projects
.igraph.sln
solution file inigraph-0.6-msvc\igraph-0.6-msvc
directory from Visual Studio.To test it you can open the solution file in the
igraphtest
directory, convert it as well, choose 'Release' builds, and then build it. It is a simple C++ program that uses igraph to create a graph and write it into the file out.txtYou have to set up include and library directories:
1. Set the include directory as: My Documents\Visual Studio 2010\Projects\igraph-0.6.5-msvc\include
2. Set the library directory as: My Documents\Visual Studio 2010\Projects\igraph-0.6.5-msvc\Release