Code Monkey home page Code Monkey logo

Comments (12)

ptitSeb avatar ptitSeb commented on May 18, 2024 1

Box64 now have a ANDROID build profile, like box86. With this profile, box64 should be able to build with android NDK and run Android x86_64 binary (not linux x86_64 binary), like box86.

This build is untested, as Android support is minimum (it build, that's all that is checked)

from box64.

ptitSeb avatar ptitSeb commented on May 18, 2024

Not directly for now. But it can run on proot/termux/whatever solution to get linux on android.

from box64.

klaxons1 avatar klaxons1 commented on May 18, 2024

But porting to android in your ToDo?

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

I tried to compile box64 inside termux in my aarch64 phone, and i got a lot of errors from clang. One of them was use of undeclared identifier 'info'

from box64.

ptitSeb avatar ptitSeb commented on May 18, 2024

I haven't tried building box64 with clang. Can you use gcc instead?

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

I haven't tried building box64 with clang. Can you use gcc instead?

I tried using gcc from it's pointless repo, but cmake fails, it might be related to this issue: termux/termux-packages#6960

Screenshot_20210801-214440

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

The only way I can bypass this is by replacing the line include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-GNU) with include(Platform/Android/abi-arm64-v8a-GNU) on $PREFIX/share/cmake-3.21/Modules/Platform/Android-GNU.cmake. And surprisingly enough, there isn't as many errors in GCC compared to Clang, but still, it can't be compiled on Termux until there's some patch to make it work on Termux

Screenshot_20210802-110427

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

There's this video but it uses proot https://youtu.be/TMV3Fp5YhTs

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

I want to make it work on native termux, not just in a prooted linux distro

from box64.

leap0x7b avatar leap0x7b commented on May 18, 2024

Also why is this issue closed? Can someone reopen it again?

from box64.

ptitSeb avatar ptitSeb commented on May 18, 2024

I have reopenned the issue.
The issue is not realy cland/gcc here. It's Android. I didn't noticed this was the "Android" ticket. If you look at box86, the Android build has a lot of #ifdef'd parts, because Android is not 100% linux.

from box64.

oxr463 avatar oxr463 commented on May 18, 2024

See also: termux/termux-packages#7672

from box64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.