Re: cocoa for dummies question
Re: cocoa for dummies question
- Subject: Re: cocoa for dummies question
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sun, 12 Oct 2003 16:52:44 +0200
At 15:02 Uhr +0100 12.10.2003, Rowland Carson wrote:
One thing I should mention first, that has happened with, I think,
every project I've built, is that it won't build on the first try.
The journal line at the bottom left of the window says "build failed
(1 error)" and in the top RH build tab, I get a message in red
"Build failed (see build log for details)" but I have yet to find
where that build log is hidden!
There should be a "split bar" at the bottom of the "build errors &
warnings" list. Drag that up, and you'll see a build log below it,
containing the raw compiler output.
I think there's also a tiny square button somewhere in the upper
right of the window that contains some "tiny text lines", which you
can click to toggle the build log area.
Anyway, just clicking on the Build icon (or Build & debug, or Build
& run, same behaviour) for a second time without changing anything,
gets a successful build.
Try doing a "clean" on the project before building. Sometimes
projects shipped with books contain intermediate files built by an
older version of the compiler, and GCC easily gets confused in such
cases.
Can anyone help? Am I doing something stupid? Do I need an update to
Project Builder or Interface builder?
There is a newer version of PB, 2.1, which is dated "December 2002".
Usually it doesn't hurt to be running the latest (final) version if
you have it.
Do I need a different book? My immediate aim in learning Cocoa is to
put a nice front on an old Think C program I wrote under System 7 to
do some special-purpose text parsing, with a very crude
glass-teletype interface. An important aspect of that program is the
ability to select and open text files!
If you want to learn Cocoa, the book that's worked best for me is
the one by Aaron Hillegass. There's a whole section in the Cocoa Wiki
at
http://cocoadev.com/ where you can find users' notes on various
books. Here's the URL:
http://cocoadev.com/index.pl?CocoaBooks
It doesn't really cover much of the advanced topics, but once you've
read the Hillegass book, most of the stuff on Apple's web site
suddenly becomes comprehensible. I think it does contain a simple
example of a text editor.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.