• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cocoa for dummies question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa for dummies question


  • Subject: Re: cocoa for dummies question
  • From: Rowland Carson <email@hidden>
  • Date: Sun, 12 Oct 2003 22:23:43 +0100

On 2003 10 12 at 16:52 +0200, M. Uli Kusterer wrote:

At 15:02 Uhr +0100 12.10.2003, Rowland Carson wrote:
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

Uli - now I really feel like a Dummy! I hadn't noticed that extra split bar appearing after the build attempt. For what it's worth, on the first build attempt the log shows:



/usr/bin/jam -d1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development "CPP_HEADERMAP_FILE=/Users/rowland/Development/OS X cocoa/textproject/build/textproject.build/textproject.build/textproject.hmap" "SRCROOT=/Users/rowland/Development/OS X cocoa/textproject" "OBJROOT=/Users/rowland/Development/OS X cocoa/textproject/build" "SYMROOT=/Users/rowland/Development/OS X cocoa/textproject/build" DSTROOT=/tmp/textproject.dst
...updating 8 target(s)...
PBXCp.CopyToDirectory /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/Resources/textproject.app

/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks "/Users/rowland/Development/OS X cocoa/textproject/build/textproject.app" "/Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/Resources"

...failed PBXCp.CopyToDirectory /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/Resources/textproject.app ...



And on the second (successful) attempt there is no split bar in the "run" tab despite the "attempting to find ..." complaint there. The log in the build tab shows:


/usr/bin/jam -d1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development "CPP_HEADERMAP_FILE=/Users/rowland/Development/OS X cocoa/textproject/build/textproject.build/textproject.build/textproject.hmap" "SRCROOT=/Users/rowland/Development/OS X cocoa/textproject" "OBJROOT=/Users/rowland/Development/OS X cocoa/textproject/build" "SYMROOT=/Users/rowland/Development/OS X cocoa/textproject/build" DSTROOT=/tmp/textproject.dst
...updating 7 target(s)...
Cp /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/Info.plist
Cp /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/pbdevelopment.plist
Cp /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app/Contents/PkgInfo
BuildPhase <CopyResources>textproject.app
Completed phase <CopyResources> for <CopyResources>textproject.app
BuildPhase <DeriveAndCompileSources>textproject.app
Completed phase <DeriveAndCompileSources> for <DeriveAndCompileSources>textproject.app
BuildPhase <LinkWithFrameworksAndLibraries>textproject.app
Completed phase <LinkWithFrameworksAndLibraries> for <LinkWithFrameworksAndLibraries>textproject.app
Touch /Users/rowland/Development/OS X cocoa/textproject/build/textproject.app
...updated 7 target(s)...




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.

I had been keying-in & building all my own files from scratch; there was no disc shipped with the book, they just gave the Dummies website URL for downloading examples if desired. I didn't even try that until I ran into this chapter 11 problem, and their version behaved the same as my own.

There is a newer version of PB, 2.1, which is dated "December 2002".

I'll see if I can get that. I'm on dialup, so I don't get software updates as a matter of course.

the book that's worked best for me is the one by Aaron Hillegass

I'll check that out too. I got the Dummies book because there was a good deal on a copy locally, but I can see that it is not the world's finest production!

Returning to my original posting, does anyone know of a way to find out what the message "textproject has exited due to signal 10 (SIGBUS)." means? Are these things tabulated somewhere.

Thanks for the suggestions - others welcome!

regards

Rowland
--

| Wilma & Rowland Carson <http://home.clara.net/rowil/>
| <email@hidden> ... that's Rowland with a 'w' ...
_______________________________________________
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.

References: 
 >help with date formatter (From: Theodore Petrosky <email@hidden>)
 >cocoa for dummies question (From: Rowland Carson <email@hidden>)
 >Re: cocoa for dummies question (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: NSAuthorizationView
  • Next by Date: Re: Are cocoa frameworks language neutral?
  • Previous by thread: Re: cocoa for dummies question
  • Next by thread: Grep wrapper (was Re: Some small utility for Mac OS X.)
  • Index(es):
    • Date
    • Thread