Ask Your Question

fatal error C1083: Cannot open include file: 'opencv/cvaux.h': No such file or directory

asked 2014-02-06 01:07:35 -0500

Vaaaaaaaaaaaaaaaaaaaa gravatar image

updated 2014-02-06 02:39:54 -0500

berak gravatar image

Some one please help me i tried many ways but did not work

#include <opencv/cvaux.h>
#include <opencv/highgui.h>
#include <opencv/cxcore.h>
#include <stdio.h>
#include <stdlib.h>
edit retag flag offensive close merge delete



that's the old 1.0 c-api headers. don't use those.

if you find code, that looks like that, avoid it, it's far too old. instead:

include "opencv2/core/core.hpp"

include "opencv2/highgui/highgui.hpp"


berak gravatar imageberak ( 2014-02-06 02:37:25 -0500 )edit

Agreed with @berak ... we encourage people to stop using the old interface. Docs on those are so outdated, that may constructions don't work anymore as expected.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-02-06 04:53:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-06 02:14:12 -0500

Siegfried gravatar image

Hi, you should provide more informations that someone can help you. I guess you doesn't set the include path to opencv. Here, you can find installation instructions, how to setup the environment and tutorials how to compile a program using OpenCV.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-02-06 01:07:35 -0500

Seen: 4,110 times

Last updated: Feb 06 '14