Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 'oav' should search for ffmpeg install #175

Open
derek-gerstmann opened this issue Apr 4, 2016 · 2 comments
Open

Module 'oav' should search for ffmpeg install #175

derek-gerstmann opened this issue Apr 4, 2016 · 2 comments

Comments

@derek-gerstmann
Copy link
Contributor

The 'OAV' module assumes that the system include path already contains the 'libavcodec/avcodec.h' and related headers, and offers no CMAKE build option to override the FFMPEG_INCLUDE path. Attempting to set the CMAKE_C_FLAGS/CMAKE_CXX_FLAGS from the top-level OmegaLib build doesn't seem to work.

Please add a FindFFMPEG.cmake search routine, and/or an FFMPEG_INCLUDE config option!

Thanks!!

@derek-gerstmann
Copy link
Contributor Author

Actually, it looks like the module CMakeLists.txt DOES search for FFMPEG, it just doesn't add the FFMPEG_INCLUDE as an option to the build. And it only looks in '/usr/include/ffmpeg', so for example, it doesn't work for non-system-wide installs, like those used by MacPorts, Fink, HomeBrew, etc.

@febret
Copy link
Member

febret commented Apr 10, 2016

This is a known issue - oav is still under heavy testing. My suggestion is to fork and edit it to make it work on your system, then send a pull request so we can merge our respective changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants