-
Notifications
You must be signed in to change notification settings - Fork 16
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
Bad CPU type in executable #75
Comments
Hi, are you using an ARM cpu by any chance?
Mar 22, 2024 10:32:23 Alexs9090909 ***@***.***>:
…
Hi ! I installed the formatter from pypi (pip3 install c-formatter-42), but when i run the command
*c_formatter_42 format_test.c*
i get the following error :
*Writing to format_test.c Error: /opt/anaconda3/lib/python3.11/site-packages/c_formatter_42/data/clang-format-darwin: Bad CPU type in executable*
Any idea how to fix that ? I'm on macOS 14.1.1
Thanks a lot for the good work !
—
Reply to this email directly, view it on GitHub[#75], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AGBTCVPZW73NRJFHFXZI7PTYZP3CJAVCNFSM6AAAAABFC7MDLWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDEMBXGMYDGNI].
You are receiving this because you are subscribed to this thread.
[Tracking image][https://github.com/notifications/beacon/AGBTCVI2D235UWE2JGZFGUTYZP3CJA5CNFSM6AAAAABFC7MDLWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIGQHXZM.gif]
|
I have an M2 processor, so it looks like it's ARM yes |
We do not have a clang-format executable for ARM but you could add it yourself in this directory: https://github.com/dawnbeen/c_formatter_42/tree/master/c_formatter_42/data
Mar 22, 2024 10:58:40 Alexs9090909 ***@***.***>:
…
I have an M2 processor, so it looks like it's ARM yes
—
Reply to this email directly, view it on GitHub[#75 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AGBTCVNBZ6TGXQHYAPL7MYLYZP6E5AVCNFSM6AAAAABFC7MDLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUG42DAMBSG4].
You are receiving this because you commented.
[Tracking image][https://github.com/notifications/beacon/AGBTCVK2POYFLCK24EZZISDYZP6E5A5CNFSM6AAAAABFC7MDLWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYCZ7DW.gif]
|
Ok ! Thanks for your answers ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi ! I installed the formatter from pypi (pip3 install c-formatter-42), but when i run the command
c_formatter_42 < format_test.c
i get the following error :
Any idea how to fix that ? I'm on macOS 14.1.1
Thanks a lot for the good work !
The text was updated successfully, but these errors were encountered: