User forums > Help

Code Blocks running on M1 Pro Chip.

(1/1)

sambhav:
Hi everyone,
I'm trying to install codeblocks 17.12 on the 14" Macbook Pro with the M1 Chip.
After installation, when you create an empty file and start typing, an error message pops up.

How do I fix this issue, as I want to run CodeBlocks on the M1 chip.

Thank You.

AndrewCot:
On the MAC please disable the code completion plugin as it causes crashes on the MAC (Windows and Linux are okay).

C::B 17.12 is old.   I am still learning the MAC eco system, so sorry for the asking, but where did you get the ARM Code::Blocks? I have only seen it widely available for for Intel CPU's and there have been some people who have built it for the M1, but it was a nightly not 17.12.
If you want to C::B to debug then currently you will need have a look at the following repo and build C::B in order to get the DAP debugger plugin so you can use it to debug your app until the DAP debugger is included in the SF trunk source code:
https://github.com/acotty/CodeBlocks_Unofficial_Testing
You do not need C::B to build C::B if you use the instructions in the following file:
https://github.com/acotty/CodeBlocks_Unofficial_Testing/blob/master/Readme_Build_MacOS_by_Makefile.txt
I do not have access to an M1/M2 Mac, but if you get stuck please post a followup post so I can try to help.

Navigation

[0] Message Index

Go to full version