Failed to copile on WSL
SapitoSucio opened this issue · comments
What version of dub are you using?
DUB version 1.22.0-1, built on Aug 8 2020
Okay, that version is also pretty old.
Anyway I did some testing and this should work:
Edit /server/dub.selections.json
and change the version of openssl
to 3.2.0
.
Might fail to compile anyway if the compiler is also too old. In which case only compiling new versions of the compiler and dub will work. Or doing a cross-compilation.
I have pushed new commits. Please pull them and do the following:
cd server
dub upgrade
cd ..
cd cli
dub upgrade
cd ..
dub build --compiler=ldc2 --build=release :server
Yes, the compiler seems to old. I am using this:
$ ldc2 -version
LDC - the LLVM D compiler (1.29.0):
based on DMD v2.099.1 and LLVM 14.0.6
Yes, the compiler seems to old. I am using this:
$ ldc2 -version LDC - the LLVM D compiler (1.29.0): based on DMD v2.099.1 and LLVM 14.0.6
Will try to install that one and repeat the process