Download and build FFMPEG by yourself instead of apt-get on Ubuntu 16.04
A library such as avcodec that can be created as this product is
What should I do if I want to recognize OpenCV's CMAKE the same as when I did apt-get it?
Below are the items I checked.All failed
·Add LD_LIBRARY_PATH to ~/.bashrc
·Copy the folder containing the lib file you created to the folder /etc/ld.so.conf.d/
Thank you for your cooperation
linux ubuntu ffmpeg apt cmake
I finally understand.
This was just a small number of PATH settings.
If you build ffmpeg, pkg-config will work, so you can create the file there
When I added it as PKG_CONFIG_PATH again, OpenCV's CMAKE recognized it as a package.
I'm sorry to bother you.
© 2025 OneMinuteCode. All rights reserved.