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
4f2888c4
Commit
4f2888c4
authored
Aug 31, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document all steps needed for a build, including out-of-source build dir
parent
20693a55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
BUILD.md
doc/BUILD.md
+16
-2
No files found.
doc/BUILD.md
View file @
4f2888c4
...
@@ -18,12 +18,19 @@ sudo port install opencv glew gsed jpeg libpng openal \
...
@@ -18,12 +18,19 @@ sudo port install opencv glew gsed jpeg libpng openal \
```
```
```
```
git clone git@github.com:stitchEm/stitchEm.git
mkdir build; cd 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 \
-DMACPORTS=ON \
-DMACPORTS=ON \
-DCMAKE_BUILD_TYPE=Release \
-G Ninja \
-G Ninja \
stitchEm
../stitchEm
ninja
```
```
### Using Homebrew
### Using Homebrew
...
@@ -77,9 +84,16 @@ export CXX=g++-6
...
@@ -77,9 +84,16 @@ export CXX=g++-6
# Install CUDA: https://developer.nvidia.com/cuda-90-download-archive
# Install CUDA: https://developer.nvidia.com/cuda-90-download-archive
git clone git@github.com:stitchEm/stitchEm.git
mkdir build; cd build;
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-G Ninja \
-G Ninja \
stitchEm
-DCMAKE_BUILD_TYPE=Release \
../stitchEm
ninja
```
```
## CMake flags
## CMake flags
...
...
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