[Solved] Compile error when using FFMPEG library

[ad_1]

A lowercase -l is a linker option used to specify libraries. They might look like libsomething.a and becomes -lsomething in the linker invocation. In order to add a directory to the header search path, use a capital i, -I.

gcc main.c -L/some/path/ffmpeg_build/lib -I/some/path/ffmpeg_build/include

1

[ad_2]

solved Compile error when using FFMPEG library