asfengd.blogg.se

Astrometry net compile
Astrometry net compile










  1. #ASTROMETRY NET COMPILE FULL#
  2. #ASTROMETRY NET COMPILE FOR ANDROID#

Shorty I replaced the call of the binary. It's a dirty hack simply to get the things working on my system, but Makefile shouldn't try to re-create it, right? You could also probably just create your own astrometry/includeįile containing the contents you want. Triage notifications on the go with GitHub Mobile for iOS Reply to this email directly, view it on GitHub You are receiving this because you were mentioned.

#ASTROMETRY NET COMPILE FULL#

Without modifying that file the test netpbm binary however is built and the build process tries to start it which obviously fails due to invalid exec format.Īnyway, following tools were tested from the suite on a Samsung Galaxy S20+ Android device:įor reference here is the full script I am using to build : #!/bin/shĮxport ANDROID_NDK=$/repos/wcslib-7.7/_deploy_aarch64/lib -lwcs"

#ASTROMETRY NET COMPILE FOR ANDROID#

Now we can plate-solve on Android devices! It's time to build a nice GUI app around the binaries :)īTW, I had to hack a little bit util/Makefile because a rule defined there prevents to include netpbm for Android into even when netpbm CFLAGS/LIBS are correctly defined. Not sure, which one of the above helped, but the error is now GONE and astrometry-engine does its job without problems!!! When needed, I can upload somewhere the complete build of and dependencies, means all the binaries, if you want to try interesting, I just rebuilt the whole using the below variables:ĪRCH_FLAGS="-march=armv8.3a -mtune=generic" Is there any way, trick, command-line switch, or whatever to workaround the above? So my question is, why the astrometry-engine can't allocate memory for its whatever stuff? On my device, I have 8 GB of RAM and at the moment I tried the above, I had more than 4 GB free. Set odds ratio to solve to 1e+09 (log = 20.7233) Index name ".//data/index-4118.fits" is readable, using as index filename The result is always the same, no matter, how the astrometry-engine was called: Index name ".//data/index-4118.fits" is readable, using as index filename Then I just tried only the astrometry-engine tool with that AXY file and only one index file like this:Īstrometry-engine -v -c none -i. Tried plate-solving on one test fits image but unfortunately, it failed at the astrometry-engine tool. Long story short, I copied all the built stuff and some index files to my Samsung Galaxy S20+ rooted device to test it in the Terminal application. Yes, it is possible to build it for Android, however, it's a bit tricky and takes a while! I just build (including all its dependencies, except python) for the Android Aarch64 platform using the latest Android NDK.












Astrometry net compile