inet bulding failed in OMNeT++6 pre11

45 views
Skip to first unread message

FEIT

unread,
Jun 10, 2021, 8:50:01 PM6/10/21
to OMNeT++ Users
Hello, I have successfully installed OMNeT++6 pre 11 in ubuntu 18.04 and tictoc is working fine.

But, I am getting the following errors in building inet. Would you please suggest the solution? Thank you.


In file included from inet/common/MessageDispatcher.cc:19:
./inet/common/MessageDispatcher.h:62:18: error: 'arrived' marked 'override' but does not override any member functions
    virtual void arrived(cMessage *message, cGate *inGate, simtime_t t) override;
                 ^
inet/common/MessageDispatcher.cc:43:32: error: too few arguments to function call, expected 3, have 2
    outGate->deliver(message, t);
    ~~~~~~~~~~~~~~~~           ^
/home/froz/Downloads/omnetpp-6.0pre11-src-linux/omnetpp-6.0pre11/include/omnetpp/cgate.h:199:5: note: 'deliver' declared here
    virtual bool deliver(cMessage *msg, const SendOptions& options, simtime_t at);
    ^
2 errors generated.
Makefile:1587: recipe for target '../out/clang-release/src/inet/common/MessageDispatcher.o' failed
make[1]: Leaving directory '/home/froz/opendsme_workspace/inet/src'
Makefile:7: recipe for target 'all' failed
make[1]: *** [../out/clang-release/src/inet/common/MessageDispatcher.o] Error 1
make: *** [all] Error 2
"make MODE=release -j1 all" terminated with exit code 2. Build might be incomplete.

10:35:48 Build Failed. 6 errors, 1 warnings. (took 11m:36s.806ms)

Reply all
Reply to author
Forward
0 new messages