I'm going to build obs-studio for termux... does anyone have any suggestions or experience with this. This is as far as I got!

just_stuff_tm

New Member
Output and where i stalled

i disabled libpci in obs-ffmpeg plugin

~/obs-studio/build $ cmake .. \
> -DBUILD_BROWSER=ON \
> -DCEF_ROOT_DIR=~/obs-studio/cef_binary_5060_linux64 \
> -DX11_X11_INCLUDE_PATH=/data/data/com.termux/files/usr/include/X11 \
> -DX11_LIBRARIES=/data/data/com.termux/files/usr/lib/libX11.so \
> -DOPENGL_INCLUDE_DIR=/data/data/com.termux/files/usr/include \
> -DOPENGL_gl_LIBRARY=/data/data/com.termux/files/usr/lib/libOpenGL.so
-- The C compiler identification is Clang 19.1.2
-- The CXX compiler identification is Clang 19.1.2
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/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: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OBS_VERSION: 27.2.4-modified
-- No Native SSE2 SIMD Support - Using SIMDE
-- Found OpenGL: /data/data/com.termux/files/usr/lib/libOpenGL.so
-- Found X11: /data/data/com.termux/files/usr/include/X11
-- Looking for XOpenDisplay in /data/data/com.termux/files/usr/lib/libX11.so;/data/data/com.termux/files/usr/lib/libX11.so;/data/data/com.termux/files/usr/lib/libXext.so
-- Looking for XOpenDisplay in /data/data/com.termux/files/usr/lib/libX11.so;/data/data/com.termux/files/usr/lib/libX11.so;/data/data/com.termux/files/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found PkgConfig: /data/data/com.termux/files/usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'egl'
-- Found egl, version 1.5
-- Found EGL: /data/data/com.termux/files/usr/include
-- Found FFmpeg: /data/data/com.termux/files/usr/lib/../lib/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR 31;#define LIBAVCODEC_VERSION_MICRO 102.31.102") found components: avcodec avdevice avutil avformat
-- Found Libcurl: /data/data/com.termux/files/usr/bin/../lib/libcurl.so
CMake Deprecation Warning at deps/obs-scripting/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


-- Luajit support not found.
CMake Warning (dev) at cmake/Modules/FindPythonDeps.cmake:13 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
deps/obs-scripting/CMakeLists.txt:47 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Scripting: Python 3 supported
CMake Deprecation Warning at deps/obs-scripting/obspython/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at deps/obs-scripting/obspython/CMakeLists.txt:6 (cmake_policy):
The OLD behavior for policy CMP0078 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at deps/obs-scripting/obspython/CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0086 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.


-- Found SWIG: /data/data/com.termux/files/usr/bin/swig (found suitable version "4.3.0", minimum required is "2")
CMake Deprecation Warning at deps/libcaption/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


