cmake - generate CMakeList.text for OS X -
i'm trying create plugin obs using c, , compiling using cmake .. && make
see - https://github.com/jp9000/obs-studio/wiki/install-instructions#mac-osx
when running cmake .. && make
cmd gives me error cmake: command not found
, when run program gives me error - cmake error: source directory "/users/gerwin/desktop/soobs" not appear contain cmakelist.text specify --help usage, or press button on cmake gui
how can generate cmakelist.text compile soobs script .so file?
one problem cmake
not in path. so, if type cmake
command line cannot found. other problem not specifying correctly source directory: have specify source directory location of main/root cmakelists.txt
.
so, proceed follow:
- locate cmake executable, obtaining
<full path cmake>
- open shell
- go source directory (location of main/root of obs-studio
cmakelists.txt
) mkdir build
cd build
<full path cmake> ..
the first argument..
source directory, location of maincmakelists.txt
make
Comments
Post a Comment