Re: Problem Embedding Cocoa Framework

2009-05-07 Thread Sean McBride
On 5/7/09 2:40 AM, Gwynne Raskind said: >The system installed version of libxml2 on 10.5.6 is 2.6.16. The >current release of libxml2 is 2.7.3. A quick glance at xmlsoft.org/news.html > > tells us that 2.6.16 comes from November of 2004 and that there >have been dozens of bug, feature, and securit

Re: Problem Embedding Cocoa Framework

2009-05-07 Thread George King
Is there a particular reason you are embedding a version of libxml rather than the one that ships with the system ( /usr/lib/ libxml2.dylib )? Does the somewhat newer version have features that you need or have needed bugfixes? The system installed version of libxml2 on 10.5.6 is 2.6.16. Th

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread Gwynne Raskind
On May 6, 2009, at 9:43 PM, Marcel Weiher wrote: Nick, thanks for the tip, you set me on the right track. Here is my new understanding of the problem. In my framework target settings, the Dynamic Library Install Name is set to: $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH) T

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread Nick Zitzmann
On May 6, 2009, at 7:31 PM, George King wrote: Is there some good logic behind this difference? Should I just replace $(DYLIB_INSTALL_NAMEBASE:standardizebasepath) with @executable_path/../Frameworks? Yes. Lastly, what about @rpath? I haven't even used it yet. I use @loader_path for m

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread Marcel Weiher
On May 6, 2009, at 18:31 , George King wrote: Nick, thanks for the tip, you set me on the right track. Here is my new understanding of the problem. In my framework target settings, the Dynamic Library Install Name is set to: $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH) Th

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread George King
Nick, thanks for the tip, you set me on the right track. Here is my new understanding of the problem. In my framework target settings, the Dynamic Library Install Name is set to: $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH) This is for both Debug and Release. However these e

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread Nick Zitzmann
On May 6, 2009, at 6:13 PM, George King wrote: Can anybody suggest a solution, or at least a next step for debugging this problem? Try searching around for information about @executable_path and @loader_path. Nick Zitzmann __

Problem Embedding Cocoa Framework

2009-05-06 Thread George King
I am having trouble embedding a framework into my app; I get the following error on the console: dyld: Library not loaded: /Frameworks/libxml.framework/Versions/2.7.3/ libxml Referenced from: /Users/G/Code/FMLab/build/Debug/FMLab.app/Contents/ MacOS/FMLab Reason: image not found I buil