Comments (12)
elif defined(ARM_EABI) && !defined(__ARM_PCS_VFP)
include arm-linux-gnueabi/python2.7/pyconfig.h
And I try to use:
apt-get install gcc-arm-linux-gnueabi
apt-get install gcc-arm-linux-gnueabihf
There still have problem.
In folder"user/include", only x84_64-linux-gnu folder there have python2.7/pyconfig.h, I want to use this file direct, but there have error.
How can I get arm-linux-gnueabi.
from boost-for-android.
Hi @ll,
i've exactly the same problem.
gcc.compile.c++ bin.v2/libs/python/build/gcc-androidR8e/release/link-static/threading-multi/numeric.o
In file included from ./boost/python/detail/wrap_python.hpp:50:0,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/numeric.hpp:8,
from libs/python/src/numeric.cpp:6:
/usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
compilation terminated.
Enviroment is Ubuntu 14.10 and android-ndk-r9c
Is there any solution for this?
from boost-for-android.
Have you tried it in a different OS?
On Wed, Feb 4, 2015 at 11:20 AM, Ben Gräf [email protected] wrote:
i've exactly the same problem.
gcc.compile.c++
bin.v2/libs/python/build/gcc-androidR8e/release/link-static/threading-multi/numeric.o
In file included from ./boost/python/detail/wrap_python.hpp:50:0,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/numeric.hpp:8,
from libs/python/src/numeric.cpp:6:
/usr/include/python2.7/pyconfig.h:15:52: fatal error:
arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
compilation terminated.Enviroment is Ubuntu 14.10 and android-ndk-r9c
Is there any solution for this?
—
Reply to this email directly or view it on GitHub
#97 (comment)
.
Moritz Wundke
www.MoritzWundke.com
from boost-for-android.
Tested on debian as well.
But adding "--without-python " to ./bjam call in build-android.sh fixed it for me.
from boost-for-android.
If we can confirm the fix and no side effects will appear I'm OK with
integrating it.
On Wed, Feb 4, 2015 at 1:30 PM, Ben Gräf [email protected] wrote:
Tested on debian as well.
But adding "-without-python " to ./bjam call in build-android.sh fixed it
for me.—
Reply to this email directly or view it on GitHub
#97 (comment)
.
Moritz Wundke
www.MoritzWundke.com
from boost-for-android.
Hi Bendr0id,
i'm facing the same problem while building boost1.55 with androidndkr10d on ubuntu 14.04.
I added -without-python \ on line no 142 of build-android.sh ...... but it does not seem to solve the error, can u tell me the fix.
Thanks
from boost-for-android.
Hi Aman,
check line 412.
There is something like this:
{ ./bjam -q \
target-os=linux \
toolset=$TOOLSET \
$cxxflags \
link=static \
threading=multi \
--layout=versioned \
-sICONV_PATH=`pwd`/../libiconv-libicu-android/armeabi \
-sICU_PATH=`pwd`/../libiconv-libicu-android/armeabi \
--prefix="./../$BUILD_DIR/" \
$LIBRARIES \
install 2>&1 \
|| { dump "ERROR: Failed to build boost for android!" ; exit 1 ; }
} | tee -a $PROGDIR/build.log
change it to:
{ ./bjam -q \
target-os=linux \
toolset=$TOOLSET \
$cxxflags \
link=static \
threading=multi \
--layout=versioned \
--without-python \
-sICONV_PATH=`pwd`/../libiconv-libicu-android/armeabi \
-sICU_PATH=`pwd`/../libiconv-libicu-android/armeabi \
--prefix="./../$BUILD_DIR/" \
$LIBRARIES \
install 2>&1 \
|| { dump "ERROR: Failed to build boost for android!" ; exit 1 ; }
} | tee -a $PROGDIR/build.log
from boost-for-android.
Well i did the same, but it terminates with this
Invalid option: -w
usage: ./bjam [ options ] targets...
-a Build all targets, even if they are current.
-dx Set the debug level to x (0-9).
-fx Read x instead of Jambase.
-jx Run up to x shell commands concurrently.
-lx Limit actions to x number of seconds after which they are stopped.
-mx Maximum target output saved (kb), default is to save all output.
-n Don't actually execute the updating actions.
-ox Write the updating actions to file x.
-px x=0, pipes action stdout and stderr merged into action output.
-q Quit quickly as soon as a target fails.
-sx=y Set variable x=y, overriding environment.
-tx Rebuild x, even if it is up-to-date.
-v Print the version of jam and exit.
--x Option is ignored.
ERROR: Failed to build boost for android!
Done!
from boost-for-android.
hmm could be a missing "-"
please try:
--without-python
from boost-for-android.
Thanks Bendr0id,
that extra "-" did the trick
from boost-for-android.
;-)
i updated my posts.
from boost-for-android.
Same problem here; Can confirm fix works (Boost 1.55 on NDK9 within Android AOSP KitKat 4.4).
from boost-for-android.
Related Issues (20)
- Could not find a suitable toolset. HOT 1
- Bump boost version to 1.77 and disable statx syscall HOT 1
- Error before patch, on windows, how to fix? HOT 1
- when Suppport 1.7.7?
- Fixed ndk[19,20,21,22] building failed bug.
- Can you update the shell of 1.77.0 version ,thanks
- Error: No best alternative for libs/context/build/asm_sources HOT 1
- i build boost success but i build project faild HOT 5
- build-boost-without-version-number-suffixes
- Boost 1.74.0 armv7a
- boost_version for 1.72.0
- windows does not compile HOT 3
- "Undefined or not supported Android NDK version: 23.2" on GitHub Actions HOT 2
- fail to identify Windows when using '--with-conv'
- Can't build NDK
- Open source license HOT 2
- How to generate shared libboost_xxxx.so without the version number such as .so.1.74.0 HOT 2
- Please stop requiring approvals for pull requests HOT 3
- Add NDK 26.1 and 26.2 to build-android.sh
- Build Boost 1.70.0 By NDK r21e, product libthread libsystem size is unnormal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-for-android.