[ros-users] Error compiling point_cloud_mapping
Radu Bogdan Rusu
rusu at willowgarage.com
Sun May 16 06:44:46 UTC 2010
Sai,
Thanks for the heads-up. A recent change in pcl trunk got the older point_cloud_mapping (which I am slowly trying to
deprecate btw ;)) to stop compiling. I fixed this in both pcl and point_cloud_mapping trunk.
Cheers,
Radu.
On 05/15/2010 08:16 PM, Sai Prashanth wrote:
> Hi,
>
> I am unable to compile point_cloud_mapping (please see error log below).
> Per one of the earlier threads, I updated to the driver_common latest.
> Any pointers will be appreciated.
>
> mkdir -p bin
> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
> rosbuild`/rostoolchain.cmake ..
> [rosbuild] Building package point_cloud_mapping
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros/core/roslisp/cmake/roslisp.cmake
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros/core/rospy/cmake/rospy.cmake
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros/core/roscpp/cmake/roscpp.cmake
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros-experimental-trunk/rosclj/cmake/rosclj.cmake
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros-experimental-trunk/rosjava/cmake/rosjava.cmake
> [rosbuild] Including
> /u/saip/ros_sandbox/versioned_latest/ros-experimental-trunk/rosoct/cmake/rosoct.cmake
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build
> cd build && make -j8
> make[1]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[2]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 0%] Built target rospack_genmsg_libexe
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 0%] Built target rosbuild_precompile
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 6%] make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 9%] Building CXX object
> CMakeFiles/cloud_kdtree.dir/src/cloud_kdtree/kdtree_flann.o
> Built target cloud_io
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 13%] Scanning dependencies of target cloudmsg_to_screen
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> Built target cloud_octree
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 16%] Building CXX object
> CMakeFiles/bin/cloudmsg_to_screen.dir/src/cloud_io/tools/cloudmsg_to_screen.o
> Scanning dependencies of target convert_pcd_ascii_binary
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[3]: Entering directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 18%] Building CXX object
> CMakeFiles/bin/convert_pcd_ascii_binary.dir/src/cloud_io/tools/convert_pcd_ascii_binary.o
> In file included from
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:33:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:42:19:
> error: flann.h: No such file or directory
> In file included from
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:33:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:209:
> error: ‘FLANN_INDEX’ does not name a type
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:212:
> error: ‘FLANNParameters’ does not name a type
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:
> In constructor ‘cloud_kdtree::KdTreeFLANN::KdTreeFLANN(const
> sensor_msgs::PointCloud&)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:69:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:69:
> error: ‘KDTREE’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:70:
> error: ‘LOG_NONE’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:79:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:79:
> error: ‘flann_build_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:
> In constructor ‘cloud_kdtree::KdTreeFLANN::KdTreeFLANN(const
> sensor_msgs::PointCloud&, const std::vector<int, std::allocator<int> >&)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:107:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:107:
> error: ‘KDTREE’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:108:
> error: ‘LOG_NONE’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:116:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:116:
> error: ‘flann_build_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:
> In destructor ‘virtual cloud_kdtree::KdTreeFLANN::~KdTreeFLANN()’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:131:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:131:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:131:
> error: ‘flann_free_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:
> In member function ‘virtual void
> cloud_kdtree::KdTreeFLANN::nearestKSearch(int, int, std::vector<int,
> std::allocator<int> >&, std::vector<float, std::allocator<float> >&)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:153:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:153:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:153:
> error: ‘flann_find_nearest_neighbors_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:
> In member function ‘virtual bool
> cloud_kdtree::KdTreeFLANN::radiusSearch(int, double, std::vector<int,
> std::allocator<int> >&, std::vector<float, std::allocator<float> >&, int)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:175:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:185:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/include/point_cloud_mapping/kdtree/kdtree_flann.h:186:
> error: ‘flann_radius_search’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:
> In member function ‘virtual void
> cloud_kdtree::KdTreeFLANN::nearestKSearch(const geometry_msgs::Point32&,
> int, std::vector<int, std::allocator<int> >&, std::vector<float,
> std::allocator<float> >&)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:57:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:57:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:57:
> error: ‘flann_find_nearest_neighbors_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:
> In member function ‘virtual void
> cloud_kdtree::KdTreeFLANN::nearestKSearch(const
> sensor_msgs::PointCloud&, int, int, std::vector<int, std::allocator<int>
> >&, std::vector<float, std::allocator<float> >&)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:111:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:111:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:111:
> error: ‘flann_find_nearest_neighbors_index’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:
> In member function ‘virtual bool
> cloud_kdtree::KdTreeFLANN::radiusSearch(const geometry_msgs::Point32&,
> double, std::vector<int, std::allocator<int> >&, std::vector<float,
> std::allocator<float> >&, int)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:134:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:144:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:144:
> error: ‘flann_radius_search’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:
> In member function ‘virtual bool
> cloud_kdtree::KdTreeFLANN::radiusSearch(const sensor_msgs::PointCloud&,
> int, double, std::vector<int, std::allocator<int> >&, std::vector<float,
> std::allocator<float> >&, int)’:
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:175:
> error: ‘flann_param_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:185:
> error: ‘index_id_’ was not declared in this scope
> /u/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/src/cloud_kdtree/kdtree_flann.cpp:186:
> error: ‘flann_radius_search’ was not declared in this scope
> Linking CXX executable ../bin/cloudmsg_to_screen
> make[3]: ***
> [CMakeFiles/cloud_kdtree.dir/src/cloud_kdtree/kdtree_flann.o] Error 1
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[2]: *** [CMakeFiles/cloud_kdtree.dir/all] Error 2
> make[2]: *** Waiting for unfinished jobs....
> Linking CXX executable ../bin/convert_pcd_ascii_binary
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 18%] Built target bin/cloudmsg_to_screen
> make[3]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> [ 18%] Built target bin/convert_pcd_ascii_binary
> make[2]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/pr/1/saip/ros_sandbox/versioned_latest/wg-ros-pkg-unreleased/stacks/semantic_mapping/point_cloud_mapping/build'
> make: *** [all] Error 2
>
> Thanks,
> Sai
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
--
| Radu Bogdan Rusu | http://rbrusu.com/
More information about the ros-users
mailing list