Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
Building for OS X

Version Requirements

Following are the tested versions of tools and libraries we use to build Motive for OS X:

Prerequisites

Building with Xcode

Firstly, the Xcode project needs to be generated using CMake:

  • Open a command line window.
  • Go to the Motive project directory.
  • Use CMake to generate the Xcode project.
cd motive
cmake -G Xcode .

Then the project can be opened in Xcode and built:

  • Double-click on motive/Motive.xcodeproj to open the project in Xcode.
  • Select "Product-->Build" from the menu.

The unit tests can be run from within Xcode:

  • Select an application Scheme, for example "angle_test-->My Mac 64-bit", from the combo box to the right of the "Run" button.
  • Click the "Run" button.

Building from the Command Line

To build:

  • Open a command line window.
  • Go to the Motive project directory.
  • Use CMake to generate the makefiles.
  • Run make.

For example:

cd motive
cmake -G "Unix Makefiles" .
make -j10

The unit tests can be run from the command line:

cd motive
./tests/angle_test
./tests/curve_test
./tests/motive_test
./tests/range_test
./tests/spline_test