obs-ptz icon indicating copy to clipboard operation
obs-ptz copied to clipboard

obs-ptz-controls wont install from aur

Open mandle420 opened this issue 1 year ago • 2 comments

I believe the issue is here. if it's just an arch issue, I've linked this on the obs-ptz-controls aur page. using the temp fix from the manjaro forums(link below), the first cmake section here shows up as well. SDL2 is installed and working.

.... CMake Warning at CMakeLists.txt:107 (find_package): Found package configuration file:

/usr/lib/cmake/SDL2/SDL2Config.cmake

but it set SDL2_FOUND to FALSE so package "SDL2" is considered to be NOT FOUND. .... cc1plus: all warnings being treated as errors make[2]: *** [CMakeFiles/obs-ptz.dir/build.make:129: CMakeFiles/obs-ptz.dir/src/ptz-controls.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors make[2]: *** [CMakeFiles/obs-ptz.dir/build.make:311: CMakeFiles/obs-ptz.dir/src/imported/properties-view.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/obs-ptz.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: obs-ptz-controls-exit status 4 -> Failed to install the following packages. Manual intervention is required: ....

Full term output here. https://pastebin.com/RFWN8ZfM

Temp fix from manjaro forums https://forum.manjaro.org/t/obs-ptz-controls-fails-to-build/162227/13

git clone https://aur.archlinux.org/obs-ptz-controls.git cd obs-ptz-controls makepkg -o sed -i '177 s/./#&/' src/obs-ptz/cmake/ObsPluginHelpers.cmake makepkg -e

Not quite sure how to make it work, but at least it installs this way.(still need to rtfm) Once I have a chance to configure and test and i'll make an update. The person on the manjaro forums said they made a report, so if this is a repeat, my apologies. But I could not find it.

mandle420 avatar Sep 16 '24 05:09 mandle420

I took the time to dive into that warning, seems like obs-ptz buildsystem ask for a static build of SDL2 where Linux distributions are more likely to provide only a shared build.

tytan652 avatar Sep 20 '24 16:09 tytan652

it worked fine

ryzendew avatar Oct 03 '24 23:10 ryzendew

Fixed in #210

glikely avatar Apr 21 '25 23:04 glikely