Skip to content

hdf5.h no such file or directory opencv3.4 #2579

Open
@gansm255

Description

@gansm255
System information (version)
  • OpenCV => ❔
  • Operating System / Platform => ❔
  • Compiler => ❔
Detailed description

opencv-3.4.1-2.src/opencv_contrib-3.4.1/modules/hdf/src/hdf5.cpp:37:10: fatal error: hdf5.h: No such file or directory
37 | #include <hdf5.h>
| ^~~~~~~~
compilation terminated.

Steps to reproduce

cmake compile script
cmake -DBUILD_SHARED_LIBS=OFF -DENABLE_VFPV3=OFF -DOPENCV_EXTRA_MODULES_PATH=/usr/src/opencv-3.4.1-2.src/opencv_contrib-3.4.1/modules -DENABLE_NEON=OFF -DBUILD_TBB=OFF -DCMAKE_C_COMPILER=/home/user/x-tools/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc -DCMAKE_CXX_COMPILER=/home/user/x-tools/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-g++ -DCMAKE_TOOLCHAIN_FILE=/opencv/platforms/linux/aarch64-gnu.toolchain.cmake ../../..

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions