decord
decord copied to clipboard
Compiling using cmake
I'm trying to compile decord in windows using cmake but it cannot find ffmpeg.
I tried adding the path in decord/cmake/modulesFFmpeg.cmake
But it did not work.
Where do I need to add the path to ffmpeg.exe?
See #17
See #17 cmake -DCMAKE_CXX_FLAGS="/DDECORD_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" -G "Visual Studio 15 2017 Win64" -DFFMPEG_DIR:PATH="C:/ffmpeg-20191215-9fe0790-win64-static/bin/" ..
I'm passing the path to ffmpeg in the command line but still got this error:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) CMake Error at cmake/modules/FFmpeg.cmake:28 (message): Unable to find FFMPEG automatically, please specify FFMPEG location Call Stack (most recent call first): CMakeLists.txt:91 (include)
See #17 cmake -DCMAKE_CXX_FLAGS="/DDECORD_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" -G "Visual Studio 15 2017 Win64" -DFFMPEG_DIR:PATH="C:/ffmpeg-20191215-9fe0790-win64-static/bin/" ..
I'm passing the path to ffmpeg in the command line but still got this error:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) CMake Error at cmake/modules/FFmpeg.cmake:28 (message): Unable to find FFMPEG automatically, please specify FFMPEG location Call Stack (most recent call first): CMakeLists.txt:91 (include)
Could you build the library, eventually? If yes then which FFmpeg version did you use? And how did you get the static version of FFmpeg? I am also trying to build the library in windows but could not build it from visual studio 2017. I just wanted to be sure whether it's because of the FFmpeg version or something else?!