Closed arpesenti closed 10 years ago
Trying to install plc on OSX 10.9 with
brew install fran6co/cv/pcl --HEAD
It gives me the following error
==> Cloning https://github.com/PointCloudLibrary/pcl.git Updating /Library/Caches/Homebrew/pcl--git ==> Downloading patches ==> Patching patching file cmake/Modules/FindQhull.cmake Hunk #1 succeeded at 47 with fuzz 1. patching file cmake/Modules/FindGLEW.cmake patching file CMakeLists.txt patching file common/include/pcl/impl/point_types.hpp Hunk #1 FAILED at 350. Hunk #2 FAILED at 1084. 2 out of 2 hunks FAILED -- saving rejects to file common/include/pcl/impl/point_types.hpp.rej patching file geometry/include/pcl/geometry/mesh_traits.h Hunk #1 FAILED at 48. 1 out of 1 hunk FAILED -- saving rejects to file geometry/include/pcl/geometry/mesh_traits.h.rej patching file recognition/include/pcl/recognition/color_gradient_modality.h Hunk #1 FAILED at 75. 1 out of 1 hunk FAILED -- saving rejects to file recognition/include/pcl/recognition/color_gradient_modality.h.rej patching file recognition/include/pcl/recognition/surface_normal_modality.h Hunk #1 FAILED at 319. 1 out of 1 hunk FAILED -- saving rejects to file recognition/include/pcl/recognition/surface_normal_modality.h.rej patching file 2d/CMakeLists.txt patching file apps/CMakeLists.txt patching file io/CMakeLists.txt Hunk #1 succeeded at 224 (offset 2 lines). patching file io/include/pcl/io/impl/vtk_lib_io.hpp patching file io/include/pcl/io/vtk_lib_io.h patching file io/src/vtk_lib_io.cpp patching file outofcore/include/pcl/outofcore/visualization/axes.h patching file outofcore/src/visualization/grid.cpp patching file outofcore/src/visualization/outofcore_cloud.cpp patching file surface/CMakeLists.txt patching file surface/src/vtk_smoothing/vtk_mesh_quadric_decimation.cpp patching file surface/src/vtk_smoothing/vtk_mesh_smoothing_laplacian.cpp patching file surface/src/vtk_smoothing/vtk_mesh_smoothing_windowed_sinc.cpp patching file surface/src/vtk_smoothing/vtk_mesh_subdivision.cpp patching file surface/src/vtk_smoothing/vtk_utils.cpp patching file tools/CMakeLists.txt patching file tools/mesh2pcd.cpp patching file tools/mesh_sampling.cpp patching file tools/obj2vtk.cpp patching file tools/obj_rec_ransac_accepted_hypotheses.cpp patching file tools/obj_rec_ransac_model_opps.cpp patching file tools/obj_rec_ransac_orr_octree.cpp patching file tools/obj_rec_ransac_orr_octree_zprojection.cpp patching file tools/obj_rec_ransac_result.cpp patching file tools/obj_rec_ransac_scene_opps.cpp patching file tools/octree_viewer.cpp patching file tools/ply2vtk.cpp patching file tools/png2pcd.cpp patching file tools/tiff2pcd.cpp patching file tools/virtual_scanner.cpp patching file tools/voxel_grid_occlusion_estimation.cpp patching file tools/vtk2pcd.cpp patching file tools/vtk2ply.cpp patching file visualization/CMakeLists.txt patching file visualization/include/pcl/visualization/common/impl/shapes.hpp patching file visualization/include/pcl/visualization/image_viewer.h patching file visualization/include/pcl/visualization/impl/image_viewer.hpp patching file visualization/include/pcl/visualization/impl/pcl_visualizer.hpp patching file visualization/include/pcl/visualization/pcl_painter2D.h patching file visualization/src/common/io.cpp patching file visualization/src/histogram_visualizer.cpp patching file visualization/src/image_viewer.cpp patching file visualization/src/interactor_style.cpp patching file visualization/src/pcl_painter2D.cpp patching file visualization/src/pcl_plotter.cpp patching file visualization/src/pcl_visualizer.cpp Hunk #15 succeeded at 2336 (offset 4 lines). Hunk #16 succeeded at 2814 (offset 4 lines). Hunk #17 succeeded at 2833 (offset 4 lines). Hunk #18 succeeded at 2942 (offset 4 lines). Hunk #19 succeeded at 3066 (offset 4 lines). Hunk #20 succeeded at 3120 (offset 4 lines). Hunk #21 succeeded at 3265 (offset 4 lines). Hunk #22 succeeded at 3321 (offset 4 lines). Hunk #23 succeeded at 3751 (offset 4 lines). patching file visualization/src/point_picking_event.cpp patching file visualization/src/vtk/vtkVertexBufferObject.cxx patching file visualization/src/vtk/vtkVertexBufferObjectMapper.cxx patching file apps/3d_rec_framework/include/pcl/apps/3d_rec_framework/utils/vtk_model_sampling.h patching file apps/CMakeLists.txt patching file apps/modeler/CMakeLists.txt patching file apps/modeler/src/normals_actor_item.cpp patching file apps/modeler/src/points_actor_item.cpp patching file apps/modeler/src/surface_actor_item.cpp patching file apps/src/render_views_tesselated_sphere.cpp patching file visualization/src/image_viewer.cpp patching file visualization/include/pcl/visualization/image_viewer.h patching file visualization/src/image_viewer.cpp patching file apps/3d_rec_framework/include/pcl/apps/3d_rec_framework/pc_source/mesh_source.h patching file surface/CMakeLists.txt Error: Failure while executing: /usr/bin/patch -f -p1 -i 001-homebrew.diff
@arpesenti I fixed this in 6cbdaa9ed2b6d95c8c6bbdeec710b8a62a6d4542. Upstream merged some of the patches that I was adding.
Trying to install plc on OSX 10.9 with
It gives me the following error