drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.3k stars 1.08k forks source link

About ARM architecture #1359

Open songguanqing opened 2 years ago

songguanqing commented 2 years ago

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.

rbugajewski commented 2 years ago

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.

wenwen2101 commented 1 year ago

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

Mis1eader-dev commented 11 months ago

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?