dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
662 stars 186 forks source link

Compile astrometry-net on Sipeed Maix Dock board #192

Closed DanielRichart closed 4 years ago

DanielRichart commented 4 years ago

Hi,

I am developing a project using the astrometry-net code and so far i am using a raspberry pi. I followed the installation instructions of the astrometry website and managed to run it successfully.

Now, on a new phase of the project, i am trying to compile the code on a Sipeed Maix Dock board, with risc-v architecture. I've already tried using cmake to cross compile the project using the riscv-toolchain, but unsuccessfully. Do you have any idea if i can compile astrometry in riscv, and how to do it?

Thanks a lot, Daniel Richart

dstndstn commented 4 years ago

No idea -- you might want to try posting on the forum ( https://groups.google.com/forum/#!forum/astrometry) in case anyone there has some experience there.

If you have a compile error, I can try looking into it. The code is known to work on a variety of POSIX platforms with different CPUs, but I'm not familiar with this board. What OS does it run?

On Fri, Jul 10, 2020 at 12:34 PM DanielRichart notifications@github.com wrote:

Hi,

I am developing a project using the astrometry-net code and so far i am using a raspberry pi. I followed the installation instructions of the astrometry website and managed to run it successfully.

Now, on a new phase of the project, i am trying to compile the code on a Sipeed Maix Dock board, with risc-v architecture. I've already tried using cmake to cross compile the project using the riscv-toolchain, but unsuccessfully. Do you have any idea if i can compile astrometry in riscv, and how to do it?

Thanks a lot, Daniel Richart

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dstndstn/astrometry.net/issues/192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIEH7MZRFHGXP7KWI5QMJTR247JHANCNFSM4OWX4XCA .

DanielRichart commented 4 years ago

I've posted on the forum, thanks! Hope someone there has experience with this board.

The Sipeed Maix Dock board has a K210 microcontroller, and a RISC-v 64bit CPU. It has an IDE in which is possible to write in micropython, and binary files can be flashed in its memory. I think that is also possible to run a linux 0.11 in it. The board can also be programmed in the arduino IDE. I was trying to use it with the astrometry code, but it had a ton of include errors. I guess the folders of the astrometry project and the dependencies between its files weren't included correctly.

Cheers, Daniel

dstndstn commented 4 years ago

Okay, I'm going to close this issue for now; let's have the conversation on the forum, at https://groups.google.com/forum/#!topic/astrometry/6I_aV8iEXt0