Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Sire.Wakko on March 25, 2014, 06:23:44 pm

Title: Build but cannot run in Mac
Post by: Sire.Wakko on March 25, 2014, 06:23:44 pm
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-
Title: Re: Build but cannot run in Mac
Post by: oBFusCATed on March 25, 2014, 08:12:38 pm
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.
Title: Re: Build but cannot run in Mac
Post by: Sire.Wakko on March 26, 2014, 01:26:51 am
Got it worked out.  Thank you!