installing pcl on mac sierra

classic Classic list List threaded Threaded
2 messages Options
ae
Reply | Threaded
Open this post in threaded view
|

installing pcl on mac sierra

ae
This post has NOT been accepted by the mailing list yet.
Hi. I've been working for a few weeks to install pcl on mac. I can't get it to go. I'm using homebrew. I did also try the mac ports install, but that failed as well, so I uninstalled it. It seems it's installing it ok, but I can't get the initial test from the tutorial to run. I'm working through the instructions here. If you scroll to the bottom of that, there's an instruction to set the path to the PCLConfig.cmake file. I did this as well.

Right now, I get this message when I try to make the build.

... -- looking for PCL_SURFACE
-- looking for PCL_REGISTRATION
-- looking for PCL_KEYPOINTS
-- looking for PCL_TRACKING
-- looking for PCL_APPS
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/Cellar/pcl/build
[ 50%] Building CXX object CMakeFiles/pcd_write.dir/pcd_write.cpp.o
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -DDISABLE_OPENNI -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -DFLANN_STATIC -DvtkDomainsChemistry_AUTOINIT="1(vtkDomainsChemistryOpenGL2)" -DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL2)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)" -DvtkRenderingFreeType_AUTOINIT="1(vtkRenderingFreeTypeFontConfig)" -DvtkRenderingOpenGL2_AUTOINIT="1(vtkRenderingGL2PSOpenGL2)" -DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL2)" -I/usr/local/Cellar/vtk/7.1.0_5/include/vtk-7.1 -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/hdf5/1.10.0-patch1/include -I/usr/local/opt/szip/include -I/usr/include/libxml2 -I/usr/local/include/pcl-1.6 -I/usr/local/include/eigen3  vtkDomainsChemistry_AUTOINIT=1(vtkDomainsChemistryOpenGL2) vtkRenderingContext2D_AUTOINIT=1(vtkRenderingContextOpenGL2) vtkRenderingCore_AUTOINIT=3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2) vtkRenderingFreeType_AUTOINIT=1(vtkRenderingFreeTypeFontConfig) vtkRenderingOpenGL2_AUTOINIT=1(vtkRenderingGL2PSOpenGL2) vtkRenderingVolume_AUTOINIT=1(vtkRenderingVolumeOpenGL2)  -msse4.1 -mfpmath=sse -o CMakeFiles/pcd_write.dir/pcd_write.cpp.o -c /usr/local/Cellar/pcl/pcd_write.cpp'
make[2]: *** [CMakeFiles/pcd_write.dir/pcd_write.cpp.o] Error 2
make[1]: *** [CMakeFiles/pcd_write.dir/all] Error 2
make: *** [all] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: installing pcl on mac sierra

Lukizzle
This post has NOT been accepted by the mailing list yet.
Hi,

I'm running into similar problems here. Have also tried various ways to install pcl without success and homebrew brought me at least to the same error that you're describing. Did you get it to run in the meantime?

Thanks :)