Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
5a769b99
Unverified
Commit
5a769b99
authored
4 years ago
by
Wieland Morgenstern
Committed by
GitHub
4 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #135 from stitchEm/w-m/macos-build-instructions
update macOS build instructions, travis no longer exists
parents
1484bb6b
ddde4f5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
BUILD.md
doc/BUILD.md
+8
-3
No files found.
doc/BUILD.md
View file @
5a769b99
...
...
@@ -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
```
#
B
uild tools
#
Install b
uild tools
sudo port install CMake bison doxygen yasm ninja ccache
#
Librar
ies
#
Install library dependenc
ies
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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment