error: there are no arguments to ‘H5Fis_hdf5’ that depend on a template parameter

### Issue summary
I know this is a build issue that is not supposed to be here, but it relates to the merge verification procedures that did not catch this **build error**

Merge pull request #6346 from jerryz123/HDF5_config SHA: [e15898a](https://github.com/BVLC/caffe/commit/e15898a06b39a3d2f4dfd0655fac9e56b421534f)

Can not compile in without HDF5 anyway. I suspect you only tried to build it on a target that has HFD5 installed, because in my environment the build fails in 2 places.

I use buildroot to cross compile, Neither my buildhost nor my target has **any** HDF5 stuff installed.

### Steps to reproduce
Build on a host with NO HDF5 references at all !!!!
cmake -DUSE_HDF5=OFF

build will fail

### Suggested Solution
in cmake/Dependencies.cmake
lines 45-48 should have been guarded by the USE_HDF5 sentinel
Cmake fails since no HDF5 stuff is available.

In src /caffe/net.cpp
line 774 the function H5Fis_hdf5 is referenced
Should have been guarded by the USE_HDF5 sentinel

摘自:https://github.com/BVLC/caffe/issues/6550

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值