Any idea why my compile is failing? https://gist.github.com/ChrisLane/c217dea3bd2d6bcda69ea2215291486e
Search Criteria
Package Details: obs-studio-git 31.0.3.r236.g000437f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy) |
---|---|
Package Base: | obs-studio-git |
Description: | Free and open source software for video recording and live streaming |
Upstream URL: | https://github.com/obsproject/obs-studio |
Licenses: | GPL-2.0-only |
Conflicts: | obs-studio |
Provides: | obs-studio |
Submitter: | ledti |
Maintainer: | benklett (xiota) |
Last Packager: | xiota |
Votes: | 109 |
Popularity: | 1.45 |
First Submitted: | 2014-03-12 22:29 (UTC) |
Last Updated: | 2025-05-10 09:22 (UTC) |
Dependencies (61)
- at-spi2-core (at-spi2-core-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, jack2, pipewire-jack)
- jansson (jansson-gitAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR)
- librist (librist-gitAUR)
- libvpl (libvpl-gitAUR, intel-media-stack-binAUR, intel-media-stack-legacy-binAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- pciutils (pciutils-gitAUR)
- qrcodegencpp-cmake
- qt6-svg
- rnnoise (rnnoise-gitAUR)
- speexdsp (speexdsp-gitAUR)
- alsa-lib (make)
- Show 41 more dependencies...
Required by (146)
- catppuccin-obs-theme-git (requires obs-studio)
- distroav (requires obs-studio)
- distroav-bin (requires obs-studio)
- distroav-git (requires obs-studio)
- droidcam-obs-plugin (requires obs-studio)
- droidcam-obs-plugin-bin (requires obs-studio)
- droidcam-obs-plugin-git (requires obs-studio)
- glava-git (requires obs-studio) (make)
- glava-git (requires obs-studio) (optional)
- glava-ridged (requires obs-studio) (optional)
- looking-glass (requires obs-studio) (make)
- looking-glass-git (requires obs-studio) (make)
- looking-glass-host (requires obs-studio) (make)
- looking-glass-host-git (requires obs-studio) (make)
- looking-glass-module-dkms (requires obs-studio) (make)
- looking-glass-module-dkms-git (requires obs-studio) (make)
- looking-glass-rc (requires obs-studio) (make)
- looking-glass-rc-host (requires obs-studio) (make)
- looking-glass-rc-module-dkms (requires obs-studio) (make)
- lyrica (requires obs-studio) (optional)
- Show 126 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 36 Next › Last »
ChrisLane commented on 2021-06-29 08:18 (UTC)
squidd commented on 2021-06-11 22:55 (UTC) (edited on 2021-06-11 22:55 (UTC) by squidd)
No matter what I do paru tells me that I need to upgrade this application. Should I not be installing this with yay/paru? Is the maintainer going to update this soon?
ngoonee commented on 2021-06-04 01:26 (UTC) (edited on 2021-06-04 01:27 (UTC) by ngoonee)
Building fails with a g_memdup2 undefined reference:-
Consolidate compiler generated dependencies of target obs-x264-test
[ 50%] Linking C executable obs-x264-test
/usr/bin/ld: /usr/lib/libpango-1.0.so.0: undefined reference to `g_memdup2'
collect2: error: ld returned 1 exit status
make[2]: [plugins/obs-x264/CMakeFiles/obs-x264-test.dir/build.make:99: plugins/obs-x264/obs-x264-test]
Error 1
make[1]: [CMakeFiles/Makefile2:1488: plugins/obs-x264/CMakeFiles/obs-x264-test.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
tytan652 commented on 2021-05-30 09:26 (UTC)
I don't know if you already know this.
But since obs-studio use luajit (~lua5.1) and VLC is compiled with lua5.2 or later.
The use of OBS VLC sources will make OBS crash because of the difference between lua versions.
I created vlc-luajit to provide a VLC package which not make crash OBS.
It could be a good idea to replace at least vlc optional dependency with vlc-luajit to try to provide a better experience to users.
outfrost commented on 2021-04-21 21:31 (UTC)
Please add pipewire-media-session
as an optional dependency. It is required for PipeWire capture to work in OBS Studio.
lawa42 commented on 2021-04-19 07:22 (UTC)
pipewire screen capture doesn't work for me. As suggested by @Koffiepoeder I've enabled PIPEWIRE support in the PKGBUILD. I created an issue at https://github.com/obsproject/obs-studio/issues/4554
Scrumplex commented on 2021-04-13 08:18 (UTC)
OBS upstream includes support for globally installed ftl-sdk. I also packaged that and created an obs-studio-ftl package which is obs-studio stable with ftl-sdk support.
Koffiepoeder commented on 2021-04-08 07:42 (UTC) (edited on 2021-04-08 07:43 (UTC) by Koffiepoeder)
As @HurricanePootis mentioned, native pipewire recording was added to obs since version 27.0 (see https://github.com/obsproject/obs-studio/pull/4287). It seems to me however that this is not enabled by default. To enable this functionality you can add -DENABLE_PIPEWIRE=ON
to the build() step in the PKGBUILD (and run obs in wayland mode, see bottom of my post). For me this resolved the earlier requirement for obs-xdg-portal-git
on my wayland/pipewire machine for screen recording (a package which doesn't compile for this version anyway, i.e. see my issue @ https://gitlab.gnome.org/feaneron/obs-xdg-portal/-/issues/30):
build() {
cd $pkgname
mkdir -p build; cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_BROWSER=ON \
-DCEF_ROOT_DIR="/opt/cef" \
-DOBS_VERSION_OVERRIDE=$pkgver \
-DENABLE_PIPEWIRE=ON .. # <--------- add before '..'
make
}
After installing this way, to get obs to run in native wayland mode, you also need to install qt5-wayland
and finally run obs with the QT_QPA_PLATFORM=wayland
variable set.
Psilovybin commented on 2021-04-07 23:34 (UTC)
@wuestengecko ah, ok.. i forgot i had a custom ffmpeg.. thank you
Pinned Comments
thotypous commented on 2021-02-05 14:12 (UTC)
If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx
benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)