Closed MartinEesmaa closed 2 years ago
Currently when building static, you have to add the 'apputils' library dependeny to the vvenc pkgconfig file. You can do that by either adapt the file 'pkgconfig/libvvenc.pc.in' before building and install vvenc, or adapt the created 'libvvenc.pc' in the lib/pkgconfig/ path where you have installed vvenc.
You have to change the library dependencies from:
Libs: -L${libdir} -lvvenc -lstdc++ -lm
to:
Libs: -L${libdir} -lvvenc -lapputils -lstdc++ -lm
Please keep in mind, that this is only needed for static builds.
Thank you @lehmann-c, you saved my time! I will close this issue. :)
Hi, I have a problem linking vvenc into ffmpeg with static build.
Here is my actually commands to build vvenc with disable lto and generator MinGW Makefiles:
After building and installing vvenc, I checked vvenc installed on mingw64 by using pkg-config before FFmpeg build:
I used FFmpeg commands to configure and then I got only one error of config.log, gives me ld returned 1 exit status:
config.log error:
INFO: I'm using MSYS2 latest version and my gcc version is 12.2.0-1. vvenc version is 1.6.0-rc1 (3651187) cmake version is 3.24.1
Any solutions?