Closed c4live closed 8 years ago
Apparently, if I add -DANDROID_NATIVE_API_LEVEL=15
to the build.sh script, the problem goes away! Ok, I will leave the issue open for the time being, so that the mantainers have the time to fix the scripts.
I got problems with include <android/asset_manager.h>
, but I see the same cause here
It seems like https://github.com/soumith/torch-android/blob/master/cmake/android.toolchain.cmake#L242 cause these problems, the default value should be 21 if in accordance with build.sh
Should I PR it maybe?
Sure I'll merge the PR
I have bumped the level in last commits. Please confirm it's fixed.
When I try to build torch, I get the following error:
However, I checked and
__isnanl
is present among the functions when I disassemble libm.a from the Android NDK (version r11b, OSX). Anyone who had the same issue?