Closed ubuntuslave closed 10 years ago
@ubuntuslave, try to run brew update first, your pcl formula is old. I switched the formula to vtk5 instead, vtk6 is too unstable (https://github.com/PointCloudLibrary/pcl/pull/363 needs to be merged).
vtk5-5.10.1
already installed and linked. I had removed vtk6
also (just in case).
I also tried these steps:
$ brew update
$ brew prune
$ brew cleanup
$ brew missing
$ brew doctor
$ brew install -vd pcl --HEAD --with-openni
but the error persists.
If you removed vtk6 you shouldn't be getting that error, /usr/local/include/vtk-6.0/vtkPolyDataAlgorithm.h shouldn't exist anymore. Is it the same exact error or a bit different?
I've got the same error on my mac, was anybody able to solve this?
@najlepsiwebdesigner, could you run it with the -vd flags and post the output here?
I believe this should be closed as it is VTK6 related.
kind off, the current formula should work with vtk5. I couldn't reproduce the bug =/
I think what happened is that both versions got installed or may be VTK-6 was not completely removed and cmake found the version 6 first.
That's what I thought but I got no confirmation from @najlepsiwebdesigner and @ubuntuslave.
I'm going to close this for now and wait for more feedback.
I tried getting rid of VTK 6, and recompiling Qt from HEAD, but I'm still getting this issue:
[ 11%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o
cd /tmp/pcl-TJmy/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-TJmy/macbuild/include -I/tmp/pcl-TJmy/common/include -I/tmp/pcl-TJmy/search/include -I/tmp/pcl-TJmy/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o -c /tmp/pcl-TJmy/sample_consensus/src/sac_model_sphere.cpp
Linking CXX shared library ../lib/libpcl_sample_consensus.dylib
cd /tmp/pcl-TJmy/macbuild/sample_consensus && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_link_script CMakeFiles/pcl_sample_consensus.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 1.7.0 -current_version 1.7.1 -o ../lib/libpcl_sample_consensus.1.7.1.dylib -install_name /tmp/pcl-TJmy/macbuild/lib/libpcl_sample_consensus.1.7.dylib CMakeFiles/pcl_sample_consensus.dir/src/sac.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o -L/usr/local/lib/vtk-5.10 /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm ../lib/libpcl_common.1.7.1.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm -Wl,-rpath,/usr/local/lib/vtk-5.10
cd /tmp/pcl-TJmy/macbuild/sample_consensus && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_symlink_library ../lib/libpcl_sample_consensus.1.7.1.dylib ../lib/libpcl_sample_consensus.1.7.dylib ../lib/libpcl_sample_consensus.dylib
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-TJmy/macbuild/CMakeFiles 76 77 78
[ 11%] Built target pcl_sample_consensus
make: *** [all] Error 2
/usr/local/Library/Homebrew/formula.rb:615:in `system'
BuildError: Failed executing: make
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action:
Sorry for not having followed, I got a bit distracted by something else.
Carlos
@ubuntuslave, could you paste a bit more of the build log? You didn't include the actual error that made make fail.
Hi, Francisco.
Sorry for not being thorough, I thought pasting the entire build log was kind of annoying, but here it goes, just in case you're able pin point where the actual error occurs. I noticed some early errors mentioning io/CMakeFiles/pcl_io.dir/all
among other tests failing such as OpenMP_FLAG
. It also says Could NOT find QVTK (missing: QVTK_LIBRARY QVTK_INCLUDE_DIR
Here is the entire log (stripped out the good things because of size issues in the post):
$ brew install -vd pcl --HEAD --with-openni
==> Writing /usr/local/lib/python2.7/site-packages/sitecustomize.py
==> Writing /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/distutils.cfg
==> Cloning https://github.com/PointCloudLibrary/pcl.git
git --git-dir /Library/Caches/Homebrew/pcl--git/.git status -s
Updating /Library/Caches/Homebrew/pcl--git
git config remote.origin.url https://github.com/PointCloudLibrary/pcl.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/HEAD
HEAD is now at b1edb0d Revert "Really only set CMAKE_CXX_FLAGS if empty on GCC"
git reset --hard origin/HEAD
HEAD is now at b1edb0d Revert "Really only set CMAKE_CXX_FLAGS if empty on GCC"
git checkout-index -a -f --prefix=/private/tmp/pcl-dr4h/
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file cmake/Modules/FindQhull.cmake
Hunk #1 succeeded at 47 with fuzz 1.
patching file cmake/Modules/FindGLEW.cmake
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/pcl/HEAD -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DGLEW_INCLUDE_DIR=/usr/local/include/GL -DQHULL_ROOT=/usr/local/Cellar/qhull2011/2011.1 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_simulation:BOOL=AUTO_OFF -DBUILD_outofcore:BOOL=AUTO_OFF -DBUILD_people:BOOL=AUTO_OFF -DBUILD_apps=AUTO_OFF -DBUILD_apps_3d_rec_framework=AUTO_OFF -DBUILD_apps_cloud_composer:BOOL=OFF -DBUILD_apps_in_hand_scanner=AUTO_OFF -DBUILD_apps_modeler=AUTO_OFF -DBUILD_apps_optronic_viewer=AUTO_OFF -DBUILD_apps_point_cloud_editor=AUTO_OFF -DBUILD_examples:BOOL=OFF -DBUILD_global_tests:BOOL=OFF -DOPENNI_INCLUDE_DIR=/usr/local/include/ni ..
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_MM_MALLOC
-- Performing Test HAVE_MM_MALLOC - Success
-- Performing Test HAVE_POSIX_MEMALIGN
-- Performing Test HAVE_POSIX_MEMALIGN - Success
-- Performing Test HAVE_SSE4_2_EXTENSIONS
-- Performing Test HAVE_SSE4_2_EXTENSIONS - Success
-- Performing Test HAVE_SSE4_1_EXTENSIONS
-- Performing Test HAVE_SSE4_1_EXTENSIONS - Success
-- Performing Test HAVE_SSE3_EXTENSIONS
-- Performing Test HAVE_SSE3_EXTENSIONS - Success
-- Performing Test HAVE_SSE2_EXTENSIONS
-- Performing Test HAVE_SSE2_EXTENSIONS - Success
-- Performing Test HAVE_SSE_EXTENSIONS
-- Performing Test HAVE_SSE_EXTENSIONS - Success
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing: OpenMP_C_FLAGS OpenMP_CXX_FLAGS)
-- Not found OpenMP
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- checking for module 'eigen3'
-- found eigen3, version 3.2.0
-- Found Eigen: /usr/local/include/eigen3
-- Eigen found (include: /usr/local/include/eigen3)
-- checking for module 'flann>=1.7.0'
-- found flann, version 1.8.4
-- Found FLANN: /usr/local/lib/libflann_cpp.dylib (Required is at least version "1.7.0")
-- FLANN found (include: /usr/local/include, lib: optimized;/usr/local/lib/libflann_cpp.dylib;debug;/usr/local/lib/libflann_cpp.dylib)
-- Found LIBUSB_1: /usr/local/lib/libusb-1.0.dylib
-- checking for module 'libusb-1.0'
-- found libusb-1.0, version 1.0.9
-- Found USB_10: /usr/local/lib/libusb-1.0.dylib
-- Found OpenNI: /usr/lib/libOpenNI.dylib
-- OpenNI found (include: /usr/local/include/ni, lib: /usr/lib/libOpenNI.dylib)
-- Could NOT find FZAPI (missing: FZAPI_LIBS FZAPI_INCLUDE_DIR)
-- Could NOT find PXCAPI (missing: PXCAPI_LIBS PXCAPI_INCLUDE_DIRS PXCAPI_LIB_DIRS)
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.5.17")
-- Found Qhull: /usr/local/Cellar/qhull2011/2011.1/lib/libqhull6.dylib
-- QHULL found (include: /usr/local/opt/qhull2011/include, lib: optimized;/usr/local/Cellar/qhull2011/2011.1/lib/libqhull6.dylib;debug;/usr/local/Cellar/qhull2011/2011.1/lib/libqhull6.dylib)
-- Setting CMAKE_HOST_COMPILER to /usr/bin/gcc instead of /usr/local/Library/ENV/4.3/clang. See http://dev.pointclouds.org/issues/979
-- Found CUDA Toolkit v4.0
-- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found version "4.8.6")
-- Could NOT find QVTK (missing: QVTK_LIBRARY QVTK_INCLUDE_DIR)
-- VTK found (include: /usr/local/include/vtk-5.10, lib: /usr/local/lib/vtk-5.10)
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.5")
-- Found PCAP: /usr/lib/libpcap.dylib
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found Glew: /usr/local/lib/libGLEW.dylib;-framework Cocoa
-- Found Glew: /usr/local/lib/libGLEW.dylib;-framework Cocoa
-- Found GLUT: -framework GLUT
-- DOXYGEN_FOUND YES
-- HTML_HELP_COMPILER
-- checking for module 'sphinx-build'
-- package 'sphinx-build' not found
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.6")
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- The following subsystems will be built:
-- common
-- octree
-- io
-- kdtree
-- search
-- sample_consensus
-- filters
-- 2d
-- geometry
-- features
-- ml
-- segmentation
-- visualization
-- surface
-- registration
-- keypoints
-- tracking
-- recognition
-- stereo
-- apps
building:
|_ 3d_rec_framework
|_ in_hand_scanner
|_ point_cloud_editor
not building:
|_ cloud_composer: Cloud composer requires QVTK
|_ modeler: VTK was not built with Qt support.
|_ optronic_viewer: VTK was not built with Qt support.
-- outofcore
-- people
-- simulation
-- tools
-- The following subsystems will not be built:
-- examples: Code examples are disabled by default.
-- global_tests: Disabled by default.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pcl-dr4h/macbuild
==> make
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -H/tmp/pcl-dr4h -B/tmp/pcl-dr4h/macbuild --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_start /tmp/pcl-dr4h/macbuild/CMakeFiles /tmp/pcl-dr4h/macbuild/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f common/CMakeFiles/pcl_common.dir/build.make common/CMakeFiles/pcl_common.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f octree/CMakeFiles/pcl_octree.dir/build.make octree/CMakeFiles/pcl_octree.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f io/CMakeFiles/pcl_io_ply.dir/build.make io/CMakeFiles/pcl_io_ply.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/build.make io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/depend
cd /tmp/pcl-dr4h/macbuild && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pcl-dr4h /tmp/pcl-dr4h/octree /tmp/pcl-dr4h/macbuild /tmp/pcl-dr4h/macbuild/octree /tmp/pcl-dr4h/macbuild/octree/CMakeFiles/pcl_octree.dir/DependInfo.cmake --color=
cd /tmp/pcl-dr4h/macbuild && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pcl-dr4h /tmp/pcl-dr4h/io /tmp/pcl-dr4h/macbuild /tmp/pcl-dr4h/macbuild/io /tmp/pcl-dr4h/macbuild/io/CMakeFiles/pcl_io_ply.dir/DependInfo.cmake --color=
cd /tmp/pcl-dr4h/macbuild && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pcl-dr4h /tmp/pcl-dr4h/common /tmp/pcl-dr4h/macbuild /tmp/pcl-dr4h/macbuild/common /tmp/pcl-dr4h/macbuild/common/CMakeFiles/pcl_common.dir/DependInfo.cmake --color=
cd /tmp/pcl-dr4h/macbuild && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pcl-dr4h /tmp/pcl-dr4h/io/tools /tmp/pcl-dr4h/macbuild /tmp/pcl-dr4h/macbuild/io/tools /tmp/pcl-dr4h/macbuild/io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/DependInfo.cmake --color=
Scanning dependencies of target pcl_pcd_convert_NaN_nan
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/build.make io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/build
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 0%] Building CXX object io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o
cd /tmp/pcl-dr4h/macbuild/io/tools && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DHAVE_PCAP -DPCL_BUILT_WITH_VTK -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/octree/include -I/usr/local/include/vtk-5.10 -I/tmp/pcl-dr4h/io/include -o CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o -c /tmp/pcl-dr4h/io/tools/pcd_convert_NaN_nan.cpp
Scanning dependencies of target pcl_octree
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f octree/CMakeFiles/pcl_octree.dir/build.make octree/CMakeFiles/pcl_octree.dir/build
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 0%] Building CXX
.
. SEEMED GOOD!
.
[ 7%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o -c /tmp/pcl-dr4h/ml/src/point_xy_32f.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 7%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o -c /tmp/pcl-dr4h/ml/src/densecrf.cpp
In file included from /tmp/pcl-dr4h/io/src/pcd_grabber.cpp:39:
In file included from /tmp/pcl-dr4h/io/include/pcl/io/pcd_grabber.h:52:
In file included from /tmp/pcl-dr4h/io/include/pcl/io/openni_camera/openni_image.h:43:
/tmp/pcl-dr4h/io/include/pcl/io/openni_camera/openni.h:46:10: fatal error: 'XnOS.h' file not found
#include <XnOS.h>
^
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 7%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o -c /tmp/pcl-dr4h/ml/src/pairwise_potential.cpp
1 error generated.
make[2]: *** [io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.o] Error 1
make[1]: *** [io/CMakeFiles/pcl_io.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 7%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_circle.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 7%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o -c /tmp/pcl-dr4h/ml/src/permutohedral.cpp
Linking CXX shared library ../lib/libpcl_kdtree.dylib
cd /tmp/pcl-dr4h/macbuild/kdtree && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_link_script CMakeFiles/pcl_kdtree.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 1.7.0 -current_version 1.7.1 -o ../lib/libpcl_kdtree.1.7.1.dylib -install_name /tmp/pcl-dr4h/macbuild/lib/libpcl_kdtree.1.7.dylib CMakeFiles/pcl_kdtree.dir/src/kdtree_flann.cpp.o -L/usr/local/lib/vtk-5.10 /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm ../lib/libpcl_common.1.7.1.dylib /usr/local/lib/libflann_cpp.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm -Wl,-rpath,/usr/local/lib/vtk-5.10
cd /tmp/pcl-dr4h/macbuild/kdtree && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_symlink_library ../lib/libpcl_kdtree.1.7.1.dylib ../lib/libpcl_kdtree.1.7.dylib ../lib/libpcl_kdtree.dylib
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 7%] Built target pcl_kdtree
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 76
[ 8%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_circle3d.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 38
[ 9%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o -c /tmp/pcl-dr4h/ml/src/svm_wrapper.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/svm.cpp.o -c /tmp/pcl-dr4h/ml/src/svm.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_cylinder.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/ml/include -o CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o -c /tmp/pcl-dr4h/ml/src/kmeans.cpp
Linking CXX shared library ../lib/libpcl_ml.dylib
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_link_script CMakeFiles/pcl_ml.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 1.7.0 -current_version 1.7.1 -o ../lib/libpcl_ml.1.7.1.dylib -install_name /tmp/pcl-dr4h/macbuild/lib/libpcl_ml.1.7.dylib CMakeFiles/pcl_ml.dir/src/point_xy_32i.cpp.o CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o CMakeFiles/pcl_ml.dir/src/svm.cpp.o CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o -L/usr/local/lib/vtk-5.10 /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm ../lib/libpcl_common.1.7.1.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm -Wl,-rpath,/usr/local/lib/vtk-5.10
cd /tmp/pcl-dr4h/macbuild/ml && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_symlink_library ../lib/libpcl_ml.1.7.1.dylib ../lib/libpcl_ml.1.7.dylib ../lib/libpcl_ml.dylib
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 37 38
[ 9%] Built target pcl_ml
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_cone.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_line.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 9%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_stick.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 77
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_normal_parallel_plane.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_normal_plane.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_normal_sphere.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_plane.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_registration.cpp
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 78
[ 11%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Library/ENV/4.3/clang++ -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -Dqh_QHpointer -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -fPIC -isystem /usr/local/include -isystem /usr/local/include/eigen3 -isystem /usr/local/include/ni -isystem /usr/local/Cellar/qt/4.8.5/include -F/usr/local/Cellar/qt/4.8.5/lib -isystem /usr/local/Cellar/qt/4.8.5/include/QtGui -isystem /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Headers -I/tmp/pcl-dr4h/macbuild/include -I/tmp/pcl-dr4h/common/include -I/tmp/pcl-dr4h/search/include -I/tmp/pcl-dr4h/sample_consensus/include -o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o -c /tmp/pcl-dr4h/sample_consensus/src/sac_model_sphere.cpp
Linking CXX shared library ../lib/libpcl_sample_consensus.dylib
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_link_script CMakeFiles/pcl_sample_consensus.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -ftemplate-depth=1024 -Qunused-arguments -Wno-invalid-offsetof -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 1.7.0 -current_version 1.7.1 -o ../lib/libpcl_sample_consensus.1.7.1.dylib -install_name /tmp/pcl-dr4h/macbuild/lib/libpcl_sample_consensus.1.7.dylib CMakeFiles/pcl_sample_consensus.dir/src/sac.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o -L/usr/local/lib/vtk-5.10 /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm ../lib/libpcl_common.1.7.1.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm -Wl,-rpath,/usr/local/lib/vtk-5.10
cd /tmp/pcl-dr4h/macbuild/sample_consensus && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_symlink_library ../lib/libpcl_sample_consensus.1.7.1.dylib ../lib/libpcl_sample_consensus.1.7.dylib ../lib/libpcl_sample_consensus.dylib
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-dr4h/macbuild/CMakeFiles 76 77 78
[ 11%] Built target pcl_sample_consensus
make: *** [all] Error 2
/usr/local/Library/Homebrew/formula.rb:615:in `system'
BuildError: Failed executing: make
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action:
The problem is that it can't find the OpenNi headers for some reason. Could you check that /usr/local/include/ni/XnOS.h exist?
Thanks. Yes, openni
was missing. It finished successfully after brewing openni
. Maybe, you could add the dependency in the wiki, such as:
Tap the openni formula:
$ brew tap totakke/openni
$ brew update
In case it's necessary (libusb needs the universal flag):
$ brew rm libusb
$ brew install libusb --universal
Now try,
$ brew install openni
Install Sensor.
$ brew install sensor
Install NITE.
$ brew install nite
Run sample for test:
Connect a device to the PC and run a sample program.
$ cd `brew --cellar openni`/stable-1.5.2.23/sample/Bin/x64-Release
$ ./Sample-NiSimpleViewer
Cheers!
Weird, the dependency is there maybe homebrew doesn't tap it automatically =/
Yeah. I don't think it's tapping it at all.
Carlos
On Dec 6, 2013, at 2:30 PM, "Francisco Facioni" notifications@github.com<mailto:notifications@github.com> wrote:
Weird, the dependency is there maybe homebrew doesn't tap it automatically =/
— Reply to this email directly or view it on GitHubhttps://github.com/fran6co/homebrew-cv/issues/6#issuecomment-30021998.
I tried getting rid of VTK 6, and recompiling Qt from HEAD, but I'm still getting this issue:
Sorry for not having followed, I got a bit distracted by something else.
Carlos