|
Post by robreido on Oct 26, 2022 16:31:18 GMT
Hi,
I'm new to OMNeT++, and have been following the ptp-sim installation guide. When attempting to build INET 2.6, I received this error in the build console:
applications/dhcp/DHCPMessage.msg:26: Error: Type declarations are not needed with imports, try invoking the message compiler in legacy (4.x) mode using the --msg4 option
…along with a similar error for applications/netperfmeter. Where do I enter the --msg4 option? I have read through the OMNeT++ user guide and looked through Build Configurations>Project Features, but I can't find where I need to enter the --msg4 option to invoke the correct legacy compiler.
Thanks
|
|
|
Post by Wolfgang on Oct 26, 2022 18:16:33 GMT
Hi,
what OMNeT++ version are you using? I don't know this error message, but it seems like it is referring to 4.x as legacy, so it is probably newer than OMNeT++ 4.6. OMNeT++ 4.6 (from 2014) is the latest tested version, no one has invested the needed work to port the ptp-sim projects to newer versions.
You could probably ask in the OMNeT++ forum where to enter the --msg4 option, but if you are really using a newer version then that won't be all. Porting the ptp-sim projects to a newer OMNeT++ version would be significant task. If you would be interested in tackling it I could assist you (see the developer discussion forum group for details).
regards, Wolfgang
|
|
|
Post by robreido on Oct 27, 2022 17:15:38 GMT
Thanks for your help Wolfgang. To be honest I'm only interested in using ptp-sim for runnning simulations, and I don't think I'd be up to the task of porting ptp-sim to a newer OMNeT++ version! I'll build OMNeT++ 4.6 and see if I'm more successful
|
|