Re: 3rd Party Frameworks; VGL
Re: 3rd Party Frameworks; VGL
- Subject: Re: 3rd Party Frameworks; VGL
- From: Chris Espinosa <email@hidden>
- Date: Tue, 7 Mar 2006 14:59:54 -0800
On Mar 7, 2006, at 12:56 PM, Eric Gorr wrote:
Anyone know where I can find a statement by Apple explaining that
3rd Party
Frameworks should go into /Library/Frameworks and not
/System/Library/Frameworks?
"Installing your Framework"
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/InstallingFrameworks.html#//apple_ref/doc/uid/
20002261-BBCCFBJA
Also, anyone have any experience with VGL (http://volumegraphics.com)?
I wanted to try to convert the sample 'engine' project (done with a
Makefile)
into an x-code project.
The trouble I am having is that I get the following warning when I
build my
project:
Tool:0: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
vgl.framework/Versions/3.2/Libraries/libvglip.dylib
referenced from:
/Users/eric/Projects/VGL/XEngine/../../../Library/Frameworks/
vgl.framework/vgl
(checking for undefined symbols may be affected) (No such file or
directory,
errno = 2)
If you're using a system SDK and building against a 3rd party or
private framework, you need to put it in a neutral location (your
build folder or somewhere pointed to by a Source Tree), or into the
System SDK itself. You can't put a non-Apple framework in /Library
or /System/Library when using a system SDK.
The application does build successfully, but crashes when I try to
run it,
telling me:
Library not loaded:
/System/Library/Frameworks/vgl.framework/Versions/3.2/Libraries/
libvglip.dylib
Referenced from:
/Users/eric/Projects/VGL/XEngine/build/Debug/XEngine.app/Contents/
MacOS/XEngine
Reason: image not found
Of course, if I build it with the provided Makefile, I can run it
without any
trouble at all...so, I must be missing something in the setup of
the X-Code
project. (I'm not that familiar with X-code yet)
Your makefile isn't using the 10.4u system SDK to build Universal,
which is why it's working. Xcode (note spelling) does so by default.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden