For now, this tree is just our growing bag of open-source dependencies and its master build system, exposed to the outer world.
Use at your own risk.
- Windows | MacOSX | Linux
- A functional C++ compilation toolchain.
- Perl
- Windows: (ActiveState)
- Unix (system default)
- Ruby >= 1.9.3
- CMake >= 2.8.10
Xcode Command Line Tools
Open Xcode and update.
Homebrew
http://mxcl.github.io/homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"GCC 4.8
Install it using homebrew:
brew update brew tap homebrew/versions brew install gcc48If there are problems with downloading cloog, get it from here, put it in
/usr/local/Library/Downloadsand patch homebrew as follows:- url 'http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-0.18.0.tar.gz' + url 'file:///usr/local/Library/Downloads/cloog-0.18.0.tar.gz'Ruby chokes on the homebrew-provided openssl. Remove it:
brew uninstall openssl
Ruby
curl -L https://get.rvm.io | bash -s stable --ruby=1.9.3 --autolibs=enabledCmake
http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Darwin64-universal.dmg
bundle
Build & install everything in MANSDK_DIR/{build,stage}:
rakeMore verbose version of the above:
rake allBuilds & installs everything in /builds/mansdk/{build,stage}:
rake PREFIX=/builds/mansdkBuild & install all the debug targets:
rake CONFIG=debugShorthand for the above:
rake debugShorthand for the above:
rake DTotally verbose version of the above:
rake all:debugBuild pcl and its dependencies:
rake pclBuilds pcl alone:
rake pcl-onlyBuild pcl in release mode:
rake pcl:releaseBuild usb & jpeg in debug mode and pcl alone in release mode:
rake CONFIG=debug usb jpeg pcl-only:releaseBuild using up to 8 cores (auto-detected by default):
rake MAKE_FLAGS=-j8Build absolutely everything:
rake debug release relwithdebinfo minsizerel(Make sure your build directory storage is up to the task.)
Delete the entire default configuration (stage, output & build):
rake clearDelete the entire release and debug configurations (stages, outputs & builds):
rake clear:{release,debug}Delete the default pcl build directory and the builds directories of all its dependencies:
rake pcl-clearDelete the default pcl build directory:
rake pcl-clear-onlyDelete the debug pcl build directory:
rake pcl-clear-only:debug
Remove absolutely everything:
rake wipeDisplay hopefully helpful information:
rake helpBuild everything using Qt5 instead of Qt4:
rake QT5=ONWARNING: Do not mix Qt4 & Qt5 builds.
Because we found it incredibly hard to build stable cross-platform software on a massive, yet constantly evolving open-source software base.
- Nicolas Burrus
- Nicolas Tisserand
More info: http://manctl.com