Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Build issue on ubuntu 12.04 and hydro packages #3

Closed
garaemon opened this issue Dec 6, 2014 · 0 comments
Closed

Build issue on ubuntu 12.04 and hydro packages #3

garaemon opened this issue Dec 6, 2014 · 0 comments
Labels

Comments

@garaemon
Copy link

garaemon commented Dec 6, 2014

  1. pod_filters and some other packages require pcl_io, but if we install pcl with hydro on ubuntu 12.04,
    it miss openni-dev.
  2. pcl_geometry-1.7.pc is missed (this issue?) which is required by pcl_segmentation-1.7.
  3. flann.pc has flann_cpp-gd but it's not available (why???)

In order to compile pronto, I hacked a little bit

  1. copy libopenni.cp to openni-dev.pc
sudo cp /usr/lib/pkgconfig/libopenni.pc /usr/lib/pkgconfig/openni-dev.pc 
  1. remove pcl_geometry-1.7 from pcl_segmentation
diff --git a/pcl_segmentation-1.7.pc b/pcl_segmentation-1.7.pc.org
index 6b50be7..f947eef 100644
--- a/pcl_segmentation-1.7.pc
+++ b/pcl_segmentation-1.7.pc.org
@@ -7,7 +7,7 @@ includedir=${prefix}/include/pcl-1.7
 Name: pcl_segmentation
 Description: Point cloud segmentation library
 Version: 1.7.0
-Requires:  pcl_common-1.7 pcl_search-1.7 pcl_sample_consensus-1.7 pcl_kdtree-1.7 pcl_octree-1.7 pcl_features-1.7 pcl_filters-1.7
+Requires:  pcl_common-1.7 pcl_geometry-1.7 pcl_search-1.7 pcl_sample_consensus-1.7 pcl_kdtree-1.7 pcl_octree-1.7 pcl_features-1.7 pcl_filters-1
 Libs: -L${libdir} -lpcl_segmentation  
 Cflags: -I${includedir} 
  1. remove flann_cpp-gd from flann.pc
11c11
< Libs: -L${libdir} -lflann_cpp

---
> Libs: -L${libdir} -lflann_cpp -lflann_cpp-gd
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants