It's years after the question was asked, but I recently ran into the kinds of issues described in this question! I'd like to add my input.įirst: I only built the static ffmpeg libraries (for reasons), which the opencv build process is somewhat hostile towards. I am building on Linux, Redhat 6, OpenCV 2.3.1. I am not sure if my problem is with building and linking to the wrong version of FFMPEG or if it is something with my environment after building (and then linking to the wrong ffmpeg). Linking an app on a machine without the same system libraries seems to NOT link to my custom install of OpenCV (specifically the libavcodec) because of this (I'm installing these libraries on a shared network folder). 52 and the version in my install of FFMPEG are. I can build OpenCV but it seems to link to the system libraries for libavcodec - this causes a conflict as the system libraries are version. The only setting related to FFMPEG appears to be WITH_FFMPEG type setting (set to ON). Within CMake however I cannot find any setting for path to FFMPEG - either in basic or custom. PKG_CONFIG_PATH=/samepathto/ffmpeg-0.10.2/lib/pkgconfig/ LD_LIBRARY_PATH=/pathto/ffmpeg-0.10.2/libĪdditionally, I've configured pkgconfig as: My LD_LIBRARY_PATH contains a direct link to the folder for the custom install of FFMPEG: I cannot seem to configure OpenCV to link to a non-/usr/lib set of FFMPEG libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |