Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to include Cg.framework in application



I'm trying to include the Cg.framework into my application bundle so that users can simply copy my application and run it -without the need for the user to download and install the framework. After much effort, I simply can't figure out how to do it. I can get the program to compile when I move the framework folder into the same director as my source code, but when I try and run my program in XCode, I get the following error:

dyld: [program path]/GPUTextures.app/Contents/MacOS/GPUTextures can't open library: /System/Library/Frameworks/Cg.framework/Cg (No such file or directory, errno = 2)

Even though I explicitly set the 'Framework search path' and 'Library search path' to the new location of the Cg.framework folder. It always looks in /System/Library/Frameworks.


Any ideas as to how I can include this framework in Xcode 1.5?


Thanks for any help in the matter,

Andrew

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.