Debian: source build "‘logError’ was not declared in this scope" (cpp_common)
Installing Indigo on Debian 7, error obtained when building catkin workspace using:
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
Error:
==> Processing catkin package: 'cpp_common'
==> Building with env: '/opt/ros/indigo/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/root/ros_catkin_ws/build_isolated/cpp_common'
==> make -j8 -l8 in '/root/ros_catkin_ws/build_isolated/cpp_common'
[ 50%] Building CXX object CMakeFiles/cpp_common.dir/src/header.cpp.o
/root/ros_catkin_ws/src/roscpp_core/cpp_common/src/header.cpp: In member function ‘bool ros::Header::parse(uint8_t*, uint32_t, std::string&)’:
/root/ros_catkin_ws/src/roscpp_core/cpp_common/src/header.cpp:82:39: error: ‘logError’ was not declared in this scope
/root/ros_catkin_ws/src/roscpp_core/cpp_common/src/header.cpp:96:39: error: ‘logError’ was not declared in this scope
make[2]: *** [CMakeFiles/cpp_common.dir/src/header.cpp.o] Error 1
make[1]: *** [CMakeFiles/cpp_common.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'cpp_common':
Command '['/opt/ros/indigo/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /root/ros_catkin_ws/build_isolated/cpp_common && /opt/ros/indigo/env.sh make -j8 -l8
Command failed, exiting.
What should I do to resolve this issue? Thank you!
any solutions? stuck with the same problem!!