-
Notifications
You must be signed in to change notification settings - Fork 82
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
cuda off demo build error #73
Comments
I have a similar error, though mine fails before yours. (Your error looks like a java 8 error, maybe? Like, there's java 8 code somewhere that shouldn't be there.) After turning CUDA off (and erasing every instance of "-mfpu=neon" in the repo), torch-android builds, but then the demo fails to build. I get the following warnings and errors:
If I modify jni/Android.mk and move the specified libraries out of the LOCAL_LDLIBS line and into a new line
|
For the record: the description of my failure and process holds true now also for a fresh Ubuntu VM installation. Is there anybody who can actually compile and compile with torch-android, now? If so, how? |
Please pull and try again. Both lib and the app is now set to same arch by default (v8a), change if needed. |
Well, it's further along, now. Torch-android builds fine, now. The demo, I have to add folders under android-demo/libs in order to store the .so files it tries to copy there, but then it builds. When I run it on an emulator of the appropriate abi, though, I get the following:
|
This is pretty old, but refer to my comment in issue #92 in order to run the demo without CUDA. It should be noted that the demo actually tests the CUDA libs, so you have to modify it in order for it to work without CUDA, instructions are in #92. |
hi,
i am trying to build the torch-android demo w/o CUDA.
main repo build went well but demo project did not.
i was trying to erase all cuda dependencies on mk file and on lua main file, but still i got this attached error log.
log_torch_android_yakir.txt
using Ubuntu 14.04
have installed android studio w/ SDK + NDK
The text was updated successfully, but these errors were encountered: