matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
851 stars 26 forks source link

Can't build from source, missing dependencies #150

Closed Eris7090 closed 2 years ago

Eris7090 commented 2 years ago

Describe the bug A clear and concise description of what the bug is. I cannot build from source because of missing dependencies which are not in fedora repos

Desktop:

Configuration: Please upload your copy of /usr/local/etc/replay-sorcery.conf (/usr/etc/replay-sorcery.conf on Arch) and a copy of ~/.config/replay-sorcery.conf if it exists.

N/A not built yet

Logs: Please run journalctl --user -eu replay-sorcery -n 100 > replay-sorcery.log and upload the result.

N/A not built yet

I'm trying to build it but I'm faced with missing dependencies


cmake -B bin -DCMAKE_BUILD_TYPE=Release
-- Checking for modules 'libavutil;libavformat;libavdevice;libavcodec;libavfilter'
--   Package 'libavutil', required by 'virtual:world', not found
--   Package 'libavformat', required by 'virtual:world', not found
--   Package 'libavdevice', required by 'virtual:world', not found
--   Package 'libavcodec', required by 'virtual:world', not found
--   Package 'libavfilter', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:603 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:825 (_pkg_check_modules_internal)
  CMakeLists.txt:115 (pkg_check_modules)

-- Configuring incomplete, errors occurred!

I tried to install them with

dnf install libavutil libavformat libavdevice libavcodec libavfilter

but I guess fedora repos are missing libavutil libavformat libavcodec libavfilter. The only one I have is libavdevice

How do I get these missing dependencies on fedora

Eris7090 commented 2 years ago

Also I want to clarify I do have ffmpeg installed from rpm-fusion

Eris7090 commented 2 years ago

Nvm I'm an idiot I just needed to install ffmpeg-devel

sudo dnf install ffmpeg-devel