Ask Your Question

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

asked 2015-02-07 23:02:36 -0500

Nikhil Antony gravatar image

updated 2015-02-08 11:06:40 -0500

berak gravatar image

Hi I tried installing opencv with code::blocks and mingw in windows 7. I followed the steps as per the site "" and in the end i as successful in running the demo program hello world. bt when i added a line "#include "opencv2/core/core.hpp"" it shows "fatal error: opencv2/highgui/highgui.hpp: No such file or directory|". I'm a newbie. So please help me out. Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-08 05:23:34 -0500

patofis gravatar image

you probably need to include the folder upper than opencv2 on your include list.

edit flag offensive delete link more


Can you explain this more?

alvin gravatar imagealvin ( 2019-09-24 15:46:34 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-07 22:56:41 -0500

Seen: 3,846 times

Last updated: Feb 08 '15