Ask Your Question
0

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

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

Nikhil Antony gravatar image

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

berak gravatar image

Hi I tried installing opencv with code::blocks and mingw in windows 7. I followed the steps as per the site "http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/" 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
3

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

patofis gravatar image

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

edit flag offensive delete link more

Comments

Can you explain this more?

alvin gravatar imagealvin ( 2019-09-24 15:46:34 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 6,337 times

Last updated: Feb 08 '15