The guide correctly lists -D for that option for the CMake command.
The latest paste did not actually list the error. It aborts due to an error, but it must have been occurring earlier.
Thank you for the speedy replies.
The guide literally says:
# Note Ubuntu 20.04/Debian 10 must set ENABLE_PIPEWIRE=OFF and do not support wayland capture.
It's probably a typo but it's kinda misleading for newbies like me, please correct it.
About the error, the cmake stage went well, only 2 errors complaining about messing libraries to build plugins but they seems unrelated to what's causing the error in the make stage, this is a copy of the full make process
Code:
Scanning dependencies of target glad
Scanning dependencies of target obspython_swig_compilation
Scanning dependencies of target caption
Scanning dependencies of target media-playback
[ 0%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad.c.o
[ 0%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/utf8.c.o
[ 0%] Swig compile obspython.i for python
[ 0%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/decode.c.o
/home/mido/obs-studio/deps/libcaption/src/utf8.c: In function ‘utf8_char_whitespace’:
/home/mido/obs-studio/deps/libcaption/src/utf8.c:54:21: warning: comparison is always true due to limited range of data type [-Wtype-limits]
54 | if (!c || (c[0] >= 0 && c[0] <= ' ') || c[0] == 0x7F) {
| ^~
[ 1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/srt.c.o
[ 1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/scc.c.o
[ 1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/mpeg.c.o
[ 1%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/media.c.o
[ 1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/cea708.c.o
[ 1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/xds.c.o
[ 2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/caption.c.o
[ 2%] Linking C static library libmedia-playback.a
[ 2%] Built target media-playback
Scanning dependencies of target obslua_swig_compilation
[ 2%] Swig compile obslua.i for lua
[ 2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608_charmap.c.o
[ 2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608_from_utf8.c.o
[ 2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608.c.o
[ 2%] Linking C static library libcaption.a
[ 2%] Built target caption
Scanning dependencies of target obs-browser-page_autogen
[ 2%] Automatic MOC for target obs-browser-page
AutoMoc: /home/mido/obs-studio/plugins/obs-browser/browser-app.hpp:0: Note: No relevant classes found. No output generated.
[ 2%] Built target obs-browser-page_autogen
Scanning dependencies of target libobs
[ 2%] Building C object libobs/CMakeFiles/libobs.dir/callback/calldata.c.o
[ 2%] Building C object libobs/CMakeFiles/libobs.dir/callback/decl.c.o
[ 2%] Building C object libobs/CMakeFiles/libobs.dir/callback/signal.c.o
[ 2%] Built target obslua_swig_compilation
Scanning dependencies of target obs-browser-page
[ 3%] Building CXX object plugins/obs-browser/CMakeFiles/obs-browser-page.dir/obs-browser-page_autogen/mocs_compilation.cpp.o
[ 3%] Building CXX object plugins/obs-browser/CMakeFiles/obs-browser-page.dir/obs-browser-page/obs-browser-page-main.cpp.o
[ 3%] Building C object libobs/CMakeFiles/libobs.dir/callback/proc.c.o
[ 4%] Building C object libobs/CMakeFiles/libobs.dir/graphics/graphics-ffmpeg.c.o
[ 4%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad_egl.c.o
[ 4%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o
[ 4%] Building C object libobs/CMakeFiles/libobs.dir/graphics/quat.c.o
[ 5%] Linking C shared library libobsglad.so
[ 5%] Building C object libobs/CMakeFiles/libobs.dir/graphics/effect-parser.c.o
[ 5%] Building CXX object plugins/obs-browser/CMakeFiles/obs-browser-page.dir/browser-app.cpp.o
[ 5%] Built target glad
[ 5%] Building CXX object plugins/obs-browser/CMakeFiles/obs-browser-page.dir/deps/json11/json11.cpp.o
[ 5%] Built target obspython_swig_compilation
[ 5%] Building C object libobs/CMakeFiles/libobs.dir/graphics/axisang.c.o
[ 5%] Building C object libobs/CMakeFiles/libobs.dir/graphics/vec4.c.o
[ 6%] Building C object libobs/CMakeFiles/libobs.dir/graphics/vec2.c.o
[ 6%] Building C object libobs/CMakeFiles/libobs.dir/graphics/libnsgif/libnsgif.c.o
[ 6%] Building C object libobs/CMakeFiles/libobs.dir/graphics/texture-render.c.o
[ 6%] Building C object libobs/CMakeFiles/libobs.dir/graphics/image-file.c.o
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/graphics/bounds.c.o
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/graphics/matrix3.c.o
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/graphics/matrix4.c.o
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/graphics/vec3.c.o
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/graphics/graphics.c.o
[ 8%] Building C object libobs/CMakeFiles/libobs.dir/graphics/shader-parser.c.o
[ 8%] Building C object libobs/CMakeFiles/libobs.dir/graphics/plane.c.o
[ 8%] Building C object libobs/CMakeFiles/libobs.dir/graphics/effect.c.o
[ 8%] Building C object libobs/CMakeFiles/libobs.dir/graphics/math-extra.c.o
[ 9%] Linking CXX executable obs-browser-page
/usr/bin/ld: /home/mido/cef_binary_4280_linux64/Release/libcef.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [plugins/obs-browser/CMakeFiles/obs-browser-page.dir/build.make:131: plugins/obs-browser/obs-browser-page] Error 1
make[1]: *** [CMakeFiles/Makefile2:1521: plugins/obs-browser/CMakeFiles/obs-browser-page.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 9%] Building C object libobs/CMakeFiles/libobs.dir/graphics/graphics-imports.c.o
[ 10%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-io.c.o
[ 10%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-fourcc.c.o
[ 10%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-matrices.c.o
[ 10%] Building C object libobs/CMakeFiles/libobs.dir/media-io/audio-io.c.o
[ 11%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-frame.c.o
[ 11%] Building C object libobs/CMakeFiles/libobs.dir/media-io/format-conversion.c.o
[ 11%] Building C object libobs/CMakeFiles/libobs.dir/media-io/audio-resampler-ffmpeg.c.o
[ 11%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-scaler-ffmpeg.c.o
[ 11%] Building C object libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o
[ 12%] Building C object libobs/CMakeFiles/libobs.dir/util/array-serializer.c.o
[ 12%] Building C object libobs/CMakeFiles/libobs.dir/util/file-serializer.c.o
[ 12%] Building C object libobs/CMakeFiles/libobs.dir/util/base.c.o
[ 12%] Building C object libobs/CMakeFiles/libobs.dir/util/platform.c.o
/home/mido/obs-studio/libobs/util/base.c: In function ‘bcrash’:
/home/mido/obs-studio/libobs/util/base.c:114:1: warning: ‘noreturn’ function does return
114 | }
| ^
[ 12%] Building C object libobs/CMakeFiles/libobs.dir/util/cf-lexer.c.o
[ 13%] Building C object libobs/CMakeFiles/libobs.dir/util/bmem.c.o
[ 13%] Building C object libobs/CMakeFiles/libobs.dir/util/config-file.c.o
[ 13%] Building C object libobs/CMakeFiles/libobs.dir/util/lexer.c.o
[ 13%] Building C object libobs/CMakeFiles/libobs.dir/util/task.c.o
[ 14%] Building C object libobs/CMakeFiles/libobs.dir/util/dstr.c.o
[ 14%] Building C object libobs/CMakeFiles/libobs.dir/util/utf8.c.o
/home/mido/obs-studio/libobs/util/utf8.c: In function ‘wchar_to_utf8’:
/home/mido/obs-studio/libobs/util/utf8.c:292:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
292 | if (*w < 0) {
| ^
[ 14%] Building C object libobs/CMakeFiles/libobs.dir/util/crc32.c.o
[ 14%] Building C object libobs/CMakeFiles/libobs.dir/util/text-lookup.c.o
[ 14%] Building C object libobs/CMakeFiles/libobs.dir/util/cf-parser.c.o
[ 15%] Building C object libobs/CMakeFiles/libobs.dir/util/profiler.c.o
[ 15%] Building C object libobs/CMakeFiles/libobs.dir/util/bitstream.c.o
[ 15%] Building C object libobs/CMakeFiles/libobs.dir/obs-nix.c.o
[ 15%] Building C object libobs/CMakeFiles/libobs.dir/obs-nix-platform.c.o
[ 15%] Building C object libobs/CMakeFiles/libobs.dir/obs-nix-x11.c.o
[ 16%] Building C object libobs/CMakeFiles/libobs.dir/util/threading-posix.c.o
[ 16%] Building C object libobs/CMakeFiles/libobs.dir/util/pipe-posix.c.o
[ 16%] Building C object libobs/CMakeFiles/libobs.dir/util/platform-nix.c.o
[ 16%] Building C object libobs/CMakeFiles/libobs.dir/obs-nix-wayland.c.o
[ 17%] Building C object libobs/CMakeFiles/libobs.dir/util/platform-nix-dbus.c.o
[ 17%] Building C object libobs/CMakeFiles/libobs.dir/util/platform-nix-portal.c.o
[ 17%] Building C object libobs/CMakeFiles/libobs.dir/obs-audio-controls.c.o
[ 17%] Building C object libobs/CMakeFiles/libobs.dir/obs-avc.c.o
[ 17%] Building C object libobs/CMakeFiles/libobs.dir/obs-encoder.c.o
[ 18%] Building C object libobs/CMakeFiles/libobs.dir/obs-service.c.o
[ 18%] Building C object libobs/CMakeFiles/libobs.dir/obs-source.c.o
[ 18%] Building C object libobs/CMakeFiles/libobs.dir/obs-source-deinterlace.c.o
[ 18%] Building C object libobs/CMakeFiles/libobs.dir/obs-source-transition.c.o
[ 18%] Building C object libobs/CMakeFiles/libobs.dir/obs-output.c.o
[ 19%] Building C object libobs/CMakeFiles/libobs.dir/obs-output-delay.c.o
[ 19%] Building C object libobs/CMakeFiles/libobs.dir/obs.c.o
[ 19%] Building C object libobs/CMakeFiles/libobs.dir/obs-properties.c.o
[ 19%] Building C object libobs/CMakeFiles/libobs.dir/obs-data.c.o
[ 19%] Building C object libobs/CMakeFiles/libobs.dir/obs-missing-files.c.o
[ 20%] Building C object libobs/CMakeFiles/libobs.dir/obs-hotkey.c.o
[ 20%] Building C object libobs/CMakeFiles/libobs.dir/obs-hotkey-name-map.c.o
[ 20%] Building C object libobs/CMakeFiles/libobs.dir/obs-module.c.o
[ 20%] Building C object libobs/CMakeFiles/libobs.dir/obs-display.c.o
[ 21%] Building C object libobs/CMakeFiles/libobs.dir/obs-view.c.o
[ 21%] Building C object libobs/CMakeFiles/libobs.dir/obs-scene.c.o
[ 21%] Building C object libobs/CMakeFiles/libobs.dir/obs-audio.c.o
[ 21%] Building C object libobs/CMakeFiles/libobs.dir/obs-video-gpu-encode.c.o
[ 21%] Building C object libobs/CMakeFiles/libobs.dir/obs-video.c.o
[ 22%] Building C object libobs/CMakeFiles/libobs.dir/audio-monitoring/pulse/pulseaudio-wrapper.c.o
[ 22%] Building C object libobs/CMakeFiles/libobs.dir/audio-monitoring/pulse/pulseaudio-enum-devices.c.o
[ 22%] Building C object libobs/CMakeFiles/libobs.dir/audio-monitoring/pulse/pulseaudio-monitoring-available.c.o
[ 22%] Building C object libobs/CMakeFiles/libobs.dir/audio-monitoring/pulse/pulseaudio-output.c.o
[ 22%] Linking C shared library libobs.so
[ 22%] Built target libobs
make: *** [Makefile:152: all] Error 2