We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161dcb5 commit 4a102d5Copy full SHA for 4a102d5
examples/cpp_example_run.sh
@@ -11,5 +11,8 @@ set -x
11
CFLAGS="-std=c++14 -O2 $(pkg-config --cflags opencv)"
12
LDFLAGS="$(pkg-config --libs opencv)"
13
g++ $CFLAGS cpp_example.cpp -I../csrc/ -L../ -lpatchmatch $LDFLAGS -o cpp_example.exe
14
-LD_LIBRARY_PATH=../:$LD_LIBRARY_PATH time ./cpp_example.exe
+
15
+export DYLD_LIBRARY_PATH=../:$DYLD_LIBRARY_PATH # For macOS
16
+export LD_LIBRARY_PATH=../:$LD_LIBRARY_PATH # For Linux
17
+time ./cpp_example.exe
18
0 commit comments