Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for Android #186

Closed
infinityplusb opened this issue May 16, 2024 · 2 comments
Closed

Building for Android #186

infinityplusb opened this issue May 16, 2024 · 2 comments
Labels

Comments

@infinityplusb
Copy link

Hi
I'm using dlib in a visualisation engine I'm attempting.
When I run

dub --compiler=ldc2 --arch=aarch64-*-linux-android --config=android-64

I get the following error

...
    Building dlib 1.2.1: building configuration [library]
/home/brian/.dub/packages/dlib/1.2.1/dlib/dlib/filesystem/posix/common.d(45,23): Error: undefined identifier `lseek64`, did you mean alias `lseek`?
/home/brian/.dub/packages/dlib/1.2.1/dlib/dlib/filesystem/posix/common.d(46,22): Error: undefined identifier `open64`, did you mean alias `open`?
/home/brian/.dub/packages/dlib/1.2.1/dlib/dlib/filesystem/posix/common.d(47,23): Error: undefined identifier `stat64`, did you mean alias `stat_`?

I'm using the library solely for the maths and matrix calcs, so having this working would avoid me having to build my own.
Is this something easy to fix, or a profound amount of changes?

@infinityplusb
Copy link
Author

Should be mentioned, it works fine and compiles on Linux

dub --compiler=ldc2

@gecko0307
Copy link
Owner

gecko0307 commented Jun 3, 2024

ARM/Android support is not planned at the moment (maybe in dlib 2.0, but even then, only partial ARM port is theoretically possible)

@gecko0307 gecko0307 reopened this Jun 3, 2024
@gecko0307 gecko0307 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants