简体   繁体   English

omn​​et ++中的inetmanet构建错误

[英]inetmanet building error in omnet++

I have added inetmanet package by downloading from the below link and importing the project in omnet++. 我通过从下面的链接下载并以omnet ++导入项目来添加了inetmanet软件包。 https://github.com/aarizaq/inetmanet-3.x https://github.com/aarizaq/inetmanet-3.x

While trying to built the project, an error is thrown when it was processing the below step in the built process. 尝试构建项目时,在处理构建过程的以下步骤时会引发错误。 Creating shared library: ../out/gcc-debug/src/libINET.dll 创建共享库:../out/gcc-debug/src/libINET.dll

The error thrown on the above step is given below: g++.exe: error: CreateProcess: No such file or directory make[1]: * [Makefile:1558: ../out/gcc-debug/src/inet/linklayer/base/MACBase.o] Error 1 make[1]: * Waiting for unfinished jobs.... make[1]: Leaving directory '/c/Users/Rashad/Downloads/inetmanet-3.x-inetmanet-3.5/src' make: *** [Makefile:6: all] Error 2 在上面的步骤中抛出的错误如下:g ++。exe:错误:CreateProcess:没有这样的文件或目录make [1]: * [Makefile:1558:../out/gcc-debug/src/inet/linklayer/ base / MACBase.o]错误1 make [1]:*等待未完成的作业.... make [1]:离开目录'/c/Users/Rashad/Downloads/inetmanet-3.x-inetmanet-3.5/src 'make:*** [Makefile:6:全部]错误2

Error is thrown while trying to execute any example in inetmanet and they are shown below: Error: Cannot load library '../../../src//libINET.dll': The specified module could not be found End. 尝试执行inetmanet中的任何示例时引发错误,它们如下所示:错误:无法加载库'../../../src//libINET.dll':找不到指定的模块。

Can anyone in this group explain me why this error is happening. 这个小组中的任何人都可以向我解释为什么会发生此错误。 Thanks in advance. 提前致谢。

Note: omnet++ 5.1 is being used and INET examples are working fine. 注意:正在使用omnet ++ 5.1,并且INET示例运行正常。

The issue was solved. 问题已解决。 The folder "showcases" and "tutorials" were empty and in the git, they were being pulled from INET. 文件夹“ showcases”和“ tutorials”为空,在git中,它们是从INET中提取的。 So in my case, I had to manually copy those 2 folders from INET and then paste into INETMANET and rebuild it. 因此,就我而言,我必须从INET手动复制这2个文件夹,然后粘贴到INETMANET并重建它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM