zed-openpose icon indicating copy to clipboard operation
zed-openpose copied to clipboard

[Windows] C2664 'void op::PoseExtractorCaffe::forwardPass(const op::Array<float> &,const op::Point<int> &,const std::vector<double,std::allocator<_Ty>> &)': cannot convert argument 1 from 'std::vector<op::Array<float>,std::allocator<_Ty>>' to 'const op::Array<float>

Open sohaiblaraba opened this issue 6 years ago • 1 comments

I have tried the project on windows. I have several link issues by I succeeded to fix them. Now I get this build error which is related to definition of one the functions:

  • C2664 'void op::PoseExtractorCaffe::forwardPass(const op::Array &,const op::Point &,const std::vector<double,std::allocator<_Ty>> &)': cannot convert argument 1 from 'std::vector<op::Array,std::allocator<_Ty>>' to 'const op::Array

  • C2679 binary '=': no operator found which takes a right-hand operand of type 'op::Array' (or there is no acceptable conversion)

netInputArray (line 68) is defined as std::vector<op::Array> while poseExtractorCaffe.forwardPass takes as input op::Array.

When I changed the definition of netInputArray to op::Array the build succeeds, however I get another exe. error:

image

Do you have any idea where this is coming from? Thank you in advance for your reply.

sohaiblaraba avatar May 29 '18 14:05 sohaiblaraba

Hi @sohaib-l ! I'm trying to do this project on Windows and I'm finding some linking problems. Can you help me and tell me what else do I need to Link?

Screenshot (90)

By the way, did you solve your problem?

ale22596 avatar Aug 20 '19 19:08 ale22596