Best platform for Android builds #119
SvenCarstensen
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have just tried to create a version for Android. But both under macOS and Linux I get error messages when building mdbx-sys.
Under macOS (M4 Pro):
Compiling mdbx-sys v0.0.0 (/Users/svencarstensen/Entwicklung/Source/flutter/isar/isar/packages/mdbx_sys)
error: failed to run custom build command for
mdbx-sys v0.0.0 (/Users/svencarstensen/Entwicklung/Source/flutter/isar/isar/packages/mdbx_sys)
Caused by:
process didn't exit successfully:
/Users/svencarstensen/Entwicklung/Source/flutter/isar/isar/target/release/build/mdbx-sys-980b6e7dc74ac1cb/build-script-build
(exit status: 101)--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/cdefs.h:1037:2: error: Unsupported architecture
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/machine/_types.h:36:2: error: architecture not supported
Under Linux Mint (aarch64):
Compiling mdbx-sys v0.0.0 (/home/sven/dev/isar/packages/mdbx_sys)
error: failed to run custom build command for
mdbx-sys v0.0.0 (/home/sven/dev/isar/packages/mdbx_sys)
Caused by:
process didn't exit successfully:
/home/sven/dev/isar/target/release/build/mdbx-sys-b837ddd79c06a42f/build-script-build
(exit status: 101)--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
/usr/include/pthread.h:698:6: error: 'regparm' is not valid on this platform
/usr/include/pthread.h:710:3: error: 'regparm' is not valid on this platform
/usr/include/pthread.h:751:6: error: 'regparm' is not valid on this platform
What have I overlooked? Which platform is best suited for creating this?
Thank you very much!
See you then
Sven
Beta Was this translation helpful? Give feedback.
All reactions