-- Using system Jansson library
-- XCB[XCB]: Found component XCB
-- Found XCB: /data/data/com.termux/files/usr/lib/libxcb.so found components: XCB
-- Found X11_XCB: /data/data/com.termux/files/usr/lib/libX11-xcb.so
-- Found Wayland: /data/data/com.termux/files/usr/lib/libwayland-client.so;/data/data/com.termux/files/usr/lib/libwayland-server.so;/data/data/com.termux/files/usr/lib/libwayland-egl.so;/data/data/com.termux/files/usr/lib/libwayland-cursor.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found FFmpeg: /data/data/com.termux/files/usr/lib/../lib/libavformat.so (found version "#define LIBAVFORMAT_VERSION_MINOR 16;#define LIBAVFORMAT_VERSION_MICRO 100.16.100") found components: avformat avutil swscale swresample avcodec
-- XCB[XINPUT]: Found component XINPUT
-- Found XCB: /data/data/com.termux/files/usr/lib/libxcb-xinput.so found components: XINPUT
-- XCB[XCB]: Found component XCB
-- XCB[COMPOSITE]: Found component COMPOSITE
-- XCB[DAMAGE]: Found component DAMAGE
-- XCB[DRI2]: Found component DRI2 -- XCB[EWMH]: Found component EWMH
-- XCB[GLX]: Found component GLX
-- XCB[ICCCM]: Found component ICCCM
-- XCB[IMAGE]: Found component IMAGE
-- XCB[KEYSYMS]: Found component KEYSYMS
-- XCB[RANDR]: Found component RANDR
-- XCB[RENDER]: Found component RENDER
-- XCB[RENDERUTIL]: Found component RENDERUTIL
-- XCB[SHAPE]: Found component SHAPE
-- XCB[SHM]: Found component SHM
-- XCB[SYNC]: Found component SYNC -- XCB[UTIL]: Found component UTIL
-- XCB[XFIXES]: Found component XFIXES
-- XCB[XTEST]: Found component XTEST
-- XCB[XV]: Found component XV
-- XCB[XINPUT]: Found component XINPUT
-- XCB[XINERAMA]: Found component XINERAMA
-- Found XCB: /data/data/com.termux/files/usr/lib/libxcb-xinput.so;/data/data/com.termux/files/usr/lib/libxcb.so;/data/data/com.termux/files/usr/lib/libxcb-composite.so;/data/data/com.termux/files/usr/lib/libxcb-damage.so;/data/data/com.termux/files/usr/lib/libxcb-dri2.so;/data/data/com.termux/files/usr/lib/libxcb-ewmh.so;/data/data/com.termux/files/usr/lib/libxcb-glx.so;/data/data/com.termux/files/usr/lib/libxcb-icccm.so;/data/data/com.termux/files/usr/lib/libxcb-image.so;/data/data/com.termux/files/usr/lib/libxcb-keysyms.so;/data/data/com.termux/files/usr/lib/libxcb-randr.so;/data/data/com.termux/files/usr/lib/libxcb-render.so;/data/data/com.termux/files/usr/lib/libxcb-render-util.so;/data/data/com.termux/files/usr/lib/libxcb-shape.so;/data/data/com.termux/files/usr/lib/libxcb-shm.so;/data/data/com.termux/files/usr/lib/libxcb-sync.so;/data/data/com.termux/files/usr/lib/libxcb-util.so;/data/data/com.termux/files/usr/lib/libxcb-xfixes.so;/data/data/com.termux/files/usr/lib/libxcb-xtest.so;/data/data/com.termux/files/usr/lib/libxcb-xv.so;/data/data/com.termux/files/usr/lib/libxcb-xinput.so;/data/data/com.termux/files/usr/lib/libxcb-xinerama.so
-- Found PulseAudio - Audio Monitor enabled
-- Checking for modules 'gio-2.0;gio-unix-2.0'
-- Found gio-2.0, version 2.80.5
-- Found gio-unix-2.0, version 2.80.5
-- Using libavcodec for image loading in libobs -- Found ZLIB: /data/data/com.termux/files/usr/lib/../lib/libz.so -- Found Wayland: /data/data/com.termux/files/usr/lib/libwayland-client.so;/data/data/com.termux/files/usr/lib/libwayland-server.so;/data/data/com.termux/files/usr/lib/libwayland-egl.so;/data/data/com.termux/files/usr/lib/libwayland-cursor.so found components: Client -- Found Xkbcommon: /data/data/com.termux/files/usr/lib/libxkbcommon.so
-- Using the bundled VST header.
-- Found Libx264: /data/data/com.termux/files/usr/lib/../lib/libx264.so
-- Found FFmpeg: /data/data/com.termux/files/usr/lib/../lib/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR 31;#define LIBAVCODEC_VERSION_MICRO 102.31.102") found components: avcodec avfilter avdevice avutil swscale avformat swresample
-- Found FFmpeg: /data/data/com.termux/files/usr/lib/../lib/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR 31;#define LIBAVCODEC_VERSION_MICRO 102.31.102") found components: avcodec avutil avformat
-- Found MbedTLS: /data/data/com.termux/files/usr/lib/../lib/libmbedtls.so;/data/data/com.termux/files/usr/bin/../lib/libmbedcrypto.so;/data/data/com.termux/files/usr/bin/../lib/libmbedx509.so
-- Checking for module 'libftl'
-- No package 'libftl' found
-- Found ftl-sdk: ftl outputs enabled
-- Found Libspeexdsp: /data/data/com.termux/files/usr/bin/../lib/libspeexdsp.so
-- Could NOT find LibAJANTV2 (missing: AJA_LIBRARIES_INCLUDE_DIR AJA_NTV2_LIB)
-- aja plugin disabled (deps not found)
CMake Warning (dev) at cmake/Modules/FindPythonDeps.cmake:13 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
UI/CMakeLists.txt:151 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find LibAJANTV2 (missing: AJA_LIBRARIES_INCLUDE_DIR AJA_NTV2_LIB) -- aja-output-ui plugin disabled (deps not found) -- Configuring done (7.3s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files:
DL_LIBRARY
linked by target "libobs" in directory /data/data/com.termux/files/home/obs-studio/libobs
M_LIBRARY linked by target "libobs" in directory /data/data/com.termux/files/home/obs-studio/libobs

-- Generating done (0.2s)
CMake Warning: Manually-specified variables were not used by the project:

CEF_ROOT_DIR


CMake Generate step failed. Build files cannot be regenerated correctly.
 
Top