Hi,
I am using OMNeT++ 5.1.
These are the steps I did:
- Install simulation models -> INET 3.6
- Build the INET project (using the default shared library option) and run an example, e.g. tcpsack. It works.
- In the properties of the INET project: OMNeT++ -> Makemake -> src:makemake -> Options -> Target -> Switch to "Exectuable" (from "Shared Library")
- Rebuild the project and run the same example again. When it starts I get the following error popup:
"Function firstAvailableOrEmpty() not found (Define_NED_Function() or Define_NED_Math_Function() missing from C++ code?), at /home/user/Documents/omnetpp-5.1/samples/inet/src/inet/node/inet/Router.ned:60 -- in module (omnetpp::cModule) tcpsack.router (id=2), during network setup"
- The same error message appears if I build the project as a static library and run the same example again.
How can I create an executable or static library using INET?
Best regards
Tobias