You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!!
The text was updated successfully, but these errors were encountered:
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.
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.
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!!
The text was updated successfully, but these errors were encountered: