It think there is a bug in the class crator:
for example:
/////////////////////////////////////////////////////////
#include "ModaCPP.h"
using namespace ModaCPP;
#ifndef __THEROBOT__H
#define __THEROBOT__H
//devices names
//Type Motor
#define TheRobot_MOTOR00_PATH "/hinge2_right/a1/m"
#define TheRobot_MOTOR00_INDEX 0
#define TheRobot_MOTOR01_PATH "/hinge2_left/a1/m"
#define TheRobot_MOTOR01_INDEX 1
the devices path start with "/" whereas it should not. That causes the devices cannot be found in the robot !!
I solved it by removing the '/' and all is now OK
