Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@william and @cottsay Thanks a lot for the insights. The problem seems to be solved now.

There seems to be a typo somehow at this point. The line if (NOT ${ASSIMP_VERSION} VERSION_LESS "2.0.1150") appears as if( NOT ${ASSIMP_VERSION} STRLESS "2.0.1150" ). I am not really sure why this has happened since I have not touched the CMakeLists.txt at all before you suggested. Although this does not appear in the file at https://github.com/ros-planning/geometric_shapes/blob/hydro-devel/CMakeLists.txt

find_package(ASSIMP QUIET)
if (NOT ASSIMP_FOUND)
  pkg_check_modules(ASSIMP assimp)
endif()
if (ASSIMP_FOUND)
  message ("ASSIMP_VERSION: ${ASSIMP_VERSION}")
  **if( NOT ${ASSIMP_VERSION} STRLESS "2.0.1150" )**
    add_definitions(-DASSIMP_UNIFIED_HEADER_NAMES)
    message(STATUS "Assimp version has unified headers")
  else()
    message(STATUS "Assimp version does not have unified headers")
  endif()