基于omnet++安装车联网仿真框架veins失败: Error: Cannot load library ‘../../src//libveins.dll‘: 找不到指定的程序

总结了网络上能搜寻到的解决方案,供参考。

1. 编译器问题1:如果在电脑中已经安装了mingw,会冲突,因为新版omnetpp/tools中已经默认包含了。
解决:删除卸载原有mingw。
这是我的问题,已解决。

还有一些其他可能造成报错的原因,如下:

2. 编译器问题2:
“在windows平台下,有些库只支持gcc编译,在configure.user配置文件下

修改 CC=gcc CXX=g++ ,屏蔽掉PREFER_CLANG=yes

重新安装omnet++,后在编译。”
参考用户voevie回答。

3. dll加载错误:
“Finally I solved this problem by using Process Monitor to analyse what dll it loaded. Left side is not working and right side is woking fine in a virtual machine.

I found the difference is the final DLL it loaded is libeay32.dll, from SYSTEM32, and then crashed. And in the working VM it loads from omnet++ own folder, and continue loads others dll.

So I found a wrong version of libeay32.dll in system32 and it is installed by other software. This is a OpenSSL d

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值