Using cc in darwin: command not found.

O

olav

Guest
Hello,


I try to convert an .mov file to an .3pg file to display a movie on my phone.

I found that you can convert it using QTkit.

It is explained here: http://gemma.apple.com/samplecode/QTKitCommandLine/listing1.html


I downloaded QTkit and moved it in my homedir. Do I have to install in anywhere?


When I enter the command:

cc -o mov23gp -g mov23gp.m -framework QTKit -framework Foundation

it tells me:

-bash: cc: command not found


Any idea how to solve this?
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
First thing you need to do is download and install Xcode, the Apple developer tools. That's why bash cant find cc.

Next, see if there is a readme file come with QTkit. It should tell you how to install it. If not, check the web site where you got it.
 
OP
R

ramprasad

Guest
olav said:
Hello,


I try to convert an .mov file to an .3pg file to display a movie on my phone.

I found that you can convert it using QTkit.

It is explained here: http://gemma.apple.com/samplecode/QTKitCommandLine/listing1.html


I downloaded QTkit and moved it in my homedir. Do I have to install in anywhere?


When I enter the command:

cc -o mov23gp -g mov23gp.m -framework QTKit -framework Foundation

it tells me:

-bash: cc: command not found


Any idea how to solve this?


Hi,

You first make sure which version of gcc compiler you are using..Suppose if yyou are using gcc-4.0 version then the corresponding command is gcc-4.0
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top