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 main cmakelists.txt
  • make

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -