SFTtech/openage

Fix Ubuntu Dependency installation script

Opened this issue · 5 comments

Dependency installation scripts fail for Ubuntu.

sudo apt-get install g++ cmake cython3 libeigen3-dev libepoxy-dev libfontconfig1-dev libfreetype-dev libharfbuzz-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libtoml11-dev python3-dev python3-mako python3-numpy python3-lz4 python3-pil python3-pip python3-pygments python3-toml qml6-module-qtquick-controls qt6-declarative-dev qt6-multimedia-dev  qml6-module-qtquick3d-spatialaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libtoml11-dev
E: Unable to locate package qml6-module-qtquick-controls
E: Unable to locate package qt6-declarative-dev
E: Unable to locate package qt6-multimedia-dev
E: Unable to locate package qml6-module-qtquick3d-spatialaudio

which ubuntu version are you on?

which ubuntu version are you on?

Ubuntu 20.04.6 LTS

Is it not supported? Just saw that the pre-req steps are only for 22.04 and above.

Ubuntu 20.04 doesn't support Qt6 at all, so it makes sense that the dependencies fail. We currently support the Ubuntu version that's in the build instructions (Ubuntu >22.04). Is there any reason why you have not upgraded yet? If not, this might be a good time.

Thanks @heinezen for the clarification.
I think we should add a note for it here?

I'll raise a PR for the change if its alright

Sure, I don't think it would hurt to specify the minimum version.