You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Run patchelf to set binaries runpath to current working directory
161
+
NOTE: ffmpeg doesn't set runpath to current directly correctly with flag -rpath=$ORIGIN, we still need to use other tools to achieve this. I recommend patchelf. Please do this for all the generated binaries.
@@ -309,10 +329,11 @@ However to generate pkg-config file aom.pc, will still need to cmake with msys2
309
329
$ make install
310
330
$ Move aom.lib under path/to/aom_build_x64/lib
311
331
312
-
3. Linux
332
+
3. Linux or ARM64 Linux
313
333
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu Most of pre requirements can be found in Get the Dependencies section
314
334
However, -DBUILD_SHARED_LIBS is not enough for static lib build.
315
335
To avoid error "can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: final link failed: bad value" Please use the following cmake cmd
336
+
The flag -march=znver2 is optional for performance, you can adject with your GPU
0 commit comments