INET 3.4 cannot open libINET.so - omnet++

Recently, I downloaded OMNET 5 in Ubuntu 14.04 & automatically downloaded INET 3.4. When I am trying to run any example in INET the follwing error appears:
<!> Warning: opp_run: Cannot check library ../../src/INET: ../../src//libINET.so: cannot open shared object file: No such file or directory
<!> Error during startup: Cannot load library '../../src//libINET.so': ../../src//libINET.so: cannot open shared object file: No such file or directory.
I tried to reconfigure the INET framework and also downloaded INET manually but I still facing the same problem.
Could anyone help me to fix it?

You probably did not build INET. Select Project and Build Project.

the problem was that inet didn't build properly due to some missing system libraries, after checking the build log and installing the missing system libraries the build went ok and i could run examples without any problems

Related

Building program for other machines

I created a simple program using Lazarus Ide Qt5. I'm using Kubuntu 20 right now. When I build and run it on another Linux distribuiton I get error:
Quote
./shortcutcreator: error while loading shared libraries: libQt5Pas.so.1: cannot open shared object file: No such file or direcctory.
How can I build it for other machines?
(lib)qt5pas is a C++->C flattening library for QT5. It is afaik available in the package repositories, simply install it on the receiving PC.

Unable to install OMNeT++ 5.4 for Windows

When I run command ./configure I receive below mentioned error:
configure: error: Cannot build Qt apps, probably due to missing or too old Qt packages. Make sure Qt development packages are installed and newer than Qt 5.4. You can disable Qtenv by setting the WITH_QTENV variable to "no" in configure.user.
I have installed Qt5.9.0 after receiving above error, installed mingw-32bit but still receiving same error. Can anyone help me to solve the problem?
The OMNeT++ package for Windows contains all libraries and other tools (including JRE), so there is no need to install anything separately.
To install OMNeT++ in Windows one should:
Download a proper version of OMNeT++ - i.e. OMNeT++ 5.4 (Windows).
Turn off aniti-virus real time protection.
Extract the whole archive into a directory whose name doesn't contain spaces.
Double-click mingwenv.cmd, then press any key.
After some time in the mingwenv console type: ./configure, then make.
In the mingwenv console type omnetpp to start OMNeT++.
Later, to start OMNeT++ one should double click mingwenv.cmd, type omnetpp and do not close console.
I have removed polish characters from directory path and it solved thie problem. Check if directory has any special characters in directory path.
I'll share what worked for me. After installing the Qt package, remove the existing omnetpp directory and extract it from the zip file again. Run mingwenv.cmd, so that it initiates the tools extraction and is now able to load the installed Qt package. Running ./configure now doesn't show the error.

Error building SIMULTE in OMNET++ 5.0 with INET 3.4

I'm encountering the following error when trying to build simuLTE over the right versions of OMNET++ and INET (the versions specified in simulte web). The error is the following:
Cannot parse /simulte-1.0.0/.oppbuildspec
/simulte-1.0.0/.oppbuildspec: unrecognized option: --meta:export-include-path
/simulte-1.0.0/.oppbuildspec: unrecognized option: --meta:export-include-path
Do you have any idea what could be the problem?
I had the same problem when I was building simulte from Omnet Gui i.e. right clicking on simulte project and then Build project.
It was resolved when I built it with terminal (im using ubuntu). So,
Open a terminal.
Go to simulte directory in your workspace.
Run "make clean".
Run "make makefiles".
Run "make".
Doing this resolved my error. I hope it will resolve yours too..

Unable to execute omnet++ files

I have just begun to use OMNET++ and got stuck in the first place.
This is the error which I get each time : 1
Please tell me how to solve this
You have probably download Linux version of OMNeT++ or there were errors during unpacking the package. Download the Windows version of OMNeT++, unzip it and try again build it.

INET installation bug

I installed Omnet++4.4.1.I selected INET check box and click install.I got error 'Installing Project' has encountered a problem.
Cannot download archive from: http://omnetpp.org/download/contrib/models/inet-2.4.0-src.tgz
I can download the provided URL.
If you cannot access it, maybe your provider or institution is blocking it?
You could try to use a proxy if you cannot download any of the INET versions form the INET website: https://inet.omnetpp.org/Download.html
Or, of course, download from Github: https://github.com/inet-framework/inet/releases

Resources