forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi there,
I ran into some issues compiling it in a Podman container as there seems to be a few things missing from the build instructions.
Here's what I did, so far:
- Clone all repos to a folder (in my case
~/git) - Start a Fedora 42 container in Podman and mount that directory inside it
podman run -it -v ~/git:/root:Z fedora:42 /bin/bash
- Install all dependencies
dnf install -y nasm autoconf automake libtool pkgconf libtool-ltdl-devel ninja-build python3-jinja2 cmake make gcc gcc-c++ curl zip unzip tar git libX11-devel libXft-devel libXext-devel wayland-devel libxkbcommon-devel ibus-devel mesa-libEGL-devel diffutils perl-open perl-FindBin libatomic
- Prepare vcpkg and configure the project (remember, I am running this in a container, so everything is as root, but that's OK)
cd /root/vcpkg
export VCPKG_ROOT=$(pwd)
./bootstrap-vcpkg.sh
export PATH="$PATH:$VCPKG_ROOT"
mkdir /root/CnC_Generals_Zero_Hour/build
cd /root/CnC_Generals_Zero_Hour/build
cmake --preset=default -DVCPKG_INSTALL_OPTIONS="--allow-unsupported" -DSAGE_USE_SDL3=ON ../
- After that's done, enter the
defaultfolder and compile the binary
cd /root/CnC_Generals_Zero_Hour/build/default
cmake --build . --config Release
This does result in a folder with the RTS binary in it, but so far I haven't been able to start it on my Fedora system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels