Here's the basics:
You need to mention that you need to install g++, by doing:
sudo apt install build-essential
so that it avoids this error:
$ cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/test/obs-v4l2sink/build/CMakeFiles/CMakeOutput.log".
See also "/home/test/obs-v4l2sink/build/CMakeFiles/CMakeError.log".
Also, if you could show me how to create Pull Request, I'd greatly appreciate it! I am very frustated when contributing code on Github!
I tried making a editting the README, to improve a documentation error. I apparently failed greatly.
Here is the repo I made by accident: https://github.com/EliterScripts/obs-v4l2sink/
Here's the basics: You need to mention that you need to install g++, by doing:
sudo apt install build-essential
so that it avoids this error:
Also, if you could show me how to create Pull Request, I'd greatly appreciate it! I am very frustated when contributing code on Github!