Install libcwiid1 and libcwiid-dev

go to

/opt/ros/electric/stacks/joystick_drivers/cwiid/cwiid/lib/

remove or rename

libcwiid.so
libcwiid.so.1
libcwiid.so.1.0

Create the following symbolic links with “sudo ln -s”

lrwxrwxrwx 1 root root     20 2012-03-14 21:57 libcwiid.so -> /usr/lib/libcwiid.so
lrwxrwxrwx 1 root root     22 2012-03-14 21:58 libcwiid.so.1 -> /usr/lib/libcwiid.so.1
lrwxrwxrwx 1 root root     24 2012-03-14 21:58 libcwiid.so.1.0 -> /usr/lib/libcwiid.so.1.0
##############ROS - FroboMind#########################
#Add ROS environment variables to shell
#source /opt/ros/electric/setup.bash ###Old ROS
source /opt/ros/fuerte/setup.bash
#Add FroboMind environment variables
source ~/FroboMind/FroboMind_fuerte/setup.bash
##Export for connecting on Mortens PC
export ROS_MASTER_URI=http://morl-ThinkPad-W520:11311/