Can't run Codeblocks on macos 12.7

Hello everyone!

I recently installed codeblocks (not the latest version because it's not accepted), but I can't run anything. It's opening, I can create files in c/c++. I also have xcode installed. I don't know what to do anymore.


||=== Build file: "no target" in "no project" (compiler: unknown) ===|

||warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]|

||warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument]|

||error: linker command failed with exit code 1 (use -v to see invocation)|

||=== Build failed: 1 error(s), 2 warning(s) (0 minute(s), 0 second(s)) ===|


Posted on Mar 12, 2024 2:26 AM

Reply
1 reply

Mar 12, 2024 3:39 AM in response to IoanC

Code::Blocks stopped macOS development several years ago and it would not be compatible with newer releases of macOS including Monterey 12.7.4.


If you are developing command-line C++ applications, then consider using Apple's clang/clang++ compilers that are in that Xcode installation and /usr/bin/clang++.


To get an idea of what C++ standards are supported:


clang++ foo.cpp --std=x


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't run Codeblocks on macos 12.7

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.