Trouble Building Third Party Libraries
Posted: Mon Jul 20, 2020 3:17 pm America/New_York
Hello!
I have run into an issue trying to execute BuildIt in the $OCSSWROOT/opt/src directory in order to build the third party libraries.
I am trying to compile seadas 7.5.3 on Linux Ubuntu 16.04
I am running into an issue when the HDF5 directory is reached, where I get the error message:
CMake Error at /usr/share/cmake-3.5/Modules/CMakePackageConfigHelpers.cmake:254 (file):
file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
CMakeInstallation.cmake:85 (configure_package_config_file)
CMakeLists.txt:813 (include)
-- Configuring incomplete, errors occurred!
See also "/home/maxwell/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeOutput.log".
See also "/home/maxwell/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeError.log".
***** cmake failed *****
***** BuildIt (hdf5) failed *****
A bit earlier in the terminal output, I get this warning:
CMake Warning at CMakeFilters.cmake:36 (find_package):
Could not find a package configuration file provided by "ZLIB" with any of
the following names:
ZLIBConfig.cmake
zlib-config.cmake
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Filter ZLIB is ON
I get the warning but then zlib is found, and I do know that zlib has been installed on this computer. Any help as to why cmake is failing would be greatly appreciated, I have cmake 3.5 and zlib 1.2.8. I have all the necessary toolkits listed in requirements installed, including zlib1g-dev because I am on Ubuntu 16.04.
Thank you!
I have run into an issue trying to execute BuildIt in the $OCSSWROOT/opt/src directory in order to build the third party libraries.
I am trying to compile seadas 7.5.3 on Linux Ubuntu 16.04
I am running into an issue when the HDF5 directory is reached, where I get the error message:
CMake Error at /usr/share/cmake-3.5/Modules/CMakePackageConfigHelpers.cmake:254 (file):
file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
CMakeInstallation.cmake:85 (configure_package_config_file)
CMakeLists.txt:813 (include)
-- Configuring incomplete, errors occurred!
See also "/home/maxwell/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeOutput.log".
See also "/home/maxwell/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeError.log".
***** cmake failed *****
***** BuildIt (hdf5) failed *****
A bit earlier in the terminal output, I get this warning:
CMake Warning at CMakeFilters.cmake:36 (find_package):
Could not find a package configuration file provided by "ZLIB" with any of
the following names:
ZLIBConfig.cmake
zlib-config.cmake
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Filter ZLIB is ON
I get the warning but then zlib is found, and I do know that zlib has been installed on this computer. Any help as to why cmake is failing would be greatly appreciated, I have cmake 3.5 and zlib 1.2.8. I have all the necessary toolkits listed in requirements installed, including zlib1g-dev because I am on Ubuntu 16.04.
Thank you!