5
4
I want to compile and build ffmpeg in my home folder since I don't have sudo privilege, but how to specify search directories for external libraries while running configure? I try to enable libx264, which is installed in my home folder instead of '/usr/local/', but
./configure --enable-libx264
returns me that libx264 can not be found.
How to tell configure that the libx264 is actually in /home/myusername/local/?
I did want to add --extra-cflags=--static parameter, but in other hand I want to address h264 too. What should I do now?! – Dr.jacky – 2015-12-08T07:28:36.443
Combine the two into one --extra-cflags with quotes as in my example and a space between the different parameters. --extra-cflags="-I/blah/blah/blah -static" – Majenko – 2015-12-08T08:33:07.297
For me it doesn't find a anything and always tries to go by pkgconfig no matter what I try to do – ColdSteel – 2019-10-23T13:31:30.243
yes, it works, but '--extra-cflags="-I/path/to/extra/includes' should be '--extra-cflags="-I/path/to/extra/include'. – zhanwu – 2011-04-13T20:19:57.363