Skip to content
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

cc: error: unrecognized command line option ‘-m64’ #1734

Open
ABCDEFZ-jk opened this issue Aug 25, 2024 · 1 comment
Open

cc: error: unrecognized command line option ‘-m64’ #1734

ABCDEFZ-jk opened this issue Aug 25, 2024 · 1 comment

Comments

@ABCDEFZ-jk
Copy link

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

@servantftechnicolor
Copy link
Contributor

I don't think the current cmake is ready for ARM.

@simogasp modified the cmake for Apple ARM new cpus but that is not a generic ARM target.

I personally don't have any ARM device available currently, so i can't help.

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

No branches or pull requests

2 participants