ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I've got Rein to compile with the _DIRTY_ CMakelists.txt hack to comment out the check for soci (after soci was present in /usr/include/soci):

#if (NOT HAVE_SOCI)
#    set (SOCI_INCLUDE_DIR /opt/ros/include/soci)
#    set (SOCI_LIB_DIR /opt/ros/lib)
#    set (CMAKE_REQUIRED_INCLUDES ${SOCI_INCLUDE_DIR})
#    check_include_file_cxx (soci.h HAVE_SOCI2)
#    if (NOT HAVE_SOCI2)
#        message (FATAL_ERROR "Error: cannot find SOCI header file: soci.h")
#    endif ()
#endif ()

Perhaps the Cmake logic is inverted now? I've tried the following CMake alternatives without any succes:

find_path (HAVE_SOCI /usr/include/soci/soci.h)
include (CheckIncludeFile)
check_include_files(/usr/include/soci/soci.h HAVE_SOCI)

Browsing the web found some people with similar problems but no clear solutions.