Ask Your Question
0

pcl 1.72 installation question

asked 2015-04-20 12:22:43 -0500

rnunziata gravatar image

updated 2015-04-22 19:25:55 -0500

My source directory contains my testPCD.cpp program and PCL directory with pcl 1.7.2 called pcl-pcl-1.7.2. This was unziped here from tar file from pclcloud home page for 1.7.2 source. I will download and compile ros dependent source as needed but first I need to get catkin_make to find 1.7.2.

This is the error I get from running catkin_make

  Could not find a configuration file for package "PCL" that is compatible
  with requested version "1.7.2".

  The following configuration files were considered but not accepted:

    /usr/share/pcl-1.7/PCLConfig.cmake, version: 1.7.1

CMakeList file from my testPCD project dir is as follows ,removed some things so as not too bulky for listing here

cmake_minimum_required(VERSION 2.8.3)
project(testPCD)


find_package(catkin REQUIRED COMPONENTS
  roscpp
  pcl_ros
  )


## System dependencies are found with CMake's conventions
find_package(Boost REQUIRED COMPONENTS system)
find_package(PCL 1.7.2 REQUIRED)

catkin_package(
  DEPENDS boost
  LIBRARIES
  CATKIN_DEPENDS
  pcl_ros
  )


###########
## Build ##
###########

 include_directories(include ${catkin_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
 add_executable(testPCD src/testPCD.cpp)

 target_link_libraries(testPCD ${catkin_LIBRARIES}  ${Boost_LIBRARIES} ${PCL_LIBRARY_DIRS})
 add_definitions(${PCL_DEFINITIONS})
edit retag flag offensive close merge delete

Comments

If you change the version of PCL you will need to compile everything that depends on it from source. Please edit your question to show us how to everything you're doing so we can try to reproduce your problem.

tfoote gravatar imagetfoote ( 2015-04-22 16:03:40 -0500 )edit

updated question hopefully this is enough info...thank you.

rnunziata gravatar imagernunziata ( 2015-04-22 17:23:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-23 13:17:05 -0500

rnunziata gravatar image

I had made an error in installation effectively failing to run install which I am correcting and hopefully that will move me forward. Thanks for reviewing my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-20 12:22:43 -0500

Seen: 292 times

Last updated: Apr 23 '15