I am using MAC OSx and OpenCv 2.4.8. I am trying to compile a program which includes:
avformat.h and avcodec.h
I have looked for those files in my computer and they exist (in OpenCv folder).
When I compile like this:
g++ track.cpp -o track -I /Desktop/opencv-2.4.8/include/opencv -L /Desktop/opencv-2.4.8/3rdparty/include/ffmpeg_/libavcodec /Desktop/opencv-2.4.8/3rdparty/include/ffmpeg_/libavformat -lopencv_highgui -lopencv_core -lavcodec -lavformat
I get the following error:
fatal error: 'avformat.h' file not found fatal error: 'avcodec.h' file not found
What's wrong??
THANKS A LOT!!