Mplayer compilation options

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Mplayer compilation options

Postby nico1375 » Sat May 05, 2012 11:43 am

Hello, sorry to ask that kind of question here, but I can't find an answer and I tried litterally tens of times...

I want to compile mplayer but my includes are in /opt/local/include (and libs in /opt/local/lib/)

What is theoption to pass to mplayer during configure so that it detects includes in /opt/local/include, instead of looking only in /usr/include...

Thanks very much

Nicolas
nico1375
 
Posts: 32
Joined: Fri Dec 09, 2011 3:42 pm

Re: Mplayer compilation options

Postby nico1375 » Sat May 05, 2012 4:32 pm

I found it by myself.

In case it might help anyone, here are the options I used :

FFMPEG

./configure --prefix=/opt/local --enable-libxvid --enable-gpl --extra-cflags='-I/opt/local/include' --extra-ldflags='-L/opt/local/lib' --enable-nonfree --enable-libopenjpeg --enable-libx264 --enable-libfaac --enable-postproc --enable-pthreads


MPLAYER

./configure --prefix=/opt/local --extra-cflags='-I/opt/local/include' --extra-ldflags='-L/opt/local/lib' --enable-postproc --enable-pthreads --enable-runtime-cpudetection
nico1375
 
Posts: 32
Joined: Fri Dec 09, 2011 3:42 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 2 guests