Author Topic: Build but cannot run in Mac  (Read 6041 times)

Offline Sire.Wakko

  • Single posting newcomer
  • *
  • Posts: 2
Build but cannot run in Mac
« 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-

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Build but cannot run in Mac
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Sire.Wakko

  • Single posting newcomer
  • *
  • Posts: 2
Re: Build but cannot run in Mac
« Reply #2 on: March 26, 2014, 01:26:51 am »
Got it worked out.  Thank you!