-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Hi @vadimkantorov. Could you please give some tips on Mac OS / Linux install instructions?
In my Mac OS, I did install ffmpeg and opencv in my anaconda env. But when I wanna make
, it returns with following error
g++ mpegflow.cpp -o mpegflow -O3 -D__STDC_CONSTANT_MACROS -lswscale -lavdevice -lavformat -lavcodec -lswresample -lavutil -lpthread -lbz2 -lz -lc -lrt -Idependencies/include -Ldependencies/lib
mpegflow.cpp:9:11: fatal error: 'libavcodec/avcodec.h' file not found
#include <libavcodec/avcodec.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated. make: *** [mpegflow] Error 1
Is there any solution to this problem?
Moreover, in your build instruction for Windows, you mention
To build the tools on Windows:
- Create directory dependencies
- Extract FFmpeg dev and shared builds to the dependencies directory (for mpegflow and vis)
- Extract an OpenCV 3.x build to the dependencies directory (for vis)
- Open VS2015 x64 Native Tools Command Prompt (VS2015 Community Edition will work) and run:
So, should the dependencies
directory under mpegflow
main directory? And btw, could MAC follow the some build instruction?
Thank you in advance.