Skip to content

Commit

Permalink
openvino: let devs know about needing to use '-tags customenv' for bu…
Browse files Browse the repository at this point in the history
…ilds

Signed-off-by: Ron Evans <[email protected]>
  • Loading branch information
deadprogram committed May 27, 2018
1 parent 990cc61 commit 9519445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openvino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ You only need to do these two steps one time per session. Once you have run them
Now you can run the version command example to make sure you are compiling/linking against Intel OpenVINO:

```
$ go run ./cmd/version/main.go
$ go run -tags customenv ./cmd/version/main.go
gocv version: 0.11.0
opencv lib version: 3.4.1-cvsdk_2018_1.0.5
```

Note the use of `-tags customenv` is needed when using `go run` or `go build` with OpenVINO, so the CGo compiler can pickup the correct settings for the environment, and ignore the usual defaults.

Examples that use the Intel OpenVINO toolkit can be found in the `cmd/openvino` directory of this repository.

0 comments on commit 9519445

Please sign in to comment.