-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add support for running Linux on ARM (e..g Raspberry Pi) #721
Comments
Closing this as a duplicate of #509. |
Re-opened after discussion that this is not the same as UWP |
+1 |
+1. If Realm supports .NET Core, it'll be cross platform by default and will run on all 3 platforms seamlessly. Would love to use it in Desktop based application. |
No it won't - we have a native C++ engine (which, confusingly, we refer to as our Core ). There is nothing in .NET Core which makes that go away - we will still need to build that engine for any given platform. |
Ah yeah, either you write that engine in .NET core which might not be a good idea or you build for each platform as you mentioned. Fair enough. |
it will be better if java version can support PC. |
To provide some clarity .Net Core will not resolve all problems this initial request of mine set out to resolve. Currently .Net Core is not supported on Raspberry Pi. Per meetups, it is my understanding MS intends to bring it back but there is no ETA. Also, while I am sure it is still Raspbian behind the scenes, the new OS for Raspberry Pi is branded PIXEL now. Just in case there is any confusion. I would still like to see this happen for desktop/self-hosting scenarios for what it is worth. |
Regarding hacking on Pi - in case people hadn't realised, the entire core is also open source and a good start for any platform would be to get that ported, if it is a platform you don't think we will get to in a desired timeframe. The other C++ layer on top of that is object store. There are parts of the server and sync code which remain proprietary but a clean job of porting the above two would be a time-saver and major proof of seriousness from the Pi community ;-) (wholly personal opinion from just another engineer) |
➤ Brian Munkholm commented: Unblocked. Realm is now compiled for RPi and a release is available for Realm-JS. |
Just had a need for this to work on a project published for |
Hello, I have the same exact requirement. Not only for Raspbery pi, but for other SBC arm devices (arm and arm64) I'm currently on a leave so I don't have a raspberry with me, only a nano pi nano 2 (arm64). Hope the following instructions might help others and hopefully, manage to become a starting point for this library to supply them out-of-the-box!
Notes:
Now, regarding Arm 32 bits (default/recommended by raspbian until very recently)... As I mentioned, during this month, I don't have with me a board. I've tried to repeat the same process for arm, but in the centos image, for some reason, I've kept getting segmentation fault errors. Edit Just got my hands on a Pi4 and the binary generated using the last image was not working due to older libs in the raspbian versus the ones in ubuntu 22.04.
I've updated the Docker file using another version of ubuntu and this time it is working properly in the Pi hardware.
Hope this helps! Regards |
I just noticed this one, which probably also would benefit from this: realm/realm-dart#1064 Are there other projects which also would need that? |
Supporting dart on aarch64 is not a high priority right now, though if any work done on .NET makes it easier, that will be nice. |
Hello! I saw this issue had the |
You can build the binaries yourself. Try to use the instructions I left a few comments above. |
Yeah, we've considered this but in the end we'd prefer to just have a solution that's officially supported by the Realm team. While it is possible its probably not viable for us to maintain if something goes wrong with it. |
Goal
Use of realm in a self hosted asp.net console application (ultimately to be ran on mono via Raspberry Pi)
Expected Results
Realm to be compatible and not throw unsupported exceptions
Xamarin/Visual Studio version: Vs 2015
Which operating system version and device: Windows 10/raspbian
The text was updated successfully, but these errors were encountered: