Error Reported During Software Building
Symptom
If an error similar to the following is reported during the installation, add the NetCDF installation path to the specified file based on the error message.

Key Process and Cause Analysis
The NetCDF installation path is not added to the specified file.
Conclusion and Solution
- Modify the CmakeCache.txt file.
- Open the CmakeCache.txt file.
vi /path/to/NCEPLIBS/NCEPLIBS1.3.0/build/w3emc/src/w3emc-build/CmakeCache.txt
- Press i to enter the insert mode and modify the file as follows:
Before the modification:
//NetCDF C include directory NetCDF_C_INCLUDE_FILE:FILEPATH=NetCDF_C_INCLUDE_FILE-NOTFOUND
After the modification:
//NetCDF C include directory NetCDF_C_INCLUDE_FILE:FILEPATH=/path/to/NETCDF/include
- Press Esc, type :wq!, and press Enter to save the settings and exit.
- Open the CmakeCache.txt file.
- Run the following command to build the software. If a similar error occurs, perform the previous steps to rectify the error.
make -j 16