Skip to content

Commit

Permalink
Add missing build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Granjow committed May 26, 2024
1 parent abb8034 commit 08edcb6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*build*
build-*
build
slowmoFlowBuilder
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@ It can be used by slowmoVideo.

## Building

Before building, get the latest version with the following command:

```bash
# Get the latest commit of this branch
git pull --rebase

# Update the libSvFlow submodule to the correct commit
git submodule update --init
```

### Ubuntu 20.04

On Ubuntu 20.04, install the requirements `freeglut3-dev libopencv-dev libglew-dev `

```bash
git submodule update --init
mkdir build
cd build
cmake ..
Expand Down
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

mkdir -p build-docker
cd build-docker
cmake ..
make
cp src/slowmoFlowBuilder ..

0 comments on commit 08edcb6

Please sign in to comment.