When I compile my ETS code, I get an error like 'Cannot include file: ets_api_nt_cback.h'. How can I fix this?
When I compile my ETS code, I get an error like 'Cannot include file: ets_api_nt_cback.h'. How can I fix this?
OPNET stores a number of user preferences in an environment database that is created the first time you start OPNET. If you used the OPNET Development Kit (ODK) to create your environment database, OPNET will notify the compiler that you are an ODK user and will include header files only available to ODK users.If you are a Modeler user you can still take advantage of the grandfathered ETS functionality made available to users in OPNET 7.0, but you will need to remove the references to ODK from your environment database. To do this1. Select Edit->Preferences.2. Go to the comp_flags preference.3. Remove the -DOP_ODK_APIS from the value. Otherwise, leave the preference the same.4. Go to the comp_flags_cpp preference.5. Repeat step 3 for this preference.6. Click OK to close the dialog box and save the changes.If you are interested in significant customizations to OPNET, we encourage you to look at the ODK and its extensive APIs.
Compiling/Linking,DES Kernel->Error Messages/Logs