2017-01-14, 18:55
Trying to use cmake to build RC3 for Raspberry Pi2/Linux. The old configure line I used was:
(See the README.raspberrypi).
What is the cmake method I can use to:
1) enable omxplayer
2) pass the platform=raspberry-pi to the builder?
I have starting with the below but adding -A=raspberry-pi failed so I removed it... I tried -DENABLE_PLAYER=omxplayer but I don't see anything in the output to show that worked:
Code:
./configure --prefix=$_prefix --exec-prefix=$_prefix \
--with-platform=raspberry-pi \
--disable-gl \
--enable-gles \
--disable-x11 \
--disable-vaapi \
--disable-vdpau \
--disable-debug \
--disable-mid \
--enable-player=omxplayer \
--with-lirc-device=/run/lirc/lircd \
ac_cv_lib_bluetooth_hci_devid=no
(See the README.raspberrypi).
What is the cmake method I can use to:
1) enable omxplayer
2) pass the platform=raspberry-pi to the builder?
I have starting with the below but adding -A=raspberry-pi failed so I removed it... I tried -DENABLE_PLAYER=omxplayer but I don't see anything in the output to show that worked:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_EVENTCLIENTS=ON \
-DLIRC_DEVICE=/run/lirc/lircd \
-DENABLE_X11=OFF \
../"xbmc-$_tag"/project/cmake
make VERBOSE=1
make preinstall