Xaymar/obs-StreamFX

CMake says source dir does not appear to contain CMakeLists.txt #752

tomachinz posted onGitHub

Operating System

Linux (like Arch Linux)

OBS Studio Version?

27.1

StreamFX Version

0.11.0c1

OBS Studio Log

cmake -H=source/ -B=build/

OBS Studio Crash Log

I'm trying to get OBS up on my new Manjaro install. It is working, installed from pamac, and does open. But I'd really like to have both the virtual camera, and the built-in RTSP server which seem to be missing compared to the install I had up on Kubuntu and Zorin prior. I'm normally a debian/Ubuntu user, but only recently switched to Manjaro. Noting that I can't open .deb files (Manjaro can't open .deb right?), I figured maybe I could compile it from source.

Current Behavior

But I get stuck with this error about missing file CMakeLists.txt which does not seem to be in the git repo:

CMake Error: The source directory "/home/tom/Github/streamfx/source" does not appear to contain CMakeLists.txt.

Expected Behavior

I expected it would compile a binary that I can use in obs-studio to enable virtual camera.

Steps to Reproduce the Bug

  • install manjaro
  • install obs-studio using pamac
  • clone the streamfx repo recursively

Any additional Information we need to know?

Linux putin 5.15.7-1-MANJARO #1 SMP PREEMPT Wed Dec 8 10:09:19 UTC 2021 x86_64 GNU/Linux cmake version 3.22.1 OBS Studio - 27.1.3-1 (linux) ffmpeg version n4.4.1 Copyright (c) 2000-2021 the FFmpeg developers

commit 2d7fce5a9d47692b2dcf890effb47534c06fc8be (HEAD -> master, tag: 0.11.0c1, origin/master, origin/HEAD) Date: Sun Dec 12 17:04:36 2021 +0100 project: Version 0.11.0c1


I think I've solved it.

Apologies for my noob question. Solved by moving up one directory relatively with cd ../ so:

git clone --recursive https://github.com/Xaymar/obs-StreamFX.git streamfx
cd streamfx
mkdir build
cmake .

and it fires up, seems to be working, closing issue:

manjaro@putin:~/Github/streamfx$ cmake .
-- StreamFX: Version 0.11.0.0c1-g2d7fce5a
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Targetting x86 with 64bits and a pointer size of 64bit.
-- Applying custom flags for GNU style build.
-- StreamFX: This is a standalone build, please make sure you've followed the instructions.
-- Downloading/updating libobs
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tom/Github/streamfx/libobs-download
[ 11%] Creating directories for 'libobs-download'
[ 22%] Performing download step (download, verify and extract) for 'libobs-download'
-- Downloading...
dst='/home/tom/Github/streamfx/libobs-download/libobs-download-prefix/src/obs-studio-x64-0.0.0.0-ubuntu-x86-64.7z'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/Xaymar/obs-studio/releases/download/27.0.0-ci/obs-studio-x64-0.0.0.0-ubuntu-x86-64.7z'
-- [download 14% complete]
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='/home/tom/Github/streamfx/libobs-download/libobs-download-prefix/src/obs-studio-x64-0.0.0.0-ubuntu-x86-64.7z'
-- Downloading... done
-- extracting...
src='/home/tom/Github/streamfx/libobs-download/libobs-download-prefix/src/obs-studio-x64-0.0.0.0-ubuntu-x86-64.7z'
dst='/home/tom/Github/streamfx/libobs-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'libobs-download'
[ 44%] No patch step for 'libobs-download'
[ 55%] No configure step for 'libobs-download'
[ 66%] No build step for 'libobs-download'
[ 77%] No install step for 'libobs-download'
[ 88%] No test step for 'libobs-download'
[100%] Completed 'libobs-download'
[100%] Built target libobs-download
-- Found CURL: /usr/lib/libcurl.so (found version "7.80.0")  
-- Found FFmpeg: /usr/lib/../lib64/libavutil.so (found version "56.70.100") found components: avutil avcodec swscale 
-- Found AOM: /usr/include   
CMake Warning at CMakeLists.txt:691 (message):
StreamFX:: 'NVIDIA Augmented Reality SDK' is missing.  Disabling NVIDIA
provider...
Call Stack (most recent call first):
CMakeLists.txt:1006 (feature_filter_autoframing)


CMake Warning at CMakeLists.txt:698 (message):
StreamFX:: Auto-Framing has no available providers.  Disabling...
Call Stack (most recent call first):
CMakeLists.txt:1006 (feature_filter_autoframing)


CMake Warning at CMakeLists.txt:720 (message):
StreamFX:: 'NVIDIA Video Effects SDK' is missing.  Disabling NVIDIA
provider...
Call Stack (most recent call first):
CMakeLists.txt:1009 (feature_filter_denoising)


CMake Warning at CMakeLists.txt:727 (message):
StreamFX:: Denoising has no available providers.  Disabling...
Call Stack (most recent call first):
CMakeLists.txt:1009 (feature_filter_denoising)


CMake Warning at CMakeLists.txt:760 (message):
StreamFX:: 'NVIDIA Video Effects SDK' is missing.  Disabling NVIDIA
provider(s)...
Call Stack (most recent call first):
CMakeLists.txt:1015 (feature_filter_upscaling)


CMake Warning at CMakeLists.txt:767 (message):
StreamFX:: Upscaling has no available providers.  Disabling...
Call Stack (most recent call first):
CMakeLists.txt:1015 (feature_filter_upscaling)


CMake Warning at CMakeLists.txt:780 (message):
StreamFX:: 'NVIDIA Video Effects SDK' is missing.  Disabling NVIDIA
provider(s)...
Call Stack (most recent call first):
CMakeLists.txt:1016 (feature_filter_virtual_greenscreen)


CMake Warning at CMakeLists.txt:787 (message):
StreamFX:: Virtual Greenscreen has no available providers.  Disabling...
Call Stack (most recent call first):
CMakeLists.txt:1016 (feature_filter_virtual_greenscreen)


-- Configuring done
-- Generating done
-- Build files have been written to: /home/tom/Github/streamfx
posted by tomachinz about 3 years ago

Fund this Issue

$0.00
Funded

Pull requests