PDA

View Full Version : How do I compile this?




macdoobie
Mar 8, 2008, 12:42 AM
I have source code I want to compile but the only instructions are:

1. cd clients2/echo/osx
2. xcodebuild -target "Build All"




I installed xcode 3.0 from my Leopard installation CD and the program is running right now --- but I guess I'm just lost from where to go from here.


Any help would be amazing!

:apple:



yeroen
Mar 8, 2008, 02:01 AM
Open up a terminal (/Applications/Utilities/Terminal.app)

Type this:

cd clients2/echo/osx

hit enter, then type this:

xcodebuild -target "Build All"

and you're done.

macdoobie
Mar 8, 2008, 02:45 AM
Thank you for your quick response, racking my brain with this one. I got this from terminal:

anya-s-macbook:~ Anya$ cd /Users/Anya/PGP/clients2/echo/osx
anya-s-macbook:osx Anya$ xcodebuild -target "Build All"
xcodebuild: Warning: no valid targets in target list. Building default target.
Unknown target: Build All
Usage: xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-configuration <configurationname>] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild [-version]
xcodebuild [-list]


Edit: Inside /echo/osx is a file called "Echo.xcodeproj". I suppose this has some importance?

kainjow
Mar 8, 2008, 12:00 PM
You could try opening Echo.xcodeproj in Xcode and building it there directly.

macdoobie
Mar 8, 2008, 01:47 PM
You could try opening Echo.xcodeproj in Xcode and building it there directly.

I clicked the file and xcode opened. A few seconds it asked for the "root project folder" and I said to choose the /clients2/osx. I then clicked build and then it fails. I'd post it here, but its 16 pages copied into iWork and that is just way too much crap for anyone to read. Thanks anyway guys for the suggestions:p