Build error on Fedora

muety

New Member
I followed the Fedora build instruction from the wiki, but running cmake -DUNIX_STRUCTURE=1 -DBUILD_BROWSER=OFF .. brings up the following error:

Code:
-- OBS_VERSION: 27.0.0-rc1-32-g1064cd26f
-- Found FFmpeg: /usr/bin/../lib64/libavcodec.so (found version "58.134.100") found components: avcodec avdevice avutil avformat
-- Scripting: Luajit supported
-- Scripting: Python 3 supported
-- Jansson >=2.5 not found, building bundled version
C compiler: GNU
-- XCB[XCB]: Found component XCB
-- Found XCB: /usr/lib64/libxcb.so  found components: XCB
-- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so;/usr/lib64/libwayland-cursor.so  
-- Found FFmpeg: /usr/bin/../lib64/libavformat.so (found version "58.76.100") found components: avformat avutil swscale swresample avcodec
-- XCB[XINPUT]: Found component XINPUT
-- Found XCB: /usr/lib64/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[GLX]: Found component GLX
-- XCB[RANDR]: Found component RANDR
-- XCB[RENDER]: Found component RENDER
-- XCB[SHAPE]: Found component SHAPE
-- XCB[SHM]: Found component SHM
-- XCB[SYNC]: Found component SYNC
-- 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: /usr/lib64/libxcb-xinput.so;/usr/lib64/libxcb.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-sync.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-xtest.so;/usr/lib64/libxcb-xv.so;/usr/lib64/libxcb-xinput.so;/usr/lib64/libxcb-xinerama.so  
-- Found PulseAudio - Audio Monitor enabled
-- Using libavcodec for image loading in libobs
-- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so;/usr/lib64/libwayland-cursor.so  found components: Client
-- XCB[XCB]: Found component XCB
-- XCB[RANDR]: Found component RANDR
-- XCB[SHM]: Found component SHM
-- XCB[XFIXES]: Found component XFIXES
-- XCB[XINERAMA]: Found component XINERAMA
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-xinerama.so  found components: XCB RANDR SHM XFIXES XINERAMA
-- Checking for module 'jack'
--   Package 'jack', required by 'virtual:world', not found
-- JACK Audio Connection Kit not found, disabling JACK plugin
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- ALSA not found, disabling ALSA plugin
-- Could NOT find LibVLC (missing: VLC_INCLUDE_DIR)
-- VLC video plugin disabled
-- Could NOT find Sndio (missing: Sndio_LIBRARY Sndio_INCLUDE_DIR)
-- Sndio not found, disabling Sndio plugin
-- Using the bundled VST header.
-- Libfdk not found - obs-libfdk plugin disabled
-- Found FFmpeg: /usr/bin/../lib64/libavcodec.so (found version "58.134.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample
-- Found FFmpeg: /usr/bin/../lib64/libavcodec.so (found version "58.134.100") found components: avcodec avutil avformat
-- Checking for module 'libftl'
--   Package 'libftl', required by 'virtual:world', not found
-- Found ftl-sdk: ftl outputs enabled
-- Configuring done
CMake Error at UI/CMakeLists.txt:380 (add_executable):
  Target "obs" links to target "Qt5::GuiPrivate" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

I found this post. There is no qtbase5-private-dev package on Fedora, however, qt5-qtbase-devel is installed, which I assume is the same?
 

zilog80

New Member
I found for OpenSuSE an extra package called libqt5-qtbase-private-headers-devel (in addition to libqt5-qtbase-devel) so check that all qtbase devel packges are installed.
 
Top