I am trying to extend UdpBasicApp, to implement my own UdpApp,when I compile I get this error : "./App.h:11:10: fatal error: 'UdpBasicApp.h' file not found". Here is my code :
#include <UdpBasicApp.h>
#include <vector>
using namespace omnetpp;
using namespace std;
using namespace inet;
class App : public UdpBasicApp
{
protected:
virtual void initialize(int stage) override;
virtual void handleMessageWhenUp(cMessage *msg) override;
public:
App() {}
~App();
};
Define_Module(App);
I also tried with the complete path : "inet/applications/udpapp/UdpBasicApp.h" but didn't work too.
#include "inet/applications/udpapp/UdpBasicApp.h"
Use quotes, not angled brakets.