User forums > Help

build and run

(1/1)

jj_hh:
I am stuck at this ‘build and run’ function. I really hope someone can help me out. When I click the 'build and run' button, I receive the following error in my terminal (mac):

'/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/jeroen/Desktop/giraffe/bin/Debug/giraffe '
jeroen@MacBook-Air-Jeroen ~ % '/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/jeroen/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/jeroen/Desktop/giraffe/bin/Debug/giraffe
jeroen@MacBook-Air-Jeroen ~ % /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/jeroen/Desktop/giraffe/bin/Debug/giraffe

However, when I just enter the following command (directory) in my terminal:

/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/jeroen/Desktop/giraffe/bin/Debug/giraffe

It does give me the “Hello World” output in my terminal.

Obviously, this is quite annoying. Hence, my question is: Does anyone know how I could run my code by just using the ‘build and run’ function?

BlueHazzard:
I think this is some limitation (bug) of the mac version... did you searched the forum?

jj_hh:
I did, but so far I found one similar question with no clear response.

BlueHazzard:
maybe the user Xaviou can help you?

jj_hh:
Thanks, I will send him a PM!

Navigation

[0] Message Index

Go to full version