I got a problem when I am trying to compile the Android source code. I follow the README in InfiniTAM/android and just skip the step of "Create a keystore". Then when I try to build the library based on Android.mk. I found an error as follows:
I have successfully built the InfiniTAM in my laptop, but here I got an error as nvcc fatal : Unknown option 'target-cpu-arch'. Do you have any idea how to fix it?
Hello,
I got a problem when I am trying to compile the Android source code. I follow the README in InfiniTAM/android and just skip the step of "Create a keystore". Then when I try to build the library based on Android.mk. I found an error as follows:
/usr/local/cuda-8.0/bin/nvcc -ccbin /home/dan/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/gen_standalone/bin/arm-linux-androideabi-g++ -target-cpu-arch=ARM -m32 -arch=sm_30 -O3 -Xptxas '-dlcm=ca' -target-os-variant=Android --use_fast_math -c -o "Engine/DeviceSpecific/CUDA/ITMColorTracker_CUDA.o" "Engine/DeviceSpecific/CUDA/ITMColorTracker_CUDA.cu" nvcc fatal : Unknown option 'target-cpu-arch' Android.mk:25: recipe for target 'Engine/DeviceSpecific/CUDA/ITMColorTracker_CUDA.o' failed make: *** [Engine/DeviceSpecific/CUDA/ITMColorTracker_CUDA.o] Error 1
I have successfully built the InfiniTAM in my laptop, but here I got an error as nvcc fatal : Unknown option 'target-cpu-arch'. Do you have any idea how to fix it?
Thanks a lot!