OpenCv GPU problem

asked 2014-06-16 04:11:20 -0500

Mehdi. gravatar image

I wanted to compile my node using face detection based on GPU instead of CPU. I tried with both internal groovy opencv libraries and with external opencv libraries on my computer. In both cases I get:

  /usr/local/include/opencv2/gpu/gpu.hpp:883:55: error: expected ‘,’ or ‘...’ before ‘->’ token
  /usr/local/include/opencv2/gpu/gpu.hpp:884:55: error: expected ‘,’ or ‘...’ before ‘->’ token
  /usr/local/include/opencv2/gpu/gpu.hpp:890:58: error: expected ‘,’ or ‘...’ before ‘->’ token

what is that??? I didn't touch any of those hpp files.

edit retag flag offensive close merge delete

Comments

Does opencv lib by itself compile (if not included in your code)? If so, please give some of your lines where you #include <opencv2 gpu="" gpu.hpp=""> ....

Wolf gravatar image Wolf  ( 2014-06-16 07:44:49 -0500 )edit