PR2/pr2_apps — pull request #9 by aginika (2014-07-31 14:30:19+00:00)
Title: suppress compile error because of lack of catkin_LIBRARIES and LIBRARIES

To pass the compile, I needed to add
- ${catkin_LIBRARIES}
- pr2_teleop_general_commander

I get something like below errors
```
CMakeFiles/pr2_teleop_general_keyboard.dir/src/pr2_teleop_general_keyboard.cpp.o: In function `spin_function()':
pr2_teleop_general_keyboard.cpp:(.text+0x5): undefined reference to `ros::spin()'
CMakeFiles/pr2_teleop_general_keyboard.dir/src/pr2_teleop_general_keyboard.cpp.o: In function `quit(int)':
pr2_teleop_general_keyboard.cpp:(.text+0x2f): undefined reference to `ros::shutdown()'
CMakeFiles/pr2_teleop_general_keyboard.dir/src/pr2_teleop_general_keyboard.cpp.o: In function `main':
pr2_teleop_general_keyboard.cpp:(.text+0xc0): undefined reference to `ros::init(int&, char**, std::basic_string, std::allocator > const&, unsi
gned int)'
pr2_teleop_general_keyboard.cpp:(.text+0x34d): undefined reference to `ros::console::g_initialized'
pr2_teleop_general_keyboard.cpp:(.text+0x35d): undefined reference to `ros::console::initialize()'
pr2_teleop_general_keyboard.cpp:(.text+0x3a6): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::basic_string, std::allocator > const&, ros::console::levels::Level)'
pr2_teleop_general_keyboard.cpp:(.text+0x3e1): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
pr2_teleop_general_keyboard.cpp:(.text+0x3eb): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
pr2_teleop_general_keyboard.cpp:(.text+0x43a): undefined reference to `ros::console::print(ros::console::FilterBase*, void*, ros::console::levels::Level, char const*, int, char
const*, char const*, ...)'
pr2_teleop_general_keyboard.cpp:(.text+0x517): undefined reference to `GeneralCommander::sendProjectorStartStop(bool)'
pr2_teleop_general_keyboard.cpp:(.text+0x533): undefined reference to `GeneralCommander::sendProjectorStartStop(bool)'
pr2_teleop_general_keyboard.cpp:(.text+0x54f): undefined reference to `GeneralCommander::setLaserMode(GeneralCommander::LaserControlMode)'
pr2_teleop_general_keyboard.cpp:(.text+0x56b): undefined reference to `GeneralCommander::setLaserMode(GeneralCommander::LaserControlMode)'
pr2_teleop_general_keyboard.cpp:(.text+0x587): undefined reference to `GeneralCommander::setLaserMode(GeneralCommander::LaserControlMode)'
pr2_teleop_general_keyboard.cpp:(.text+0x5a3): undefined reference to `GeneralCommander::setHeadMode(GeneralCommander::HeadControlMode)'
pr2_teleop_general_keyboard.cpp:(.text+0x5ca): undefined reference to `GeneralCommander::setHeadMode(GeneralCommander::HeadControlMode)'
pr2_teleop_general_keyboard.cpp:(.text+0x5e1): undefined reference to `GeneralCommander::getHeadMode()'
pr2_teleop_general_keyboard.cpp:(.text+0x634): undefined reference to `GeneralCommander::getHeadMode()'
pr2_teleop_general_keyboard.cpp:(.text+0x67b): undefined reference to `GeneralCommander::getHeadMode()'
pr2_teleop_general_keyboard.cpp:(.text+0x6b7): undefined reference to `GeneralCommander::getHeadMode()'
```