OMNetpp — simulation network error

ERROR1

Pro­gram “g++” not found in PATH Pref­er­ences, C++/Build/Settings/Discovery, [CDT GCC Built-in Com­pil­er Set­tings] options C/C++ Scan­ner Dis­cov­ery Prob­lem
Pro­gram “gcc” not found in PATH Pref­er­ences, C++/Build/Settings/Discovery, [CDT GCC Built-in Com­pil­er Set­tings] options C/C++ Scan­ner Dis­cov­ery Prob­lem

SOLUTION

Start first ming­wenv exam­ple C:\omnetpp-4.3\mingwenv
then exe­cute : omnet

ERROR2
error2

SOLUTION

Fix filters.xml exam­ple : ( change $$ to “>”)


$fil­ters$
$fil­ter destAddress=“server_Vcli” destPort=“5003” gate=“1”/$
$fil­ter destAddress=“server_Vcli” srcPort=“1000” gate=“0”/$
$/filters$

ERROR3
Error after run project :
error3

Com­pi­la­tion project had this issue.

SOLUTION

in .ned files you have to change :

IPv4NetworkConfigurator: IPv4NetworkConfigurator {
@display(“p=405,57”);
}

to

con­fig­u­ra­tor: IPv4NetworkConfigurator {
@display(“p=405,57”);
}

Face­book Com­ments