[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Build UHD and GNUradio in Android

From: Philip_liu
Subject: [Discuss-gnuradio] Build UHD and GNUradio in Android
Date: Thu, 22 Nov 2018 16:34:52 +0800

Hi all,

I was setup and building dependencies by follow this page,https://wiki.gnuradio.org/index.php/GRAndDeps#Older_Boost_.281.55.29_for_Android.It report an error when I was trying to build boost,I show the text below.

address@hidden:/opt/grandroid/boost_1_58_0$ ./bootstrap.sh
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... /usr
Backing up existing Boost.Build configuration in project-config.jam.1
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
   - Getting started guide: 
   - Boost.Build documentation:

address@hidden:/opt/grandroid/boost_1_58_0$ ./b2 \
>   --without-python --without-container --without-context \
>   --without-coroutine --without-graph --without-graph_parallel \
>   --without-iostreams --without-locale --without-log --without-math \
>   --without-mpi --without-signals --without-timer --without-wave \
>   link=static runtime-link=static threading=multi threadapi=pthread \
>   target-os=linux --stagedir=android --build-dir=android \
>   stage
/opt/grandroid/boost_1_58_0/tools/build/src/tools/gcc.jam:121: in gcc.init from module gcc
error: toolset gcc initialization:
error: version 'android' requested but 'g++-android' not found and version '4.8' of default 'g++' does not match
error: initialized from /opt/grandroid/boost_1_58_0/tools/build/src/user-config.jam:26
/opt/grandroid/boost_1_58_0/tools/build/src/build/toolset.jam:43: in toolset.using from module toolset
/opt/grandroid/boost_1_58_0/tools/build/src/build/project.jam:1026: in using from module project-rules
/opt/grandroid/boost_1_58_0/tools/build/src/user-config.jam:26: in modules.load from module user-config
/opt/grandroid/boost_1_58_0/tools/build/src/build-system.jam:249: in load-config from module build-system
/opt/grandroid/boost_1_58_0/tools/build/src/build-system.jam:389: in load-configuration-files from module build-system
/opt/grandroid/boost_1_58_0/tools/build/src/build-system.jam:524: in load from module build-system
/opt/grandroid/boost_1_58_0/tools/build/src/kernel/modules.jam:289: in import from module modules
/opt/grandroid/boost_1_58_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/opt/grandroid/boost_1_58_0/boost-build.jam:17: in module scope from module

The system is Ubuntu 18.04,and I built a UHD( v3.13.1.0-rc1)and GNUradio( v3.13.1.0-rc1),I had looked for some help,they said ndk r10c cannot coexist with boost 1.58,so I tried ndk r16b,it seems nothing changed.

Best Regard,
Philip Liu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]