Re: Using the QuickLite framework when building a Foundation tool
Re: Using the QuickLite framework when building a Foundation tool
- Subject: Re: Using the QuickLite framework when building a Foundation tool
- From: John Axel Eriksson <email@hidden>
- Date: Mon, 19 Dec 2005 23:52:36 +0100
Yeah ok. As I write this email I'm starting a new project in Xcode
2.2, Mac OS X Server 10.4.3. Just tried adding
the QuickLite.framework from /Library/Frameworks/ then tried to
build, not even using any #import statement.
The compiler gives me the error:
--------
Command /usr/bin/gcc-4.0 failed with exit code 1 | Location: Tool:0
can't locate framework for: -framework QuickLite | Location: Tool:0
--------
Now I'm starting yet another completely new project, a Foundation
Tool. And adding Existing Framework... (OpenBaseAdmin.framework)
Trying to compile. Same error, though it lists the OpenBaseAdmin
framework instead of QuickLite. If I add a framework from /System/
Library/Frameworks
it compiles fine though. Why is that? It's really strange. Also, if
I'm using ApplicationKit and the Cocoa.framework everything works fine.
So it seems adding a framework from /Library/Frameworks doesn't work
when building a Foundation tool.
I've tried relative paths, absolute paths... nothing works.
/John
On 19 dec 2005, at 22.03, Daniel Jalkut wrote:
Hi John - I just did a trivial test by creating a new default
"Foundation Tool" in Xcode 2.2, Mac OS X 10.4.3. I added
"Python.framework" from /Library/Frameworks, and put both an
include to Python/Python.h in my tool's source, and made a trivial
call to the framework.
It worked fine.
Perhaps you can share some more details about your environment.
Xcode version, etc. You should also try starting from scratch with
a new test project. If that works you can either just start from
scratch or compare with your original project to see what's different.
Daniel
On Dec 19, 2005, at 3:23 PM, John Axel Eriksson wrote:
Hi.
I have a problem, a newbie problem I guess. I've used the
QuickLite framework in
AppKit applications with no problem. I add the framework to the
project from /Library/Frameworks/QuickLite.framwork
and it all works when I do #import <QuickLite/QuickLiteDatabase.h>
etc.
Now I'm building a Foundation tool which will use QuickLite and it
claims it cannot find the framework(can't locate framework for: -
framework QuickLite).
Seems to be the same for ANY other framework from /Library/
Frameworks so it doesn't have anything to do with QuickLite itself.
I assume this is some trivial setup issue, but I can't find the
solution, so How do I add a Framework from /Library/Frameworks
to a Foundation tool project?
Thanks,
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden