[Jderobot] kitencViewer

Dazuara d.azuara en alumnos.urjc.es
Lun Sep 30 16:32:32 CEST 2013


Cierto, eso ya lo cambié, pero me sigue dando el mismo error. El
CMakeLists.txt me queda así:

cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

include (FindPkgConfig)
if (PKG_CONFIG_FOUND)
  pkg_check_modules(GAZEBO gazebo)
  message(${GAZEBO_INCLUDE_DIRS})
endif()
include_directories(${GAZEBO_INCLUDE_DIRS} /usr/local/include/jderobot)
link_directories(${GAZEBO_LIBRARY_DIRS}  /usr/local/lib/jderobot)
MESSAGE("${GAZEBO_INCLUDE_DIRS}")
MESSAGE("${GAZEBO_LIBRARY_DIRS}")

FIND_PACKAGE(OpenCV REQUIRED)
PKG_CHECK_MODULES(opencv REQUIRED opencv)
include_directories(${opencv_INCLUDE_DIRS})
link_directories(${opencv_LIBRARY_DIRS})
MESSAGE("${opencv_LIBRARY_DIRS}")
MESSAGE("${opencv_INCLUDE_DIRS}")

find_package(PCL 1.7 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
MESSAGE("${PCL_LIBRARY_DIRS}")
MESSAGE("${PCL_INCLUDE_DIRS}")
MESSAGE("${PCL_DEFINITIONS}")

set( CMAKE_CXX_FLAGS "-Wno-deprecated" ) # To disable warning

add_library(kinectPlugin SHARED ../kinectPlugin.cc)
target_link_libraries(kinectPlugin 
	libJderobotInterfaces.so
	libjderobotutil.so
	${GAZEBO_LIBRARIES}
	${PCL_LIBRARY_DIRS}
	${OpenCV_LIBRARIES}
	Ice IceUtil)



--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-kitencViewer-tp4641616p4641623.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list