ROS Hydro source install cmake build error at Ubuntu 14.04
when I entered
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
in the ros_catkin_ws directory,
-- Searching for Poco library...
CMake Error at cmake/PocoConfig.cmake:186 (MESSAGE):
Poco was not found. Set the Poco_INCLUDE_DIR cmake cache entry to the
top-level directory containing the poco include directories. E.g
/usr/local/include/ or c:\poco\include\poco-1.3.2
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
CMake Error at CMakeLists.txt:6 (find_package):
Found package configuration file:
/home/kendemu/ros_catkin_ws/src/class_loader/cmake/PocoConfig.cmake
but it set Poco_FOUND to FALSE so package "Poco" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/kendemu/ros_catkin_ws/build_isolated/class_loader/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'class_loader':
Command '/home/kendemu/ros_catkin_ws/install_isolated/env.sh cmake /home/kendemu/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/kendemu/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/kendemu/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/kendemu/ros_catkin_ws/build_isolated/class_loader && /home/kendemu/ros_catkin_ws/install_isolated/env.sh cmake /home/kendemu/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/kendemu/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/kendemu/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release
Command failed, exiting.
: this error has occured.
So I reproduced the error with:
cd /home/kendemu/ros_catkin_ws/build_isolated/class_loader && /home/kendemu/ros_catkin_ws/install_isolated/env.sh cmake /home/kendemu/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/kendemu/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/kendemu/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release
-- Searching for Poco library...
CMake Error at cmake/PocoConfig.cmake:186 (MESSAGE):
Poco was not found. Set the Poco_INCLUDE_DIR cmake cache entry to the
top-level directory containing the poco include directories. E.g
/usr/local/include/ or c:\poco\include\poco-1.3.2
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
CMake Error at CMakeLists.txt:6 (find_package):
Found package configuration file:
/home/kendemu/ros_catkin_ws/src/class_loader/cmake/PocoConfig.cmake
but it set Poco_FOUND to FALSE so package "Poco" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/kendemu/ros_catkin_ws/build_isolated/class_loader/CMakeFiles/CMakeOutput.log".
I'm stuck in this error. Could someone solve this problem? I installed gazebo for ubuntu 14.04,python-empy, and libgtest-dev. I did the source install from pip.
This is the cmake log:
The system is: Linux - 3.13.0-36-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/kendemu/ros_catkin_ws/build_isolated/class_loader/CMakeFiles/2.8.12.2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/kendemu/ros_catkin_ws/build_isolated/class_loader/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/kendemu/ros_catkin_ws/build_isolated ...
Please use the formatting tools to differentiate your comments and the content. Without it this post is unintelligable. It's good you have put a lot of info into it, but without clena formatting it is too hard to digest everything. (Click edit, highlight the ouputs and click the 1010101 button)
Forgive me if I'm wrong, it's too early in the morning and I have't finished my coffee yet, but isn't Hydro only supported up to 13.04, and Indigo only from 14.04 onwards?
Package install in ubuntu14.04 is not supported, but I think the source install is possible in any Linux/UNIX distributution. However, I found that hydro package can be installed on other ros distro, so I'm going to use Indigo.