Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Sticky post or web page describing vompclient raspberry development setup

Started by sirwio, April 04, 2013, 21:12:51

Previous topic - Next topic


My SD card got boorked some days ago and I have had to write a new image to the card. Unfortunately my notes of the steps required to setup a working develop environment for the vompclient on the raspberry could not be found...

Wouldn't it be nice to have a sticky post on this forum or perhaps even better - a web page on the loggytronic site like

These are the steps I took while setting up my new develop environment. It may not be optimal and can likely be simplified - Some parts may be plain wrong. Suggestions and review especially by Marten and Chris are welcome.

Download the "Rasbian Wheezy" image available from
Write the image to the SD card following e.g. the instructions on

Boot Rasbian. Remember, the login username is pi and the password is raspberry. When the initial setup loads, change the memory split to give the GPU 128MB. Change other options to suit. Now execute:

sudo su -
apt-get install libavformat53 libmagick++5 liblockdev1
wget ""
dpkg -i libcec1_1.8.1-1_armhf.deb

At this point the box is configured to execute a vompclient raspberry binary.

The libcec development package below does not currently exist in the dl area. It can be downloaded from the forum sections but I suggest adding it to the dl site to make the setup simplified.

wget ""
dpkg -i libcec-dev_1.8.1-1_armhf.deb

Next we need to install various development libraries. Please review if these are the correct development libraries. Especially libmagick++-dev brings in tons of dependencies. Perhaps there are a more lightweight version available.

apt-get install libavcodec-dev
apt-get install libavformat-dev
apt-get install libmagick++-dev

Install git so that its possible to fetch the vompclient source code:

apt-get install git-core

If we continue to build vompclient at this stage the build will choke with a:
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  -D__STDC_CONSTANT_MACROS   -c -o osdopenvg.o
In file included from /opt/vc/include/bcm_host.h:50:0,
/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:52: fatal error: interface/vmc_host/linux/vchost_config.h: No such file or directory
compilation terminated.
make: *** [osdopenvg.o] Error 1

One workaround is to replace line 33 in the file /opt/vc/include/interface/vmcs_host/vcgencmd.h with
#include "interface/vmcs_host/linux/vchost_config.h"

A better workaround is likely to add -I/opt/vc/include/interface/vmcs_host/linux to the INCLUDES in the GNumakefile.

exit from the superuser session to fetch and build as user pi


Fetch the sources and start the build

git clone
cd vompclient

Congratulation. You should now have a vompclient executable that can be started as:



The libcec-dev package in the post above is not working (only 519 bytes). Get it from here: