PointCloudLibrary/pcl — pull request #167 by wjwwood (2013-07-05 21:30:22+00:00)
Title: PCL 1.7.0rc1 fails to build on OS X

When building from the `pcl:next` branch on OS X I get:

```
==> make -j1 in '/private/tmp/nav_ws/build_isolated/pcl'
[ 4%] Built target pcl_common
[ 4%] Built target pcl_octree
[ 4%] Built target pcl_io_ply
[ 9%] Built target pcl_io
[ 9%] Built target pcl_convert_pcd_ascii_binary
[ 10%] Built target pcl_hdl_grabber
[ 10%] Built target pcl_pcd_convert_NaN_nan
[ 11%] Built target pcl_ply2obj
[ 11%] Built target pcl_ply2ply
[ 11%] Built target pcl_ply2raw
[ 11%] Built target pcl_plyheader
[ 11%] Built target pcl_kdtree
[ 12%] Built target pcl_search
[ 16%] Built target pcl_sample_consensus
[ 23%] Built target pcl_filters
[ 30%] Built target pcl_features
[ 33%] Built target pcl_segmentation
[ 38%] Built target pcl_visualization
[ 38%] Built target pcl_hdl_viewer_simple
[ 39%] Built target pcl_pcd_image_viewer
[ 39%] Built target pcl_timed_trigger_test
[ 40%] Built target pcl_viewer
[ 46%] Built target pcl_surface
[ 55%] Built target pcl_registration
[ 57%] Built target pcl_keypoints
[ 58%] Built target pcl_tracking
[ 62%] Built target pcl_recognition
[ 63%] Built target pcl_outofcore
[ 63%] Built target pcl_outofcore_print
[ 63%] Built target pcl_outofcore_process
[ 65%] Built target pcl_outofcore_viewer
[ 65%] Built target pcl_people
[ 65%] Built target pcl_gtest
[ 65%] Built target test_non_linear
[ 66%] Building CXX object test/CMakeFiles/test_people_detection.dir/test_people_groundBasedPeopleDetectionApp.cpp.o
In file included from /tmp/nav_ws/src/pcl/test/test_people_groundBasedPeopleDetectionApp.cpp:51:
In file included from /tmp/nav_ws/src/pcl/visualization/include/pcl/visualization/pcl_visualizer.h:47:
In file included from /tmp/nav_ws/src/pcl/visualization/include/pcl/visualization/common/actor_map.h:40:
In file included from /tmp/nav_ws/src/pcl/visualization/include/pcl/visualization/point_cloud_handlers.h:41:
In file included from /tmp/nav_ws/src/pcl/visualization/include/pcl/visualization/point_cloud_geometry_handlers.h:47:
In file included from /usr/local/include/vtk-5.10/vtkSmartPointer.h:23:
In file included from /usr/local/include/vtk-5.10/vtkSmartPointerBase.h:26:
In file included from /usr/local/include/vtk-5.10/vtkObjectBase.h:43:
In file included from /usr/local/include/vtk-5.10/vtkIndent.h:24:
In file included from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40:
In file included from /usr/local/include/vtk-5.10/vtkIOStream.h:108:
In file included from /usr/include/c++/4.2.1/backward/strstream:51:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated
header . To disable this warning use -Wno-deprecated. [-W#warnings]
#warning This file includes at least one deprecated or antiquated header. \
^
In file included from /tmp/nav_ws/src/pcl/test/test_people_groundBasedPeopleDetectionApp.cpp:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/ground_based_people_detection_app.h:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/person_classifier.h:45:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/hog.h:48:
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:11: error: expected unqualified-id
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:21: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
In file included from /tmp/nav_ws/src/pcl/test/test_people_groundBasedPeopleDetectionApp.cpp:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/ground_based_people_detection_app.h:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/person_classifier.h:45:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/hog.h:48:
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:11: error: expected ')'
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:21: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:6: note: to match this '('
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:20: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
In file included from /tmp/nav_ws/src/pcl/test/test_people_groundBasedPeopleDetectionApp.cpp:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/ground_based_people_detection_app.h:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/person_classifier.h:45:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/hog.h:48:
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:6: error: expected ')'
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:23: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:6: note: to match this '('
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:19: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
In file included from /tmp/nav_ws/src/pcl/test/test_people_groundBasedPeopleDetectionApp.cpp:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/ground_based_people_detection_app.h:53:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/person_classifier.h:45:
In file included from /tmp/nav_ws/src/pcl/people/include/pcl/people/hog.h:48:
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:6: error: expected ')'
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:28: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
/tmp/nav_ws/src/pcl/common/include/pcl/common/impl/sse.hpp:73:6: note: to match this '('
RETf MIN( const __m128 x, const __m128 y ) { return _mm_min_ps(x,y); }
^
/usr/include/sys/param.h:217:18: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
1 warning and 4 errors generated.
make[2]: *** [test/CMakeFiles/test_people_detection.dir/test_people_groundBasedPeopleDetectionApp.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/test_people_detection.dir/all] Error 2
make: *** [all] Error 2
```

It looks like the source of the issue is `people_detection`.