打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
在Visual Studio 2010中安装iGraph

本安装步骤参考了:http://www.16kan.com/question/detail/182225.html

 

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.

    1. Download the source package specifically created for Visual Studio :http://igraph.sourceforge.net/download.html 。
    2. Uncompress the file into My Documents\Visual Studio 2010\Projects .
    3. Open the igraph.sln solution file in igraph-0.6-msvc\igraph-0.6-msvc directory from Visual Studio.
    4. Visual Studio offers to convert the solution file to the current format, do that. 
    5. On the toolbar, change 'Debug' to 'Release' to make release builds.
    6. 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

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Compiling OpenMesh
QT4.8.0安装(MSVC2008
FlTk Tutorial for CS 638
Microsoft Visual Studio 2008 下 Boost 1.4.5 的安...
Building ACE on Windows using Visual Studio | Yuval Baror’s Blog
补译:Microsoft VisualStudio概述 - 版本选择及其他
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服