Errors When Compiling GZDoom From Source on Fedora 39

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Post Reply
FlayMeAlive
Posts: 1
Joined: Tue Mar 12, 2024 2:41 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Fedora 39 (KDE Plasma Environment)

Errors When Compiling GZDoom From Source on Fedora 39

Post by FlayMeAlive »

Hello, I am attempting to compile GZDoom from source on Fedora 39, as the title states; however, when attempting to do so, I get these errors :

FMA@fedora:~/gzdoom_build/gzdoom $ a='' && [ "$(uname -m)" = x86_64 ] && a=64
c="$(lscpu -p | grep -v '#' | sort -u -t , -k 2,4 | wc -l)" ; [ "$c" -eq 0 ] && c=1
cd ~/gzdoom_build/gzdoom/build &&
rm -f output_sdl/liboutput_sdl.so &&
if [ -d ../fmodapi44464linux ]; then
f="-DFMOD_LIBRARY=../fmodapi44464linux/api/lib/libfmodex${a}-4.44.64.so \
-DFMOD_INCLUDE_DIR=../fmodapi44464linux/api/inc"; else
f='-UFMOD_LIBRARY -UFMOD_INCLUDE_DIR'; fi &&
cmake .. -DCMAKE_BUILD_TYPE=Release $f &&
make -j$c
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find VPX (missing: VPX_LIBRARIES VPX_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:218 (find_package):
By not providing "FindWebP.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "WebP", but
CMake did not find one.

-------------------------------------------------------------------------------------------------

Could not find a package configuration file provided by "WebP" with any of
the following names:

WebPConfig.cmake
webp-config.cmake

Add the installation prefix of "WebP" to CMAKE_PREFIX_PATH or set
"WebP_DIR" to a directory containing one of the above files. If "WebP"
provides a separate development package or SDK, be sure it has been
installed.

-------------------------------------------------------------------------------------------------

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5")
-- Checking for module 'libwebp'
-- Package 'libwebp', required by 'virtual:world', not found
CMake Error at CMakeLists.txt:223 (message):
libwebp not found

-------------------------------------------------------------------------------------------------

-- Checking for module 'libwebpmux'
-- Package 'libwebpmux', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
CMakeLists.txt:225 (pkg_check_modules)

I'm unsure of what to make of this. I've tried to look for this error on the forums, but nothing came up. I'm compiling on a Dell Latitude with an Intel Core i5-3340M CPU with
Intel HD Graphics 4000. Any furhter clarification will be given and any help is appreciated.
Professor Hastig
Posts: 256
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Errors When Compiling GZDoom From Source on Fedora 39

Post by Professor Hastig »

That error message tells you that CMake failed to find libVPX and libWebP on your system. Make sure they are installed.
Post Reply

Return to “Technical Issues”