problem installing inet and mixim

870 views
Skip to first unread message

lost paradise

unread,
Apr 29, 2013, 10:14:34 PM4/29/13
to omn...@googlegroups.com

Hello,

i am new to Omnetpp.i was installing inet framework and mixim plugins .inet was built with some warnings .while building mixim few error occurred.
would anyone please tell me what can i do to solve the problem?could anyone help?i would be very grateful if any help is found.



Description    Resource    Path    Location    Type
make: *** [tests_dir] Error 2    MiXiM             C/C++ Problem
make[1]: *** [nicTest_dir] Error 2    MiXiM             C/C++ Problem
make[2]: *** [../../out/gcc-debug/tests/nicTest/nicTest.exe] Error 1    MiXiM             C/C++ Problem
undefined reference to `Mac80211MultiChannel::getChannel() const'    TestApp.cc    /MiXiM/tests/nicTest    line 195    C/C++ Problem
undefined reference to `Mac80211MultiChannel::switchChannel(int)'    TestApp.cc    /MiXiM/tests/nicTest    line 191    C/C++ Problem
omnetpp.png

Rudolf Hornig

unread,
Apr 30, 2013, 4:17:53 AM4/30/13
to omn...@googlegroups.com
what is your INET and MIXIM version?

lost paradise

unread,
Apr 30, 2013, 11:56:50 PM4/30/13
to omn...@googlegroups.com
i tried to install inet version 2.1.0 and mixim 2.2.1 on omnet 4.2.2 version

Rudolf Hornig

unread,
May 2, 2013, 6:31:59 AM5/2/13
to omn...@googlegroups.com
Why not using MIXIM 2.3 which was especially prepared to be used with INET? There is even a preconfigured bundle (INET 2.1 / MIXIM 2.39


Rudolf

lost paradise

unread,
May 10, 2013, 12:45:28 AM5/10/13
to omn...@googlegroups.com
Thank you very much Rudlof for your help.

i  tried to install with newer version of mixim (2.3),omnet 4.3 and inet 2.1 and it worked alright.i have not found much problem yet.may be the problem was with the version and anti-virus program.

thanks again.

Anwar Mirza

unread,
Jan 10, 2018, 11:07:28 AM1/10/18
to OMNeT++ Users
I am using OMNET++ 5.2.1, INET 3.6.3. I am also facing error while buiding MIXIM 2.3 Project. The error is as below:

#include "connectionManager/ConnectionManagerAccess.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from base/connectionManager/ConnectionManager.cc:1:
base/connectionManager/ConnectionManager.h:4:10: fatal error: 'MiXiMDefs.h' file not found
#include "MiXiMDefs.h"
         ^~~~~~~~~~~~~
In file included from base/connectionManager/BaseConnectionManager.cc:1:
base/connectionManager/BaseConnectionManager.h:8:10: fatal error: 'MiXiMDefs.h' file not found
#include "MiXiMDefs.h"
         ^~~~~~~~~~~~~
In file included from base/connectionManager/NicEntryDebug.cc:22:
In file included from base/connectionManager/NicEntryDebug.h:25:
base/connectionManager/NicEntry.h:28:10: fatal error: 'MiXiMDefs.h' file not found
#include "MiXiMDefs.h"
         ^~~~~~~~~~~~~
1 error generated.
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [Makefile:235: ../out/clang-debug/src/base/connectionManager/NicEntryDebug.o] Error 1
make[1]: Leaving directory '/d/OMNET/omnetpp-5.2.1-src-windows/omnetpp-5.2.1/samples/MiXiM/src'
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:235: ../out/clang-debug/src/base/connectionManager/ConnectionManager.o] Error 1
make[1]: *** [Makefile:235: ../out/clang-debug/src/base/connectionManager/ConnectionManagerAccess.o] Error 1
make[1]: *** [Makefile:235: ../out/clang-debug/src/base/connectionManager/BaseConnectionManager.o] Error 1
make: *** [Makefile:5: all] Error 2

00:03:52 Build Finished (took 19s.687ms)

Please suggest any solution. Thank you.

Michael Kirsche

unread,
Jan 10, 2018, 11:59:32 AM1/10/18
to OMNeT++ Users
MiXiM is not compatible with OMNeT 5.x and newer INET releases.
The old MiXiM 2.3 release that aims integration into INET 2.3 is pretty much obsolete with INET 3.x versions.
So stick with INET 3.x and your current OMNeT 5.x version or use an older OMNeT 4.x version with MiXiM 2.3.

Fady E. F. Samann

unread,
Jul 18, 2023, 12:10:50 PM7/18/23
to OMNeT++ Users
Dear Michael Kirsche,
I hope you are doing well. Is it possible to replace mixim with inet 4.x? 
I have a project that relies on (mixim.base.modules.BaseNetwLayer). Which model of inet can be replaced with? 
I appropriate the help


Rudolf Hornig

unread,
Jul 19, 2023, 8:49:01 AM7/19/23
to OMNeT++ Users
I'm not sure whether Michael is still monitoring this list, but here is my take:

Functionally, INET contains everything that MiXiM contained (and a lot more), but it is not a drop-in replacement for it. 

You won't be able to run that project with a new version of OMNeT++ and INET anyway. So...
- You either port that project to INET 4.x / OMNET 6 (if possible / makes sense/ worth the effort)
- Or install an older version of OMNET and INET and use that installation for your work (this might need a lot les work).

It is somewhat difficult to install older versions of INET / OMNET on recent operating system versions, but we are working on something that might help you here:

if you properly install opp_env, you can issue 
$ opp_env shell inet-2.1

and it would download/install approriate versions of omnet and inet and you can download and install mixim there. Currently opp_env does not support installing mixim, but I may look into that if need arises.
keep in mind that opp_env is a work in progress currently,

Rudolf

Fady E. F. Samann

unread,
Jul 20, 2023, 5:32:19 AM7/20/23
to OMNeT++ Users
Dear Rudolf,
Many thanks for the reply. I will do my best to port the project first before thinking of running it on an older version.
Kind regards
Fady
Reply all
Reply to author
Forward
0 new messages