Author Topic: Codeblocks can't build and run on my macOs.  (Read 2314 times)

Offline asggcw

  • Single posting newcomer
  • *
  • Posts: 1
Codeblocks can't build and run on my macOs.
« on: September 23, 2024, 06:43:14 am »
Hello, How can I solve this problem? Please, please help me, anyone? I am new to CS. Could you guys help me to solve this issue: whenever I try to use CodeBlocks to Build and Run my basic "Hello world" program, it gives me this error below:

'/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe '

shuilin@Shuis-MBP ~ % '/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe '

zsh: no such file or directory: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe

shuilin@Shuis-MBP ~ %

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: Codeblocks can't build and run on my macOs.
« Reply #1 on: September 23, 2024, 11:04:00 am »
Use google as there is a page that has the info for fixing the issue you are seeing, BUT debugging will not work. As such you are better trying a different IDE on the MAC that support debugging and has devs that use the MAC.