User forums > Using Code::Blocks

Simple C Code Will Not Build

<< < (3/4) > >>

oBFusCATed:
OK, does compiling work now?

rickb:
No, I'm afraid not.  Please see the attachment showing the Build Log.  The directory /bin/sh does not exist when I try to find it in a Terminal window.  This is where I'm stuck.

Thanks for replying.  Any help would be appreciated.

oBFusCATed:
It is telling you that clang++ doesn't exists.
Have you tried running clang++ from a terminal? Does it work?

rickb:
You're right.  I could not find clang++ in a terminal window.  I assume I've got to install.  I checked the LLVM Download Page under LLVM 3.0, but besides the binaries for MAC OS X, I don't know whether to download the LLVM and Clang source code.  Can you point me in the right direction?

Thanks very much.

oBFusCATed:
You need to install "xcode command line tools" or the full xcode, I'm not sure.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version