Search code examples
simulationiotomnet++network-protocolsinet

Omnetpp and Inet 4: Run LEACH protcole


I am trying to run leach protocol as described in LEACH without success. Any help will be appreciated. Thanks!!!

The error console here

I reinstall it by fellowing the descriptions provided this linlk and I still get the same error. I expected to succefully run it.


Solution

  • Did you link the LEACH3 project with the INET directory?

    Link it with INET using properties > project references and ticking on the inet option.

    The window that opens looks like this:

    screenshot of project project properties window

    You have to rebuild the LEACH3 project once again after linking.