User forums > Using Code::Blocks

Build but cannot run in Mac

(1/1)

Sire.Wakko:
Hello forum Peeps!

I just switch to an Apple running OS 10.9.  I have installed XCode 5 and Command Line Tools for OS X Mavericks.  I am using Code::Blocks 13.12 and can build.  If I go to file in the debug folder, the results will open in Terminal with no problems.  If I try to build and run code I get the following...

-bash: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/Wakko/Documents/programming/hello/bin/Debug/hello: No such file or directory

Can someone be kind enough to offer some assistance? 

Regards-

oBFusCATed:
Switch the app type from console to native and it will run. At the moment C::B has problems starting the terminal app on newer OSX versions. This problem might be fixed in trunk, but there is no one capable building a nightly build that is lurking around, so until new build is release nothing can be done about this problem.

Sire.Wakko:
Got it worked out.  Thank you!

Navigation

[0] Message Index

Go to full version