Author Topic: OS X Installation help  (Read 5532 times)

Boomba

  • Guest
OS X Installation help
« on: February 28, 2007, 01:20:43 am »
hi i'm on mac OS X (tiger)

I tried the wiki instruction for installing from source but I ran into so many problems that I quit. I di some searching and found these mac binaries were available at http://developer.berlios.de/projects/codeblocks/. I have X11 and Xcode installed

but when i try to run it I get this error
Quote
Cannot find resources...
Code::Blocks was configured to be installed in '/Users/kareem/CodeBlocks.app/Contents/Resources/share/codeblocks'.
Please use the command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR environment variable to point where Code::Blocks is installed,
or try re-installing the application...

I tried running this from xterm changing the prefix to where the executable is as an argument and I still get the same type of error

any idea what i'm doing wrong?

thanx in advance,
Boomba

Offline Auria

  • Almost regular
  • **
  • Posts: 152
Re: OS X Installation help
« Reply #1 on: February 28, 2007, 01:40:16 am »
Did you go there http://developer.berlios.de/project/showfiles.php?group_id=5358 and downlaod the latest? (3402)

Works all fine for me [well not fine since mac OS X is not supported but at least opens]
« Last Edit: February 28, 2007, 01:42:21 am by Auria »

Boomba

  • Guest
Re: OS X Installation help
« Reply #2 on: February 28, 2007, 04:03:33 pm »
yes thats exactly where I got it from. Same error :) any idea what I may have missed?


Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: OS X Installation help
« Reply #3 on: March 02, 2007, 11:07:24 am »
Does CodeBlocks.app/Contents/Resources/share/codeblocks/resources.zip exist ?

Otherwise you might try downloading the new build and see if that works better...

nchaumont

  • Guest
Re: OS X Installation help
« Reply #4 on: March 02, 2007, 07:03:51 pm »
Hello guys,

I am new to CB and I apologize in advance if I'm asking a stupid question, but I haven't found any information about my problem, and this post seems to be the most appropriate one.

I am also trying to use CB on my PPC power book with OS X tiger runnig on it. I downloaded the OS X binaries that Auria pointed (both Mac PPC and x86). I had no problem compilling with GCC the "hello world" sample code that comes with the console application template, but when I try to execute the program, it systematically exits with the error code 255.

What is the problem and what can I do about it?

Thanks in advance,


Nic

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: OS X Installation help
« Reply #5 on: March 04, 2007, 10:25:47 pm »

Offline BCCISProf

  • Multiple posting newcomer
  • *
  • Posts: 60
    • Professor Langsam's Home Page
Re: OS X Installation help
« Reply #6 on: March 08, 2007, 09:25:38 pm »
Does this help?

http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/

See about half way down the page.

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: OS X Installation help
« Reply #7 on: March 21, 2007, 03:27:18 pm »
It helps, but is a workaround...

The wxMac version of Code::Blocks should run Terminal.app (by default),
but the wxGTK version will continue to run xterm just like on Linux etc.

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: OS X Installation help
« Reply #8 on: March 26, 2007, 01:00:23 am »
Latest SVN version (>3750) should now run with Terminal.app instead of xterm.
You might need to update your preferences, though (or even delete/reset them?)

nchaumont

  • Guest
Re: OS X Installation help
« Reply #9 on: May 02, 2007, 07:42:23 am »
Thank you BBCISProf and afb for your help