Closed l1berat0r closed 1 year ago
This does not work, on my machine this is just "/usr/include/hdf5.h". But I can into the same issue and I just use an inverse grep to exclude opencv
If this is not good enough in the future we have to create a funtion to open every *.h and check it...
Hello Thorsten. I encountered an issue on my system, which caused the "hdf5" build fail. It turned out, I had other library installed on my ubuntu, that contained a file with the simmilar name.
The
find /usr/include -name hdf5.h | sort -r | head -1
result, as funny as it sounds, was:/usr/include/opencv4/opencv2/flann/hdf5.h
Replacing the line with
find /usr/include -name hdf5.h | grep "hdf5/serial" | head -1
seems to be working better.Kind Regards.