[CCPPETMR/SIRF-SuperBuild] OSX: CMake fails to detect version of brew HDF5 (#168)

45 views
Skip to first unread message

Kris Thielemans

unread,
Dec 9, 2018, 5:44:33 AM12/9/18
to CCPPETMR/SIRF-SuperBuild, Subscribed

When using USE_SYSTEM_HDF5=ON on OSX, we get

CMake Error at /usr/local/Cellar/cmake/3.11.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find HDF5: Found unsuitable version "", but required is at least
  "1.8" (found HDF5_hdf5_LIBRARY-NOTFOUND)

This does not occur when building our own HDF5 (v1.10.1). OSX 10.13.3, brew HDF5 claims to be 1.8.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Kris Thielemans

unread,
Feb 15, 2019, 3:16:58 AM2/15/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

@rijobro, could you check this with recent CMake and brew and update accordingly? The only thing we can do is to document it on the Wiki. After that's done, please close this.

Richard Brown

unread,
Feb 15, 2019, 11:18:27 AM2/15/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

I use Brew installed HDF5 and don't have any problems. Not sure how you want me to document this.

Kris Thielemans

unread,
Feb 15, 2019, 7:32:13 PM2/15/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

what version of HDF5 does brew currently install? If it's still 1.8, then presumably your CMake is more recent than 3.11.4. We should then either require CMake 3.12 on OSX, or put it in the wiki that USE_SYSTEM_HDF5=ON might fail with CMake version 3.11 (or presumably earlier)

Richard Brown

unread,
Feb 18, 2019, 11:09:42 AM2/18/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

current version installed by brew is 1.10.4. Will update the wiki for the CMake version.

Richard Brown

unread,
Feb 18, 2019, 12:07:39 PM2/18/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

Richard Brown

unread,
Feb 18, 2019, 12:07:42 PM2/18/19
to CCPPETMR/SIRF-SuperBuild, Subscribed

Closed #168.

Reply all
Reply to author
Forward
0 new messages