SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.79k stars 1.13k forks source link

Fix Ubuntu Dependency installation script #1629

Open Pranshu-S opened 8 months ago

Pranshu-S commented 8 months ago

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
TheJJ commented 8 months ago

which ubuntu version are you on?

Pranshu-S commented 8 months ago

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.

heinezen commented 8 months ago

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.

Pranshu-S commented 8 months ago

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

heinezen commented 8 months ago

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