haxenme / nme

A cross-platform native backend for Haxe projects
MIT License
480 stars 123 forks source link

Can't compile android 64 bit #312

Closed codeservice closed 5 years ago

codeservice commented 8 years ago

Latest hxcpp support android 64 bit. I found libraries for 64 bit in android-21 NDK. NME build.xml does not include it for proper compilation. build.n automatically include this 64 bit target and always fail for NME. I excluded this compilation from hxccp as temporary solution. It will be great fix this issue.

codeservice commented 8 years ago

I successfully recompile nme-dev libs with new hxcpp 3,3,49 and for some reason nme can't link it for arm64:

thomasuster commented 6 years ago

Hey @codeservice , any update on this?

codeservice commented 6 years ago

Hi, I am not actively developing on nme now. Also, because of low nme development activity and silence gaps in project communication my version of nme become very different to original and it will be really hard for me to merge it. I can look into my code and propose some changes when I have time. For this issue I have arm64 Android architecture fix. I’ll check what’s missing in current version...

thomasuster commented 6 years ago

Awesome! Thanks for the update. Feel free to ping me if you want me to help test things.

codeservice commented 6 years ago

So, I checked how I compiled nme to arm64 and why its working with my local custom version of nme. I removed curl and make urlloader based on custom Http.hx file. This file now part of my local nme. We had discussion about removing curl here: https://github.com/haxenme/nme/issues/464

If this right way to go, I can submit my version of haxe Http to nme and update urlloader. I tried compile nme to arm64 long time ago, when nme was based on nme-dev, Maybe native ToolkitBuild can correctly compile curl to arm64 and we don't need to remove curl from nme. This, I don't know, because I am not using curl anymore.

hughsando commented 6 years ago

I think http.hx is better than curl. One less thing to worry about, and we can put all effort into http, which hxcpp needs anyhow.

codeservice commented 6 years ago

Ok, I am posting my changes to nme first. This also require few fixes in hxcpp part, few problems with sockets.

thomasuster commented 5 years ago
Screen Shot 2019-05-12 at 7 31 57 PM
thomasuster commented 5 years ago

+1 on feature request

codeservice commented 5 years ago

Curl was updated to new version and confirmed can be compiled to android arm64 bit.