Which directories are referenced to look for the header file while compiling an OPNET process model.
Which directories are referenced to look for the header file while compiling an OPNET process model.
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.
Compiling/Linking