opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.42k stars 5.76k forks source link

-lopencv_hdf cannot find link error in opencv4.1.0 and 4.3.0 #2611

Open gansm255 opened 4 years ago

gansm255 commented 4 years ago

Hi, I am to cross compile opencv4.1.0 to aarch64 on linux. under cygwin build installed in windows 10. i copied hdf5 Pl1.8 to contrib package and i could compile hdf5 and lihdft.a library made. when i compile a simple application i get hdf.a can not find error. i searched install/lib and found no libhdf.a file. I am new to opencv/make. i am struck for the last few weeks. Please guide me the steps i have to do to get this library. Earlier i could fix freetype, hdf library issues. cmakelog.txt

mshabunin commented 4 years ago

Try to disable datasets module: -DBUILD_opencv_datasets=OFF cmake option. Static builds are tricky and have lower priority among other requests.

gansm255 commented 4 years ago

Hi mshabunin, Thanks for quick support. Disabling datasets did not change the situation. I checked cmakecache in which i found module opencv_hdf couldnot be built under current configuration. so some more configuration i am missing to built opencv_hdf. Please guide me further. i am attaching the cmakecache.txt file for your perusal. Thanks to you.. CMakeCache.txt