oleg menkov
New Member
Hi everyone! I am trying to build obs-rtspserver plugin for my jetson with linux. I got an error "Could NOT find obs-frontend-api (missing: OBS_FRONTEND_API_INCLUDE_DIR)"
Here are my steps:
1. Cloning the repository and changing the current folder:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins# git clone https://github.com/iamscottxu/obs-rtspserver.git
Cloning into 'obs-rtspserver'...
remote: Enumerating objects: 3646, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 3646 (delta 11), reused 8 (delta 6), pack-reused 3612
Receiving objects: 100% (3646/3646), 783.54 KiB | 1.19 MiB/s, done.
Resolving deltas: 100% (2197/2197), done.
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins# cd obs-rtspserver/
2. Creating a "build" directory and changing the current folder:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver# mkdir build && cd build
3. Setting the value for DCMAKE_BUILD_TYPE
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# cmake -DCMAKE_BUILD_TYPE=Release ..
Git Tag: v2.2.1-2-g2f1617b
Git Tag Version: 2.2.1-2-g2f1617b
Git Tag Short Version: 2.2.1
Git Tag Long Version: 2.2.1.2
CMake Error at CMakeLists.txt:5 (project):
project with VERSION must use LANGUAGES before language names.
Here I got a mistake and fixed it. I changed the 5th line in CMakeLists.txt:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# vi ../CMakeLists.txt
before:
project(obs-rtspserver VERSION ${OBS_PLUGUIN_LONG_VERSION}
HOMEPAGE_URL "https://obsproject.com/forum/resources/obs-rtspserver.1037"
DESCRIPTION "RTSP server plugin for obs-studio")
after:
project(obs-rtspserver VERSION ${OBS_PLUGUIN_LONG_VERSION}
LANGUAGES C)
But after that I received this one:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# cmake -DCMAKE_BUILD_TYPE=Release ..
Git Tag: v2.2.1-2-g2f1617b-dev
Git Tag Version: 2.2.1-2-g2f1617b-dev
Git Tag Short Version: 2.2.1
Git Tag Long Version: 2.2.1.2
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find obs-frontend-api (missing: OBS_FRONTEND_API_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
external/Findobs-frontend-api.cmake:80 (find_package_handle_standard_args)
external/BuildHelper.cmake:16 (find_package)
CMakeLists.txt:15 (include)
Can you tell me what can I do to solve this problem? I tried to set the value for OBS_FRONTEND_API_INCLUDE_DIR, but received 100% the same mistake.
Any help will be appreciated!
Here are my steps:
1. Cloning the repository and changing the current folder:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins# git clone https://github.com/iamscottxu/obs-rtspserver.git
Cloning into 'obs-rtspserver'...
remote: Enumerating objects: 3646, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 3646 (delta 11), reused 8 (delta 6), pack-reused 3612
Receiving objects: 100% (3646/3646), 783.54 KiB | 1.19 MiB/s, done.
Resolving deltas: 100% (2197/2197), done.
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins# cd obs-rtspserver/
2. Creating a "build" directory and changing the current folder:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver# mkdir build && cd build
3. Setting the value for DCMAKE_BUILD_TYPE
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# cmake -DCMAKE_BUILD_TYPE=Release ..
Git Tag: v2.2.1-2-g2f1617b
Git Tag Version: 2.2.1-2-g2f1617b
Git Tag Short Version: 2.2.1
Git Tag Long Version: 2.2.1.2
CMake Error at CMakeLists.txt:5 (project):
project with VERSION must use LANGUAGES before language names.
Here I got a mistake and fixed it. I changed the 5th line in CMakeLists.txt:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# vi ../CMakeLists.txt
before:
project(obs-rtspserver VERSION ${OBS_PLUGUIN_LONG_VERSION}
HOMEPAGE_URL "https://obsproject.com/forum/resources/obs-rtspserver.1037"
DESCRIPTION "RTSP server plugin for obs-studio")
after:
project(obs-rtspserver VERSION ${OBS_PLUGUIN_LONG_VERSION}
LANGUAGES C)
But after that I received this one:
root@jetson-desktop:/home/jetson/Downloads/obs-studio-26.1.2/plugins/obs-rtspserver/build# cmake -DCMAKE_BUILD_TYPE=Release ..
Git Tag: v2.2.1-2-g2f1617b-dev
Git Tag Version: 2.2.1-2-g2f1617b-dev
Git Tag Short Version: 2.2.1
Git Tag Long Version: 2.2.1.2
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find obs-frontend-api (missing: OBS_FRONTEND_API_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
external/Findobs-frontend-api.cmake:80 (find_package_handle_standard_args)
external/BuildHelper.cmake:16 (find_package)
CMakeLists.txt:15 (include)
Can you tell me what can I do to solve this problem? I tried to set the value for OBS_FRONTEND_API_INCLUDE_DIR, but received 100% the same mistake.
Any help will be appreciated!