drogon icon indicating copy to clipboard operation
drogon copied to clipboard

About ARM architecture

Open songguanqing opened this issue 3 years ago • 3 comments

Hello, please tell me how to compile the Library under the arm architecture. Recently, I need to develop an application on hololens2,so I need to compile a dragon library that can be used in the arm architecture. But in the document, I got nothing about this. Please give me some guidance. Should I compile the code directly with VS project? Or cmake? Or vcpkg? Look forward to your reply.

songguanqing avatar Aug 23 '22 03:08 songguanqing

You can compile the project with CMake. Personally I cross-compile to iOS, and let CMake create the Xcode project, without any issues or specific treatment of the framework. There is really nothing special about compiling Drogon for ARM natively, if you are already on the ARM architecture, or to cross-compile the project. In the latter case the usual gotchas apply when cross-compiling.

rbugajewski avatar Aug 23 '22 07:08 rbugajewski

I can not compile the project with arm64 ,but x86 works

wenwen2101 avatar Aug 04 '23 08:08 wenwen2101

I can not compile the project with arm64 ,but x86 works

I have compiled drogon on a Raspberry Pi 3B+ running Raspberry Pi OS Lite 64-bit (AArch64), do you have drogon dependencies installed?

Mis1eader-dev avatar Sep 18 '23 07:09 Mis1eader-dev