windows编译caffe,编译libcaffe成功,编译其他项目时报错,具体错误如下

2>------ 已启动生成: 项目: caffe.binding, 配置: Release x64 ------
2>    正在创建库 D:\caffe-windows-ms\caffe-windows-ms\windows\..\Build\x64\Release\caffe.binding.lib 和对象 D:\caffe-windows-ms\caffe-windows-ms\windows\..\Build\x64\Release\caffe.binding.exp
2>predict_box_layer.obj : error LNK2001: 无法解析的外部符号 "protected: virtual void __cdecl caffe::PredictBoxLayer<double>::Forward_gpu(class std::vector<class caffe::Blob<double> *,class std::allocator<class caffe::Blob<double> *> > const &,class std::vector<class caffe::Blob<double> *,class std::allocator<class caffe::Blob<double> *> > const &)" (?Forward_gpu@?$PredictBoxLayer@N@caffe@@MEAAXAEBV?$vector@PEAV?$Blob@N@caffe@@V?$allocator@PEAV?$Blob@N@caffe@@@std@@@std@@0@Z)
2>predict_box_layer.obj : error LNK2001: 无法解析的外部符号 "protected: virtual void __cdecl caffe::PredictBoxLayer<float>::Forward_gpu(class std::vector<class caffe::Blob<float> *,class std::allocator<class caffe::Blob<float> *> > const &,class std::vector<class caffe::Blob<float> *,class std::allocator<class caffe::Blob<float> *> > const &)" (?Forward_gpu@?$PredictBoxLayer@M@caffe@@MEAAXAEBV?$vector@PEAV?$Blob@M@caffe@@V?$allocator@PEAV?$Blob@M@caffe@@@std@@@std@@0@Z)
2>D:\caffe-windows-ms\caffe-windows-ms\windows\..\Build\x64\Release\caffe.binding.dll : fatal error LNK1120: 2 个无法解析的外部命令
已邀请:

要回复问题请先登录注册