Why do I see compiler errors of process models while migrating to 12.0 from previous versions ? I can see errors likeC:/op_models\op_models\global_srw_mac.pr.cpp(102) : error C2065: 'op_sv_ptr' : undeclared identifierC:/op_models\op_models\global_srw_mac.pr.cpp(102) : error C2227: left of '->channels' must point to class/struct/union

Categories:
Solution Number:
S20823
Last Modified:
2013-08-20
Issue

Why do I see compiler errors of process models while migrating to 12.0 from previous versions ? I can see errors likeC:/op_models\op_models\global_srw_mac.pr.cpp(102) : error C2065: 'op_sv_ptr' : undeclared identifierC:/op_models\op_models\global_srw_mac.pr.cpp(102) : error C2227: left of '->channels' must point to class/struct/union

Solution

OPNET 12.0 has a new requirement. Functions in process models, using state variables should have FIN/FOUT/FRET statements.To workaround this requirement, you can set the Allow Access to State Variables Without FIN preference to TRUE. This preference is available in 12.0.A PL1.

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case