Ask Your Question
0

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

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

Vaaaaaaaaaaaaaaaaaaaa gravatar image

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

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

Comments

2

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"

etc.

berak gravatar imageberak ( 2014-02-06 02:37:25 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

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

Question Tools

Stats

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

Seen: 5,831 times

Last updated: Feb 06 '14