Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problem with Abstract Tree Apple Sample code

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  Quicktime component distribution  
Author Message
vze35xda

External


Since: Jan 08, 2005
Posts: 158



(Msg. 1) Posted: Sat Jan 19, 2008 5:28 am
Post subject: Problem with Abstract Tree Apple Sample code
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hi,

I have downloaded Apple's demo project Abstract Tree which uses
the Core Data system and XCode 3.0 (under 10.5.1) and can compile and
debug this on one machine, a G4 Powerbook but when I try to debug on
my Dual Core G4 desk top (also under 10.5.1 and XCode 3.0) it fails to
start up with the following message

dyld: lazy symbol binding failed: Symbol not found:
__cg_png_create_read_struct
Referenced from: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/ImageIO
Expected in: /usr/local/lib/libPng.dylib

I have checked and I have the same version of iibPng.dylib on both
machines (same file size and same date).

Any suggestions on what else to check/change ?

Also a quick web search for __cg_png_create_read_struct yields a few
people with graphics programs like GRASS and TexShop having this same
problem.

--jim

 >> Stay informed about: Problem with Abstract Tree Apple Sample code 
Back to top
Login to vote
vze35xda

External


Since: Jan 08, 2005
Posts: 158



(Msg. 2) Posted: Sun Jan 20, 2008 1:37 pm
Post subject: Re: Problem with Abstract Tree Apple Sample code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fixed it.

NOTE: All of this is complicated by the fact that I had put
WireShark on the machine and had to update X-11 from the stock OS X
version. Anyway I found that if you do the following:

cd /usr/local/lib

sudo mv libtiff.dylib old_libtiff.dylib
sudo mv libpng.dylib old_libpng.dylib

That fixes this problem and it also fixed the problem I had that
gnuplot, which had stopped working as it had a problem with the
libtiff.dylib in /usr/lib/local. There when I tried a plot it died as
it was missing a function in that library.

--jim

 >> Stay informed about: Problem with Abstract Tree Apple Sample code 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Disc Recording Sample Code/Help - I am trying to develop an application for burning audio and data CD-R's. Apples samples for the Disk Recording are very simple and not Carbon or usable for OS 9 or older. Does anyone have sample source, preferably in C or C++ for Disc Recording with..

can't find AE opendoc sample code - the dev apple site either doesn't have -- or has done a good job hiding -- any sample code demonstrating how to handle the AE opendoc event. I already have code in my program that opens files successfully and I have the opendoc AE event installed, so if...

some sample code needed..ASAP.. - Hi, I am developing a Carbon Application using Project Builder which comes with Mac OS X 10.1 version. I am trying to make use of Apple Events. One of my basic ideas is to establish interprocess communication. For this I suppose we have to make use of....

need sample code for an edittext control - Hello, Does anyone have sample code for an edittext control? The docs are thin. How do you send keystrokes to one, for example? And how do you activate them with a cursor etc? TIA. John Elemans

Navigation Services - Sample Code? - Can anyone point me to some sample code for using Navigation Services to create a new file, save text to it, and save the file to disk? The sample code that comes with the Navigation Services SDK is outdated and uses "not recommended" method...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]