Compiling VLC with librairies in non standard directorys.
Posted: 28 Jun 2007 16:44
Hi !
I would like to compile VLC with librairies located in non standard directories (i.e : libs and .h are in MY_PATH/lib and MY_PATH/inculde).
I've manage to compile ffmpeg by adding
in the ./configure line.
With VLC, i've got 2 problems.
First with pkgs, solved with this :
Second with faad :
I've tryed to use CPPFLAGS
and LDFLAGS
But i still got the same error...
My knowledge is poor and i'm a little stuck ^^... What should i do ?
Thx !
I would like to compile VLC with librairies located in non standard directories (i.e : libs and .h are in MY_PATH/lib and MY_PATH/inculde).
I've manage to compile ffmpeg by adding
Code: Select all
--cflags=-I$RESULTS/include --extra-ldflags=-L$RESULTS/lib
With VLC, i've got 2 problems.
First with pkgs, solved with this :
Code: Select all
export PKG_CONFIG_PATH=$RESULTS/lib/pkgconfig
Code: Select all
checking faad.h usability... no
checking faad.h presence... no
checking for faad.h... no
configure: error: Cannot find development headers for libfaad...
Code: Select all
CPPFLAGS=-I$RESULTS/include
Code: Select all
LDFLAGS=-L$RESULTS/lib
My knowledge is poor and i'm a little stuck ^^... What should i do ?
Thx !