overte/interface/external/faceshift
2014-07-18 15:39:21 -07:00
..
readme.txt add a note for OS X users to use homebrew 2014-07-18 15:39:21 -07:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Instructions for adding the Faceshift library to Interface
Stephen Birarda, July 18th, 2014

OS X users: You can also use homebrew to get the Faceshift library by tapping our repo - highfidelity/homebrew-formulas
and then calling 'brew install highfidelity/formulas/faceshift'.

You can download the Faceshift SDK from http://download.faceshift.com/faceshift-network.zip.

Create a faceshift folder under interface/externals.    
   
You may optionally choose to place this folder in a location outside the repository (so you can re-use with different checkouts and different projects). 

If so our CMake find module expects you to set the ENV variable 'HIFI_LIB_DIR' to a directory containing a subfolder faceshift that contains the lib and include folders. 

1. Build a Faceshift static library from the fsbinarystream.cpp file. If you build a release version call it libfaceshift.a. The debug version should be called libfaceshiftd.a. Place this in the lib folder in your Faceshift folder.

2. Copy the fsbinarystream.h header file from the Faceshift SDK into the include folder in your Faceshift folder.

3. Clear your build directory, run cmake and build, and you should be all set.