NCEPLIBS构建安装中wgrib2模块报Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)和Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR JPEG_LIBRARIES)错,详细信息如下:
无。
相应文件中未添加JASPER和JPEG的安装路径。
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/wgrib2/src/wgrib2-build/CMakeCache.txt
//Path to a file. JASPER_INCLUDE_DIR:PATH=/path/to/JASPER/include/ //Path to a library. JASPER_LIBRARY_DEBUG:FILEPATH=/path/to/JASPER/lib/ //Path to a library. JASPER_LIBRARY_RELEASE:FILEPATH=/path/to/JASPER/lib/libjasper.so //Path to a file. JPEG_INCLUDE_DIR:PATH=/path/to/JPEG/include //Path to a library. JPEG_LIBRARY_DEBUG:FILEPATH=/path/to/JPEG/lib //Path to a library. JPEG_LIBRARY_RELEASE:FILEPATH=JPEG_LIBRARY_RELEASE-NOTFOUND
make