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

problems with building ptam [closed]

asked 2014-07-10 08:39:59 -0500

andreas.gerken gravatar image

Hi i want to work with ptam,

the problem is, that i can't build it. I followed the instructions but i have some problems: Rosdep:

rosdep install ptam
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ptam: Cannot locate rosdep definition for [ptam_com]


rosmake ethzasl_ptam
[ rosmake ] rosmake starting...                                                                                                                                                  
[ rosmake ] Packages requested are: ['ethzasl_ptam']                                                                                                                             
[ rosmake ] Logging to directory /home/gerken/.ros/rosmake/rosmake_output-20140710-152734                                                                                        
[ rosmake ] Expanded args ['ethzasl_ptam'] to:
[ rosmake ] WARNING: The stack "catkin" was not found. We will assume it is using the new buildsystem and try to continue...                                                     
[ rosmake ] Results:                                                                                                                                                             
[ rosmake ] Built 0 packages with 0 failures.                                                                                                                                    
[ rosmake ] Summary output to directory                                                                                                                                          
[ rosmake ] /home/gerken/.ros/rosmake/rosmake_output-20140710-152734

So i thought i could compile manually by using make in the main folder. It runs for ~ 5mins and then exits with following error:

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package ptam_com.

  Set ptam_com_DIR to the directory containing a CMake configuration file for
  ptam_com.  The file will have one of the following names:


Call Stack (most recent call first):
  CMakeLists.txt:10 (find_package)

CMake Warning at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:406 (message):
  catkin_package() include dir
  '/home/gerken/ROS/pkg/ethzasl_ptam/ptam/build/devel/include' should be
  placed in the devel space instead of the build space
Call Stack (most recent call first):
  /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  CMakeLists.txt:28 (catkin_package)

-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.10
-- Configuring incomplete, errors occurred!
make[2]: *** [all] Fehler 1
make[2]: Verlasse Verzeichnis '/home/gerken/ROS/pkg/ethzasl_ptam/ptam'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/gerken/ROS/pkg/ethzasl_ptam/ptam'
make: *** [all] Fehler 2

I use hydro but since ptam doesn't support hydro i installed groovy and changed the "source" in the .bashrc. $ROS_PACKAGE_PATH is


Could anybody help me with building the package? Thanks Andreas

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by andreas.gerken
close date 2014-07-11 09:06:05.495737

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-11 09:05:44 -0500

andreas.gerken gravatar image

I found out, that i have to put the code into the sourcefolder of a catkin_workspace. Now the build worked after installing liblapack-dev.

edit flag offensive delete link more


Hi Andreas,

so finally, did you use ROS Hydro or Groovy after the installation of the liblapack-dev?

I'm trying to use Hydro, but without any success...

FDC82 gravatar image FDC82  ( 2014-09-23 05:27:30 -0500 )edit

Question Tools

1 follower


Asked: 2014-07-10 08:39:59 -0500

Seen: 1,165 times

Last updated: Jul 11 '14