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
c927c554
Commit
c927c554
authored
4 years ago
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update macOS build instructions, travis no longer exists
parent
7bb49a34
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 @
c927c554
...
@@ -6,19 +6,22 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
...
@@ -6,19 +6,22 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
## Building with macOS:
## Building with macOS:
To install the dependencies on macOS, use either the MacPorts or Homebrew package manager.
### Using MacPorts
### Using MacPorts
```
```
#
B
uild tools
#
Install b
uild tools
sudo port install CMake bison doxygen yasm ninja ccache
sudo port install CMake bison doxygen yasm ninja ccache
#
Librar
ies
#
Install library dependenc
ies
sudo port install opencv glew gsed jpeg libpng \
sudo port install opencv glew gsed jpeg libpng \
tiff faac faad2 ceres-solver glfw glm OpenEXR \
tiff faac faad2 ceres-solver glfw glm OpenEXR \
ffmpeg +gpl2 +librtmp +nonfree
ffmpeg +gpl2 +librtmp +nonfree
```
```
```
```
# Configure build
cmake -DCREATE_BOX_PACKAGE=OFF \
cmake -DCREATE_BOX_PACKAGE=OFF \
-DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \
-DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \
...
@@ -26,12 +29,13 @@ cmake -DCREATE_BOX_PACKAGE=OFF \
...
@@ -26,12 +29,13 @@ cmake -DCREATE_BOX_PACKAGE=OFF \
-G Ninja \
-G Ninja \
stitchEm
stitchEm
# Build!
ninja
ninja
```
```
### Using Homebrew
### Using Homebrew
See
[
../.travis.yml
](
../.travis.yml
)
See
the
`run`
instructions in the MacOpenCL builder in
[
../.github/workflows/build.yml
](
build.yml
)
for a full OpenCL-build with Homebrew dependencies.
## Building with Linux:
## Building with Linux:
...
@@ -73,6 +77,7 @@ sudo apt install
...
@@ -73,6 +77,7 @@ sudo apt install
# Install CUDA: https://developer.nvidia.com/cuda-downloads
# Install CUDA: https://developer.nvidia.com/cuda-downloads
# Configure build
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DRTMP_NVENC=OFF \
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DRTMP_NVENC=OFF \
-G Ninja \
-G Ninja \
stitchEm
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