Trying to compile freecad rc1 from source. Don’t like appimages.
When running cmake from downloaded source getting hdf5 problem I am not sure what zypper is saying. Is problem that HDF5_HL_LIBRARIES is not found or that leap version of 1.14.6 is not recent enough? Thanks for any insights. Note: my gentoo vm compiles freecad rc1.
(base) tom@mydesktop: ~/freecad_src/build $ cmake ..
-- Using ccache found at: /usr/bin/ccache
-- Compiler: GNU, version: 7.5.0
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib64
-- cmake: 3.28.3
-- Compiling with Qt 5
-- find_package() was used to locate fmt version 11.1.4
-- PyCXX found:
-- Headers: /home/tom/freecad_src/src
-- Sources: /home/tom/freecad_src/src/CXX
-- Version: 7.1.9
-- -- OpenCASCADE Community Edition has been found.
-- -- Found OCE/OpenCASCADE version: 6.9.1
-- -- OCE/OpenCASCADE include directory: /usr/share/oce/../../include/oce
-- -- OCE/OpenCASCADE shared libraries directory:
-- VTK components: CommonCore;CommonDataModel;FiltersVerdict;IOXML;FiltersCore;FiltersGeneral;IOLegacy;FiltersExtraction;FiltersSources;FiltersGeometry;hdf5;RenderingCore;InteractionStyle;RenderingFreeType;RenderingOpenGL2
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found nlohmann_json: /usr/lib64/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2")
-- Found HDF5: hdf5-shared (found version "1.14.6") found components: C HL
-- Found utf8cpp: /usr/include/utf8cpp
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.40")
-- Found Eigen3: /usr/include/eigen3 (found version "3.4.1")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.7.2")
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.9.4")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.4.1")
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.7.1")
-- Could NOT find freetype (missing: freetype_DIR)
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.10.4")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include/med
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find HDF5 (missing: HDF5_HL_LIBRARIES) (found version "1.14.6")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindHDF5.cmake:1025 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:100 (find_package)
CMakeLists.txt:73 (SetupSalomeSMESH)
-- Configuring incomplete, errors occurred!
(base) tom@mydesktop: