Skip to content

Commit

Permalink
add gcc version
Browse files Browse the repository at this point in the history
  • Loading branch information
rueyjye authored Feb 20, 2020
1 parent 32c93c8 commit 8aadb49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ g++ -std=c++11 ./src/main.cpp -L./ -limageDiffCalc -o gazosan `pkg-config --libs

> Works on linux machine or Mac
> Works on gcc version 4.2.1
1. Create directory and Download [cxxopts.hpp](https://github.com/jarro2783/cxxopts/blob/master/include/cxxopts.hpp) into include directory.

```bash
Expand All @@ -98,6 +100,7 @@ sh .circleci/cxxops.sh
```

3. Compile main.cpp

```bash
g++ -std=c++11 -I include/ ./src/main.cpp -o gazosan `pkg-config --libs --cflags opencv`
```
Expand Down

0 comments on commit 8aadb49

Please sign in to comment.