AliceVision
AliceVision copied to clipboard
cc: error: unrecognized command line option ‘-m64’
My device is Nvidia Jetson TX2, Ubuntu 20, aarch64
I followed the instructions in this link and encountered many "cc: error: unrecognized command line option '- m64'" errors when executing the make -j6
command
How can I solve this error? Is there any discussion about ARM version compilation
abcdefz@ubuntu:/home/tf/aa/build$ make [ 0%] Performing build step for 'geogram' [ 0%] Building C object src/lib/geogram/third_party/CMakeFiles/geogram_third_party.dir/zlib/adler32.c.o cc: error: unrecognized command line option ‘-m64’ make[5]: *** [src/lib/geogram/third_party/CMakeFiles/geogram_third_party.dir/build.make:76: src/lib/geogram/third_party/CMakeFiles/geogram_third_party.dir/zlib/adler32.c.o] Error 1 make[4]: *** [CMakeFiles/Makefile2:711: src/lib/geogram/third_party/CMakeFiles/geogram_third_party.dir/all] Error 2 make[3]: *** [Makefile:156: all] Error 2 make[2]: *** [CMakeFiles/geogram.dir/build.make:86: external/src/geogram-stamp/geogram-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:158: CMakeFiles/geogram.dir/all] Error 2 make: *** [Makefile:91: all] Error 2