2017-01-15, 13:52
(2017-01-15, 03:08)graysky Wrote: @rascas - OK. Yes, I am building on a RPi2. Trying your suggestion about forcing the WITH_ARCH=arm allowed the configuration to work! Build is starting now. I will post back about the result.
Log from the cmake first step:
Code:cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_PREFIX_PATH=/opt/vc \
-DCORE_SYSTEM_NAME=rbpi \
DCPU=cortex-a7 \
-DWITH_ARCH=arm \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_OPENGL=OFF \
-DENABLE_X11=OFF \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DLIRC_DEVICE=/run/lirc/lircd \
../"xbmc-$_tag"/project/cmake
Log from first cmake step: log
It's not DCPU but -DWITH_CPU and I think you shouldn't be using -DWITH_ARCH,
if you do NEON CFLAGS won't be set https://github.com/xbmc/xbmc/blob/master....cmake#L10 ,
ARCH will be set automagically if right WITH_CPU is fed to cmake.
I build with -DWITH_CPU=cortex-a53 and without -DWITH_ARCH for my pi3