zhad3 / zrenderer

A renderer for Ragnarok Online sprites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to copile on WSL

SapitoSucio opened this issue · comments

Hello there,

I activated the WSL on my win 11, I installed Debian on it.

I tried to compile but no success

image

commented

What version of dub are you using?

DUB version 1.22.0-1, built on Aug 8 2020

commented

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.

Which version of dub you recommend sir?

Also, I changed openssl to 3.2.0 and I'm getting this after running dub build --compiler=ldc2 --build=release :server
image

commented

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

Thank you for your reply

It actually started compiling now, it went tru for about 2 mins and then it failed right here
image

commented

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