Cross compile with mmal support

*nix specific usage questions
miaousami
New Cone
New Cone
Posts: 1
Joined: 20 Oct 2014 23:22

Cross compile with mmal support

Postby miaousami » 21 Oct 2014 00:01

Hi,

I'm trying to cross compile vlc with mmal support for raspberry pi.
I'm stuck at configuration with:

Code: Select all

checking interface/mmal/mmal.h usability... no checking interface/mmal/mmal.h presence... no checking for interface/mmal/mmal.h... no configure: error: Cannot find development headers for mmal...
I retrieved and compiled mmal with

Code: Select all

git clone https://github.com/raspberrypi/userland.git ./buildme
I set up cross compiler with

Code: Select all

git clone https://github.com/raspberrypi/tools.git
and tested compilation of a hello world

Now I'm configuring vlc with

Code: Select all

./configure --host=arm-linux --enable-mmal --disable-avcodec --disable-mad --disable-swscale --disable-a52
(the disabled libraries are so because of compilation errors)

I tried adding CPPFLAGS="-I/path/to/mmal", but also CFLAGS_mmal="-I/path/to/mmal" but it doesn't work...

Can anyone provide some hint on how to tell ./configure where mmal headers are?

Thanks!

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests