Please someone could help me to fix my issue? I will be very grateful.
I try to implement LEACH PROTOCOL. So I added a simple module named Leach to the INET compound module SensorNode. Now I'm implementing my protocol in C++ by creating the Leach.h and Leach.cc files. My Leach class is well registered with OMNET++ via the command Define_Module(Leach); but when running the project, I got the error as it appears on this image :
Here is the inside of my sensor node with the position of my Leach simple module:

Similar questions are asked here OMNET++: Class not Found --perhaps code is not linked or the class was not registered But what they advise doesn't sort out my concern.
Please looking forward to your input.
I'm using OMNET++6.0preview10 with INET 4.3
Best regards !