cannot find gpu.hpp

asked 2014-02-28 17:28:37 -0500

curtis newton gravatar image

updated 2014-02-28 17:47:15 -0500

Hello, as i try to compile an opencv code originaly from windows, i get

fatal error: opencv2/gpu/gpu.hpp: No such file or directory

and i cant find that file nowhere in the opencv directory

i got the repository like this

git clone https://github.com/Itseez/opencv.git

so has this been removed ? i cant find anyone having the same issu on the web

plz help me

[i downloaded the stable 2.4.8 and noticed it was there but in the non free section, so is there going to be some alternative in the git repository ?]

edit retag flag offensive close merge delete

Comments

May be the linking of libraries has not been done properly.Download the gpu.hpp from here: https://github.com/abhi-kumar/Hexapod

Abhishek Kumar Annamraju gravatar imageAbhishek Kumar Annamraju ( 2014-02-28 22:34:16 -0500 )edit

I too have the same issue. I downloaded the latest OpenCV(3.1.0) file yesterday and did the installation, Following is my error fatal error: opencv2/core/gpumat.hpp: No such file or directory

Could not find gpu.hpp in "/usr/local/include/opencv2/gpu/

lm35 gravatar imagelm35 ( 2016-10-20 05:30:39 -0500 )edit