hello,
i am trying to build vompclient for archlinuxarm, has anybody else done this sucessfull?
thats what i did so far:
1. install dependencies
2. checkout source from git:
3. change GNUmakefile, so that all pathes show to correct locations:
4. make
but i still get an error:
anything i can do?
edit: could be usefull to know which versions of packages are installed
i am trying to build vompclient for archlinuxarm, has anybody else done this sucessfull?
thats what i did so far:
1. install dependencies
Code Select
pacman -S ffmpeg libcec-rpi imagemagick
2. checkout source from git:
Code Select
git clone http://git.vomp.tv/vompclient.git
cd vompclient
git checkout 0-4-0
3. change GNUmakefile, so that all pathes show to correct locations:
Code Select
INCLUDES = -DVOMP_PLATTFORM_RASPBERRY -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/usr/include/freetype2 -I/usr/include/ImageMagick-6 -I/opt/vc/include/interface/vmcs_host/linux
4. make
but i still get an error:
Code Select
g++ -g -O0 -Wall -Wshadow -DDEV -D_GNU_SOURCE -DVOMP_PLATTFORM_RASPBERRY -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/usr/include/freetype2 -I/usr/include/ImageMagick-6 -I/opt/vc/include/interface/vmcs_host/linux -D__STDC_CONSTANT_MACROS -c -o remotelinux.o remotelinux.cc
remotelinux.cc: In member function 'int RemoteLinux::initCec()':
remotelinux.cc:132:34: error: invalid conversion from 'int (*)(void*, const cec_log_message&) {aka int (*)(void*, const CEC::cec_log_message&)}' to 'CEC::CBCecLogMessageType {aka int (*)(void*, CEC::cec_log_message)}' [-fpermissive]
remotelinux.cc:133:32: error: invalid conversion from 'int (*)(void*, const cec_keypress&) {aka int (*)(void*, const CEC::cec_keypress&)}' to 'CEC::CBCecKeyPressType {aka int (*)(void*, CEC::cec_keypress)}' [-fpermissive]
remotelinux.cc:134:31: error: invalid conversion from 'int (*)(void*, const cec_command&) {aka int (*)(void*, const CEC::cec_command&)}' to 'CEC::CBCecCommandType {aka int (*)(void*, CEC::cec_command)}' [-fpermissive]
remotelinux.cc:135:44: error: invalid conversion from 'int (*)(void*, const libcec_configuration&) {aka int (*)(void*, const CEC::libcec_configuration&)}' to 'CEC::CBCecConfigurationChangedType {aka int (*)(void*, CEC::libcec_configuration)}' [-fpermissive]
remotelinux.cc: In member function 'virtual UCHAR RemoteLinux::getButtonPress(int)':
remotelinux.cc:248:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
remotelinux.cc:272:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [remotelinux.o] Error 1
anything i can do?
edit: could be usefull to know which versions of packages are installed
Code Select
libcec-rpi 2.1.1-1
ffmpeg 1:1.2-2
imagemagick 6.8.4.6-1