Which directories are referenced to look for the header file while compiling an OPNET process model.

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

Which directories are referenced to look for the header file while compiling an OPNET process model.

Solution

The following two directories are included when you are trying to compile a model: 1. System include directory (i.e., <opnet_dir>/<release>/sys/include) 2. Current model directory (i.e., where the process model resides)You can place your header files in the <opnet_dir>/<release>/sys/include directory, or you can set an explicit -I<dir> specification for the comp_flags preference to add other header files search directories.comp_flags maybe set from the Opnet Preferences panel available from the Edit menu.

Environment

Compiling/Linking

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