Unverified Commit 5a769b99 authored by Wieland Morgenstern's avatar Wieland Morgenstern Committed by GitHub

Merge pull request #135 from stitchEm/w-m/macos-build-instructions

update macOS build instructions, travis no longer exists
parents 1484bb6b ddde4f5f
......@@ -6,19 +6,22 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
## Building with macOS:
To install the dependencies on macOS, use either the MacPorts or Homebrew package manager.
### Using MacPorts
```
# Build tools
# Install build tools
sudo port install CMake bison doxygen yasm ninja ccache
# Libraries
# Install library dependencies
sudo port install opencv glew gsed jpeg libpng \
tiff faac faad2 ceres-solver glfw glm OpenEXR \
ffmpeg +gpl2 +librtmp +nonfree
```
```
# Configure build
cmake -DCREATE_BOX_PACKAGE=OFF \
-DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \
......@@ -26,12 +29,13 @@ cmake -DCREATE_BOX_PACKAGE=OFF \
-G Ninja \
stitchEm
# Build!
ninja
```
### Using Homebrew
See [../.travis.yml](../.travis.yml)
See the `run` instructions in the MacOpenCL builder in [build.yml](../.github/workflows/build.yml) for a full OpenCL-build with Homebrew dependencies.
## Building with Linux:
......@@ -73,6 +77,7 @@ sudo apt install
# Install CUDA: https://developer.nvidia.com/cuda-downloads
# Configure build
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DRTMP_NVENC=OFF \
-G Ninja \
stitchEm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment