I try to make macOS GUI application with ffmpeg. On project settings -> General -> Frameworks,Libraries..., I added the ffmpeg lib files /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/lib/libavutil.57.28.100.dylib. I also add lib search path of /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/lib
I still get error : Library not found for -lavutil.57.58.100.
I like to get more detail about error. I think these possibility
- not valid arm64 format.
- linker expect x64 and arm64 binary. But the file has arm64 only.
- Dependency of dylib is missing.
If someone knows solution or detail about this error, please let me know.
That file exist and valid arm64 Mach-O file. file libavutil.57.28.100.dylib libavutil.57.28.100.dylib: Mach-O 64-bit dynamically linked shared library arm64
