iGraph的配置,An In-depth Comparison of Subgraph Isomorphism Algorithms in Graph Databases

本文讲述了在尝试运行基于iGraph的子图同构算法时遇到的环境配置挑战。在Windows Server 2003上,由于Visual Studio 2005的兼容性问题,导致应用程序并行配置错误。通过安装不同版本的Microsoft Visual C++ Redistributable、复制CRT DLLs和manifest文件,最终从Visual Studio文件夹中复制必要的DLLs和manifest解决了问题。
摘要由CSDN通过智能技术生成

这篇博客源自于一篇论文《An In-depth Comparison of Subgraph Isomorphism Algorithms in Graph Databases》这是2013年发表在PVLDB上的一篇文章

这篇文章对比了当前子图同构领域的state-of-art算法VF2,QuickSI, GraphQL, GADDI,和SPath并且用c++重写了这几个算法,实现性能最优,在不同的数据集上对比算法性能。

我通过联系作者有幸要到了算法的实现,没想到,配置算法运行的环境很是困难。

首先Igraph(算法包的名称)运行环境是很过时的visual studio 2005,这个环境现在已很少有人在用,我电脑装的VS2010,在VS2010下再次安装VS2005,遇到了版本的兼容问题,为了运行这个系统,我忍痛,重装系统,卸掉了VS的所有环境。

装完vs2005,点击运行系统,报错,原来是该算法包引用了外部的库文件,文件已过时,关于如何编译库文件,我的上一篇博客已经详细写了,重新编译库文件,设置引用外部的include路径,和外部的库路径(小心路径名称)。

在生成解决方案 ,没有问题,但是点击运行下显示

应用程序并行配置不正确使用命令行sxstrace.exe

在网上百度了好多资料然而没有什么卵用,最后还是在靠谱的stackoverflow找到了解决方案

I wrote a C++ project called 'Foo' using Microsoft Visual Studio 2005 Verison 8.0.50727.762 (SP.050727-7600) on Windows XP Professional Version 2002 Service Pack 3. I built the project into Foo.exe. Then, I copied the file Foo.exe to a Windows Server 2003 Enterprise Edition Service Pack 2. When I tried to run it, it failed with this error,

C:\foo.exe
The application has failed to start because the application configuration is incorrect.
Reinstalling the application may fix the problem.

In Event Viewer > System, three events were logged.

Event ID: 32; Source: SideBySide

Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was
The referenced assembly is not installed on your system.

Event ID: 59; Source: SideBySide

Resolve Partial Assembly failed for Microsoft.VC80.CRT.
Reference error message: The referenced assembly is not installed on your system.

Event ID: 59; Source: SideBySide

Generate Activation Context failed for C:\foo\Foo.exe.
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值