moritz-wundke / Boost-for-Android

Android port of Boost C++ Libraries
MIT License
1.01k stars 483 forks source link

windows does not compile #240

Open wangrentao opened 2 years ago

wangrentao commented 2 years ago

D:\Download\boost_android\Boost-for-Android-master>build-android.bat D:/Download/AndroidNDK/android-ndk-r18b MSYS found. Running ./build-android.sh expr: warning: unportable BRE: ^\\([^\\-].*\\)$': using^' as the first character of the basic regular expression is not portable; it is being ignored To follow build in another terminal, please use: tail -F /d/Download/boost_android/Boost-for-Android-master/logs/myst-log-20060.log Building boost version: 1.78.0 sed: invalid option -- E Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent suppress automatic printing of pattern space -e script, --expression=script add the script to the commands to be executed -f script-file, --file=script-file add the contents of script-file to the commands to be executed -c --nocr turn off \r$ translation; must be first switch on command line --help display this help and exit -V, --version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read.

E-mail bug reports to: bug-gnu-utils@gnu.org . Be sure to include the word sed'' somewhere in theSubject:'' field. Detected Android NDK version Undefined or not supported Android NDK version:

wangrentao commented 2 years ago

r23b doesn't work either

AhmedX6 commented 2 years ago

Need help too ... I tried 1.74, not working too... Can you post your command line ?

Ibernato93 commented 2 years ago

@AhmedX6 i develop an android project websocket native. I used websocketpp that includes boost https://github.com/Ibernato93/NativeWebSocket If you don't want to use websocketpp. Take it out and use boost which is already included.