To compile the tools you need those packages:
To allow vr++ to correctly link the cairo.h
file you have to edit two Makefiles:
and modify the INC line
INC = -I/usr/include/cairo/ -I../include -I$(BUILD_DIR)/include $(GTK_INC)
Now you can proceed to compile vr++ and 3dvdm as usual