Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Makefile Archlinux |使用caffe lstm构建的未定义引用_Makefile_Caffe_Lstm - Fatal编程技术网

Makefile Archlinux |使用caffe lstm构建的未定义引用

Makefile Archlinux |使用caffe lstm构建的未定义引用,makefile,caffe,lstm,Makefile,Caffe,Lstm,我安装caffe时没有任何问题,但当我尝试构建caffe lstm时,我有以下问题: [ 86%] Linking CXX executable train_net ../lib/libcaffe.so: undefined reference to `H5LTget_dataset_ndims' ../lib/libcaffe.so: undefined reference to `H5LTread_dataset_int' ../lib/libcaffe.so: undefined refe

我安装caffe时没有任何问题,但当我尝试构建caffe lstm时,我有以下问题:

[ 86%] Linking CXX executable train_net
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_ndims'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTfind_dataset'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<double>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_float'
../lib/libcaffe.so: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_float'
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_info'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_string'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<float>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_string'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/test_net.dir/build.make:127: tools/test_net] Error 1
make[1]: *** [CMakeFiles/Makefile2:510: tools/CMakeFiles/test_net.dir/all] Error 2
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_ndims'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTfind_dataset'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<double>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_float'
../lib/libcaffe.so: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_float'
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_info'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_string'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<float>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_string'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/train_net.dir/build.make:127: tools/train_net] Error 1
make[1]: *** [CMakeFiles/Makefile2:548: tools/CMakeFiles/train_net.dir/all] Error 2
In file included from /usr/include/boost/type_traits/ice.hpp:15:0,
                 from /usr/include/boost/python/detail/def_helper.hpp:9,
                 from /usr/include/boost/python/class.hpp:29,
                 from /usr/include/boost/python.hpp:18,
                 from /home/standnail/Git/caffe-lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated
 # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated")
                                                                       ^
In file included from /usr/include/boost/type_traits/ice.hpp:16:0,
                 from /usr/include/boost/python/detail/def_helper.hpp:9,
                 from /usr/include/boost/python/class.hpp:29,
                 from /usr/include/boost/python.hpp:18,
                 from /home/standnail/Git/caffe-lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated
 # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated")
                                                                        ^
In file included from /usr/include/boost/type_traits/ice.hpp:17:0,
                 from /usr/include/boost/python/detail/def_helper.hpp:9,
                 from /usr/include/boost/python/class.hpp:29,
                 from /usr/include/boost/python.hpp:18,
                 from /home/standnail/Git/caffe-lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated
 # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated")
                                                                        ^
In file included from /usr/include/boost/type_traits/ice.hpp:18:0,
                 from /usr/include/boost/python/detail/def_helper.hpp:9,
                 from /usr/include/boost/python/class.hpp:29,
                 from /usr/include/boost/python.hpp:18,
                 from /home/standnail/Git/caffe-lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated
 # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated")
                                                                       ^
[ 86%] Linking CXX executable caffe
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_ndims'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTfind_dataset'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<double>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_int'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_float'
../lib/libcaffe.so: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_float'
../lib/libcaffe.so: undefined reference to `H5LTget_dataset_info'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_string'
../lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<float>*>::pop(std::string const&)'
../lib/libcaffe.so: undefined reference to `H5LTread_dataset_double'
../lib/libcaffe.so: undefined reference to `H5LTmake_dataset_string'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/caffe.bin.dir/build.make:127: tools/caffe] Error 1
make[1]: *** [CMakeFiles/Makefile2:472: tools/CMakeFiles/caffe.bin.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
[86%]链接CXX可执行序列\u net
../lib/libcaffe.so:H5LTget\u dataset\u ndims的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTfind_数据集”的未定义引用
../lib/libcaffe.so:caffe::BlockingQueue::pop(std::string const&)的未定义引用
../lib/libcaffe.so:google::base::CheckOpMessageBuilder::NewString()的未定义引用
../lib/libcaffe.so:H5LTmake\u dataset\u double的未定义引用
../lib/libcaffe.so:对“H5LTmake\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u float”的未定义引用
../lib/libcaffe.so:对“google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*,int)”的未定义引用
../lib/libcaffe.so:对“H5LTmake\u dataset\u float”的未定义引用
../lib/libcaffe.so:对“H5LTget\u数据集\u信息”的未定义引用
../lib/libcaffe.so:对“H5LTread\u数据集\u字符串”的未定义引用
../lib/libcaffe.so:caffe::BlockingQueue::pop(std::string const&)的未定义引用
../lib/libcaffe.so:H5LTread\u dataset\u double的未定义引用
../lib/libcaffe.so:对“H5LTmake\u数据集\u字符串”的未定义引用
collect2:错误:ld返回了1个退出状态
make[2]:***[tools/CMakeFiles/test\u net.dir/build.make:127:tools/test\u net]错误1
make[1]:***[CMakeFiles/Makefile2:510:tools/CMakeFiles/test_net.dir/all]错误2
../lib/libcaffe.so:H5LTget\u dataset\u ndims的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTfind_数据集”的未定义引用
../lib/libcaffe.so:caffe::BlockingQueue::pop(std::string const&)的未定义引用
../lib/libcaffe.so:google::base::CheckOpMessageBuilder::NewString()的未定义引用
../lib/libcaffe.so:H5LTmake\u dataset\u double的未定义引用
../lib/libcaffe.so:对“H5LTmake\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u float”的未定义引用
../lib/libcaffe.so:对“google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*,int)”的未定义引用
../lib/libcaffe.so:对“H5LTmake\u dataset\u float”的未定义引用
../lib/libcaffe.so:对“H5LTget\u数据集\u信息”的未定义引用
../lib/libcaffe.so:对“H5LTread\u数据集\u字符串”的未定义引用
../lib/libcaffe.so:caffe::BlockingQueue::pop(std::string const&)的未定义引用
../lib/libcaffe.so:H5LTread\u dataset\u double的未定义引用
../lib/libcaffe.so:对“H5LTmake\u数据集\u字符串”的未定义引用
collect2:错误:ld返回了1个退出状态
make[2]:***[tools/CMakeFiles/train\u net.dir/build.make:127:tools/train\u net]错误1
make[1]:***[CMakeFiles/Makefile2:548:tools/CMakeFiles/train_net.dir/all]错误2
在/usr/include/boost/type_traits/ice.hpp:15:0中包含的文件中,
来自/usr/include/boost/python/detail/def_helper.hpp:9,
来自/usr/include/boost/python/class.hpp:29,
从/usr/include/boost/python.hpp:18,
from/home/standnail/Git/caffe lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_或.hpp:17:71:注意:#pragma消息:注意:不推荐使用此标头(ice_或.hpp)
#pragma消息(“注意:不推荐使用此标题(ice_或.hpp))
^
在/usr/include/boost/type_traits/ice.hpp:16:0中包含的文件中,
来自/usr/include/boost/python/detail/def_helper.hpp:9,
来自/usr/include/boost/python/class.hpp:29,
从/usr/include/boost/python.hpp:18,
from/home/standnail/Git/caffe lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_and.hpp:18:72:注意:#pragma消息:注意:不推荐使用此标头(ice_and.hpp)
#pragma消息(“注意:不推荐使用此标题(ice_和.hpp))
^
在/usr/include/boost/type_traits/ice.hpp:17:0中包含的文件中,
来自/usr/include/boost/python/detail/def_helper.hpp:9,
来自/usr/include/boost/python/class.hpp:29,
从/usr/include/boost/python.hpp:18,
from/home/standnail/Git/caffe lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_not.hpp:17:72:注意:#pragma消息:注意:不推荐使用此标头(ice_not.hpp)
#pragma消息(“注意:不推荐使用此标题(ice_not.hpp))
^
在/usr/include/boost/type_traits/ice.hpp:18:0中包含的文件中,
来自/usr/include/boost/python/detail/def_helper.hpp:9,
来自/usr/include/boost/python/class.hpp:29,
从/usr/include/boost/python.hpp:18,
from/home/standnail/Git/caffe lstm/tools/caffe.cpp:2:
/usr/include/boost/type_traits/detail/ice_eq.hpp:17:71:注意:#pragma消息:注意:不推荐使用此标题(ice_eq.hpp)
#pragma消息(“注意:不推荐使用此标题(ice_eq.hpp))
^
[86%]链接CXX可执行文件caffe
../lib/libcaffe.so:H5LTget\u dataset\u ndims的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTfind_数据集”的未定义引用
../lib/libcaffe.so:caffe::BlockingQueue::pop(std::string const&)的未定义引用
../lib/libcaffe.so:google::base::CheckOpMessageBuilder::NewString()的未定义引用
../lib/libcaffe.so:H5LTmake\u dataset\u double的未定义引用
../lib/libcaffe.so:对“H5LTmake\u dataset\u int”的未定义引用
../lib/libcaffe.so:对“H5LTread\u dataset\u float”的未定义引用
../lib/libcaffe.so:undf
# ---[ HDF5
find_package(HDF5 COMPONENTS HL REQUIRED)
include_directories(SYSTEM ${HDF5_INCLUDE_DIRS} ${HDF5_HL_INCLUDE_DIR})
list(APPEND Caffe_LINKER_LIBS ${HDF5_LIBRARIES})
list(APPEND Caffe_LINKER_LIBS ${HDF5_HL_LIBRARIES}) #added