Skip to content
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

Build error on termux app #963

Closed
321qwedsa000 opened this issue Aug 8, 2021 · 1 comment · Fixed by #964
Closed

Build error on termux app #963

321qwedsa000 opened this issue Aug 8, 2021 · 1 comment · Fixed by #964

Comments

@321qwedsa000
Copy link

When I build drogon on "make install" command, cause a build error.
When I first enter termux. I entered these commands.

Build Dependencies

pkg update
pkg install git
pkg install build-essential
pkg install jsoncpp-static
pkg install libuuid
pkg install zlib-static
pkg install openssl-static
git clone https://github.com/drogonframework/drogon
cd drogon
git submodule update --init
mkdir build
cd build
cmake ..
make && make install
I think its possible building success. However I got these errors!!

Screenshot_20210808_135249
Screenshot_20210808_135300
Screenshot_20210808_135309
Screenshot_20210808_135327

Smartphone:

  • Device: VIVO 2010
  • OS: Android
  • Browser : Google Chrome
  • Version : 9

Additional context
But I try build on ubuntu virtual machine it work well.
pkg install proot-distro
proot-distro install ubuntu-20.04
proot-distro login ubuntu-20.04
And following these installation it work:https://github.com/drogonframework/drogon/wiki/ENG-02-Installation

@marty1885
Copy link
Member

The issue is that Android NDK has shady C++ support. It does have the filesystem header but doesn't ship the library (android/ndk#609). I think I'll add a workarround in CMake to force boost on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants