ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.89k stars 286 forks source link

Compiling Box64 in Termux. #1108

Closed BloodANGELdb closed 11 months ago

BloodANGELdb commented 11 months ago

Compiling Box64 in Termux produces the following errors. What am I doing wrong and how can I solve this problem? Screenshot_2023-12-04-09-33-59-077_com.termux.jpg

ptitSeb commented 11 months ago

That's just 2 warning here, the errors are not actually shown on the screenshot

mcagabe19 commented 11 months ago

try cmake .. -DTERMUX=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-17 -DARM_DYNAREC=ON (not in chroot/proot)

mcagabe19 commented 11 months ago

@BloodANGELdb install libandroid-spawn and recompile

BloodANGELdb commented 11 months ago

@BloodANGELdb install libandroid-spawn and recompile

Thanks, it worked to compile, but there are still a lot of warnings...

mcagabe19 commented 11 months ago

Thanks, it worked to compile, but there are still a lot of warnings...

it's due box(64/86) writen for gcc and clang is different

RajDave-Dev commented 10 months ago

Screenshot_20240108-115738

@ptitSeb I am getting this error in the recent commit, I am compiling it on termux without proot, I had ran the cmake command you gave in earlier comments

mcagabe19 commented 10 months ago

@RajDave-Dev you not have libandroid-sysv-semaphore installed

RajDave-Dev commented 10 months ago

@RajDave-Dev you not have libandroid-sysv-semaphore installed

It worked after installation. Thanks