由于缺少基本类型或接口,无法完全解析以下NED类型 [英] The following NED types could not be fully resolved, due to a missing base type or interface

查看:150
本文介绍了由于缺少基本类型或接口,无法完全解析以下NED类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过Cmdenv运行我的项目.在项目的omnetpp.ini文件中,我将ned-path专门化为:ned-path =/omnetpp-4.6/samples/VDLM4net;/omnetpp-4.6/samples/MiXiM/src/base;/omnetpp-4.6/samples/MiXiM/src /模块 当我尝试使用Cmdenv时,出现错误:控制台错误 我在Windows上使用omnetpp-4.6,并将独立项目引用到MiXiM-2.3

I want to run my project through Cmdenv. In the project's omnetpp.ini file I specialized ned-path as: ned-path = /omnetpp-4.6/samples/VDLM4net;/omnetpp-4.6/samples/MiXiM/src/base;/omnetpp-4.6/samples/MiXiM/src/modules And when I'm trying to use Cmdenv there is an error:error in console I'm using omnetpp-4.6 on Windows with standalone project referenced to MiXiM-2.3

推荐答案

我解决了我的问题.首先,在.ini文件中,我指定了所有可能在项目中可能使用的ned路径.就我而言,它看起来像这样:ned-path =.; ../MiXiM/examples; ../MiXiM/src/base; ../MiXiM/src/inet_stub‌; ../MiXiM/src/module‌ s.之后,在命令行中,我写了:./VDLM4net -u Cmdenv -l ../MiXiM/src/mixim因此,我另外指定了MiXiM共享库.现在一切正常.

I solved my problem. At first, in .ini file I specified all possible ned paths than potentially can be used in project. In my case it is look like this: ned-path = .;../MiXiM/examples;../MiXiM/src/base;../MiXiM/src/inet_stub‌​;../MiXiM/src/module‌​s . After it, in command line I wrote: ./VDLM4net -u Cmdenv -l ../MiXiM/src/mixim So, additionally, I specified the MiXiM shared liabrary. All works fine now.

这篇关于由于缺少基本类型或接口,无法完全解析以下NED类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