1.问题是hdf5没有这个文件
解决方法
在Makefile.config文件的第85行,添加 /usr/include/hdf5/serial/ 到 INCLUDE_DIRS,也就是把下面第一行代码改为第二行代码。
INCLUDE_DIRS :=
(PYTHONINCLUDE)/usr/local/includeINCLUDEDIRS:=
(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
在Makefile文件的第173行,把 hdf5_hl 和hdf5修改为hdf5_serial_hl 和 hdf5_serial,也就是把下面第一行代码改为第二行代码。
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
2.问题是feature.extrac…..然后
就是在Makefile.config 中把opencv 用起来,并且版本改为2
后来发现自己的是opencv3, 那错误的原因应该就是直接把opencv用起来,版本不需要改。