News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

OS X Installation help

Started by Boomba, February 28, 2007, 01:20:43 AM

Previous topic - Next topic

Boomba

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

Auria

#1
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]

Boomba

yes thats exactly where I got it from. Same error :) any idea what I may have missed?


afb

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

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


BCCISProf


afb

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.

afb

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

Thank you BBCISProf and afb for your help