File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,41 @@ Install dependencies:
29
29
$ brew install opencv onnxruntime
30
30
```
31
31
32
+ #### Finding libobs
33
+
34
+ If you install OBS app you already have the binaries for libobs (e.g. ` /Applications/OBS.app/Contents/Frameworks/libobs.0.dylib ` )
35
+ But you don't have the headers - so clone the main obs repo e.g.
` git clone [email protected] :obsproject/obs-studio.git `
36
+
37
+ Then you'd need to point ` FindLibObs.cmake ` to find the lib and headers:
38
+ ```
39
+ find_path(LIBOBS_INCLUDE_DIR
40
+ NAMES obs.h
41
+ HINTS
42
+ ENV obsPath${_lib_suffix}
43
+ ENV obsPath
44
+ ${obsPath}
45
+ PATHS
46
+ /Users/roy_shilkrot/Downloads/obs-studio/libobs/
47
+ /usr/include /usr/local/include /opt/local/include /sw/include
48
+ PATH_SUFFIXES
49
+ libobs
50
+ )
51
+ ```
52
+ and
53
+ ```
54
+ find_library(${base_name_u}_LIB
55
+ NAMES ${_${base_name_u}_LIBRARIES} ${lib_name} lib${lib_name} ${lib_name}.0
56
+ HINTS
57
+ ENV obsPath${_lib_suffix}
58
+ ENV obsPath
59
+ ${obsPath}
60
+ ${_${base_name_u}_LIBRARY_DIRS}
61
+ PATHS
62
+ /Applications/OBS.app/Contents/Frameworks
63
+ /usr/lib /usr/local/lib /opt/local/lib /sw/lib
64
+ # ...
65
+ ```
66
+
32
67
Build:
33
68
```
34
69
$ mkdir build && cd build
You can’t perform that action at this time.
0 commit comments