-
Notifications
You must be signed in to change notification settings - Fork 509
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
Linux ARM64 Support for CMake #2699
Comments
After applying the above changes to the SDK while building MEGASync I run into the issue with Google Breakpad (meganz/MEGAsync#801), but once that and this are resolved it should be enough to build ARM64 MEGASync on Linux. |
Hi, @thurask Thanks for your contribution. We have created a ticket to ensure that the SDK builds successfully with CMake for Linux on ARM64. It's expected to be included soon. For the reference, the ticket id is SDK-4756. |
@thurask Thanks for the above, compiling on Ubuntu 24.04 the compilation completes without errors, however when attempting to run the mega-cmd-server the system reports an error: mega-cmd-server: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory There is a newer version on libicuuc on the system (downgrading is not an option), what needs to be changed in the code to leverage the newer libraries? |
I think you might need to run ldconfig as root if I remember correctly. |
I'm attempting to get MEGASync built from source on Raspberry Pi OS Bookworm ARM64 on a Raspberry Pi 5, as currently configured the build breaks because there is no ARM64 Linux target for CMake inside the SDK. I whipped up a quick CMake triplet file that does build with default options,
cmake/vcpkg_overlay_triplets/arm64-linux.cmake
:As well as the necessary edit to
cmake/modules/vcpkg_management.cmake
:In order for this to build the only deviations from the README instructions are to:
VCPKG_FORCE_SYSTEM_BINARIES=1 cmake -DVCPKG_ROOT=vcpkg -DCMAKE_BUILD_TYPE=Release -S sdk -B build_dir
cmake
andninja-build
because of above; I also installed kernel headers just in case.Without the force system binaries VCPKG complains that it's necessary on ARM and S390 platforms.
Build output attached.
cmake_config.txt
cmake_make.txt
The text was updated successfully, but these errors were encountered: