facebookarchive / Surround360

Surround360 is Facebook's open source hardware and software for capturing stereoscopic 3D 360 video for VR. The repo contains hardware designs, as well as software for camera control and rendering.
Other
2.17k stars 581 forks source link

Add windows/hunter support #226

Open caseymcc opened 7 years ago

caseymcc commented 7 years ago

Hunter is a cmake package handler (https://github.com/ruslo/hunter), this PR includes support for

boost Eigen glog gflags Ceres

all others are ignored for the moment but can be added. The PR does not completely compile on Linux or Windows (don't have a mac to test on, assuming mac is supported) as folly is missing. I have another PR I am going to add that removes the dependence on folly mainly for Windows builds. I am thinking I may have to submit them together, but I at least wanted to get a discussion started.

caseymcc commented 7 years ago

Should be good to go on Windows/Linux (tested with Windows 10 and Ubuntu 16.04). I only tested with

cmake -DUSE_HUNTER=ON ...

as I don't have an environment setup for testing without it.