Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

When I compiled mxnet with the ssd example, I got erro : #3948

Closed
poorfriend opened this issue Nov 23, 2016 · 3 comments
Closed

When I compiled mxnet with the ssd example, I got erro : #3948

poorfriend opened this issue Nov 23, 2016 · 3 comments

Comments

@poorfriend
Copy link

3> 正在创建库 E:/opensource/mxnet-master/build/Debug/libmxnet.lib 和对象 E:/opensource/mxnet-master/build/Debug/libmxnet.exp
3>multibox_detection.obj : error LNK2019: 无法解析的外部符号 "class mxnet::Operator * __cdecl mxnet::op::CreateOp(struct mxnet::op::MultiBoxDetectionParam,int)" (??$CreateOp@Ugpu@mshadow@@@op@mxnet@@YAPEAVOperator@1@UMultiBoxDetectionParam@01@H@Z),该符号在函数 "public: virtual class mxnet::Operator * __cdecl mxnet::op::MultiBoxDetectionProp::CreateOperatorEx(struct mxnet::Context,class std::vector<class mxnet::TShape,class std::allocator > *,class std::vector<int,class std::allocator > *)const " (?CreateOperatorEx@MultiBoxDetectionProp@op@mxnet@@UEBAPEAVOperator@3@UContext@3@PEAV?$vector@VTShape@mxnet@@v?$allocator@VTShape@mxnet@@@std@@@std@@peav?$vector@HV?$allocator@H@std@@@7@@z) 中被引用
3>multibox_prior.obj : error LNK2019: 无法解析的外部符号 "class mxnet::Operator * __cdecl mxnet::op::CreateOp(struct mxnet::op::MultiBoxPriorParam,int)" (??$CreateOp@Ugpu@mshadow@@@op@mxnet@@YAPEAVOperator@1@UMultiBoxPriorParam@01@H@Z),该符号在函数 "public: virtual class mxnet::Operator * __cdecl mxnet::op::MultiBoxPriorProp::CreateOperatorEx(struct mxnet::Context,class std::vector<class mxnet::TShape,class std::allocator > *,class std::vector<int,class std::allocator > *)const " (?CreateOperatorEx@MultiBoxPriorProp@op@mxnet@@UEBAPEAVOperator@3@UContext@3@PEAV?$vector@VTShape@mxnet@@v?$allocator@VTShape@mxnet@@@std@@@std@@peav?$vector@HV?$allocator@H@std@@@7@@z) 中被引用
3>multibox_target.obj : error LNK2019: 无法解析的外部符号 "class mxnet::Operator * __cdecl mxnet::op::CreateOp(struct mxnet::op::MultiBoxTargetParam,int)" (??$CreateOp@Ugpu@mshadow@@@op@mxnet@@YAPEAVOperator@1@UMultiBoxTargetParam@01@H@Z),该符号在函数 "public: virtual class mxnet::Operator * __cdecl mxnet::op::MultiBoxTargetProp::CreateOperatorEx(struct mxnet::Context,class std::vector<class mxnet::TShape,class std::allocator > *,class std::vector<int,class std::allocator > *)const " (?CreateOperatorEx@MultiBoxTargetProp@op@mxnet@@UEBAPEAVOperator@3@UContext@3@PEAV?$vector@VTShape@mxnet@@v?$allocator@VTShape@mxnet@@@std@@@std@@peav?$vector@HV?$allocator@H@std@@@7@@z) 中被引用
3>cuda_compile_1_generated_convolution.cu.obj : error LNK2019: 无法解析的外部符号 cudnnConvolutionBackwardFilter_v3,该符号在函数 "public: virtual void __cdecl mxnet::op::CuDNNConvolutionOp::Backward(struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<enum mxnet::OpReqType,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &)" (?Backward@?$CuDNNConvolutionOp@M@op@mxnet@@UEAAXAEBUOpContext@3@AEBV?$vector@VTBlob@mxnet@@v?$allocator@VTBlob@mxnet@@@std@@@std@@11AEBV?$vector@W4OpReqType@mxnet@@v?$allocator@W4OpReqType@mxnet@@@std@@@6@11@Z) 中被引用
3>cuda_compile_1_generated_deconvolution.cu.obj : error LNK2001: 无法解析的外部符号 cudnnConvolutionBackwardFilter_v3
3>cuda_compile_1_generated_convolution.cu.obj : error LNK2019: 无法解析的外部符号 cudnnConvolutionBackwardData_v3,该符号在函数 "public: virtual void __cdecl mxnet::op::CuDNNConvolutionOp::Backward(struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<enum mxnet::OpReqType,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator > const &)" (?Backward@?$CuDNNConvolutionOp@M@op@mxnet@@UEAAXAEBUOpContext@3@AEBV?$vector@VTBlob@mxnet@@v?$allocator@VTBlob@mxnet@@@std@@@std@@11AEBV?$vector@W4OpReqType@mxnet@@v?$allocator@W4OpReqType@mxnet@@@std@@@6@11@Z) 中被引用
3>cuda_compile_1_generated_deconvolution.cu.obj : error LNK2001: 无法解析的外部符号 cudnnConvolutionBackwardData_v3
3>E:\opensource\mxnet-master\build\Debug\libmxnet.dll : fatal error LNK1120: 5 个无法解析的外部命令

@poorfriend
Copy link
Author

I use cudnn V5, should I use v3?

@piiswrong
Copy link
Contributor

v5 is fine. You are not linking agains cudnn library. Where did you install it? See if you can find it in path

@yajiedesign
Copy link
Contributor

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants