C++ C Python Objective-C
Latest commit d4e511b Sep 25, 2014 @satoruhiga Update README.md

README.md

Setup instruction (OS X)

  1. Get dependencies (96.9 MB) and extract them to ofxPCL folder.

    $ curl -O -L http://cl.ly/1D1Q3G072q3D/download/ofxpcl_16_libs.zip
    $ unzip ofxpcl_16_libs.zip
    
  2. Change Project.xcconfig like

    OFXPCL_PATH = $(OF_PATH)/addons/ofxPCL
    
    OFXPCL_OTHER_LDFLAGS = -L$(OFXPCL_PATH)/libs/pcl/lib/osx -lpcl_common -lpcl_features -lpcl_filters -lpcl_geometry -lpcl_io -lpcl_io_ply -lpcl_kdtree -lpcl_keypoints -lpcl_octree -lpcl_registration -lpcl_sample_consensus -lpcl_search -lpcl_segmentation -lpcl_surface -lpcl_tracking -lqhull
    
    OFXPCL_HEADER_SEARCH_PATHS = $(OFXPCL_PATH)/libs/pcl/include/ $(OFXPCL_PATH)/libs/pcl/include/eigen3 $(OFXPCL_PATH)/libs/pcl/include/pcl-1.6
    
    OFXPCL_LD_RUNPATH_SEARCH_PATHS = @executable_path/../../../../../../../addons/ofxPCL/libs/pcl/lib/osx @executable_path/../../../data/pcl/lib
    
    LD_RUNPATH_SEARCH_PATHS = $(OFXPCL_LD_RUNPATH_SEARCH_PATHS)
    
    OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OFXPCL_OTHER_LDFLAGS)
    HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) $(OFXPCL_HEADER_SEARCH_PATHS)
    
  3. Add ofxPCL/src filder to Xcode project.

  4. Copy libraries to data folder

    $ python copyfiles.py PATH_TO_YOUR_PROJECT