-
Operating SystemOther (please specify) DevilutionX version1.5.1 DescribeIm trying to build a new version on Debian Buster 10 instead using of version 1.3.0 right now it fails with this error To Reproducecheck to see if all dependency are installed sudo apt-get install cmake g++ libsdl2-dev libsodium-dev libpng-dev libbz2-dev libgtest-dev libgmock-dev libsdl2-image-dev libfmt-dev get the game files git clone https://github.com/diasurgical/devilutionX.git Expected Behaviorfor it to build Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 4 replies
-
If you are not actually trying to use the unit tests (which if you are just trying to play the game you aren't) just add -DBUILD_TESTING=OFF to the first cmake command |
Beta Was this translation helpful? Give feedback.
-
thank you, that was it for that error now i have a new one
|
Beta Was this translation helpful? Give feedback.
-
Looks the compiler is gnu 8.3.0, but span doesn't exist until gnu 10.1 |
Beta Was this translation helpful? Give feedback.
-
ahh, ok, ill see if i can get a newer version installed, |
Beta Was this translation helpful? Give feedback.
-
1.4.1 should also work. But 1.5.0+ requires a C++20 capable compiler. If you are running the 64bit version then you can just download the latest release for ARM64: https://github.com/diasurgical/devilutionX/releases/download/1.5.1/devilutionx-linux-aarch64.tar.xz |
Beta Was this translation helpful? Give feedback.
-
No unfortunately I'm not running the 64bit. I did try 1.4.0 release that was made but it came up with a error about a dependency was not high enough for it to run So I thought if I could possibly compile a newer release that would work then 1.3.0 Can I ask why was my issue closed. Did I do something wrong? |
Beta Was this translation helpful? Give feedback.
-
He closed it because there's nothing that we are going to change and there is no issue as this is expected behavior for old compilers that don't support c++20. |
Beta Was this translation helpful? Give feedback.
-
Ok. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hmm, the error indicates that you where trying to build 1.6.0-dev, not 1.5.1. 1.5.1 only requires C++17. If you are using git then don't forget to checkout the version you actually want to build.
Ok, at least building 1.4.1 should work well enough on your current setup as Buster was still supported at the time. For switching to clang as the compiler you can run the two following commands:
The one in Buster looks to be 7.0 which has most of C++17
I suppose I could have also converted it to a conversation instead. On another note I would really suggest upgrading the OS on you Pi, especially with it being a model 4 you aren't getting the full value from it running 32bit Buster (10), it would be much better served with a 64bit Bullseye (11): https://www.raspberrypi.com/software/operating-systems/ Bullseye comes with GCC 10.2 and Clang 11.0 |
Beta Was this translation helpful? Give feedback.
-
If you want you can change it over to a discussion or I can open one. Ahh. Didn't mean to try to build 1.6.1 was trying to build 1.5.0. Do I used git checkout 1.5.1 after I use git clone to download the repo? I would love to upgrade my os. But I'm using Retropie. |
Beta Was this translation helpful? Give feedback.
-
so i did that and it works. here is what i used to make sure i did everything right
that look good? |
Beta Was this translation helpful? Give feedback.
-
is there a way for me to check on what version i got to build. git checkout 1.5.1 does not work so im trying a different way and i would like to verifywhat i did worked or not |
Beta Was this translation helpful? Give feedback.
-
it did work, but how retropie automates the install scripts useing i have 1.5.1 on my menu screen, thanks again for your help. |
Beta Was this translation helpful? Give feedback.
so i did that and it works.
here is what i used to make sure i did everything right
that look good?