Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error when exec ndk-build #100

Open
ObesityChow opened this issue Jul 11, 2017 · 4 comments
Open

Error when exec ndk-build #100

ObesityChow opened this issue Jul 11, 2017 · 4 comments

Comments

@ObesityChow
Copy link

output:
Android NDK: WARNING:jni/Android.mk:torchdemo: non-system libraries in linker flags: -lluaT -lluajit -lTH -lTHNN -lnn -ltorch -lnnx -limage -ltorchandroid -lluaT -lluajit -lTH -lTHNN -lnn -ltorch -lnnx -limage -ltorchandroid

is env set wrong?

@paramsen
Copy link
Contributor

Got to be some more output you can add? I see it tries to load CUDA libs, is CUDA installed properly?

@ObesityChow
Copy link
Author

now i figured out that i missed several .a file like luajit.a, luaT.a, etc. something seems went wrong when i build them

do u ever have built libtorchdemo.so file?

@paramsen
Copy link
Contributor

I'm unsure if the demo works, I spent a day to solve everything before getting it to build. I believe I ended up copying some files manually, might be them. At least; if it succeeds to build torch-android all the necessary files exist

@ObesityChow
Copy link
Author

so can torchdemo.so build?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants