Re: Finding third party library
Re: Finding third party library
- Subject: Re: Finding third party library
- From: Pascal Pochet <email@hidden>
- Date: Wed, 25 Jan 2006 13:53:46 +0100
Is not CURLHandle project configured by default to install in
@executable_path/../Frameworks
?
If you don't have changed this in the original CURLHandle project,
it's normal you are in trouble.
To use it correctly, you should probably do some clean-up of your
project
the "Framework Search Path" is probably wrong and
if CURLHandle is still configured with "@executable_path/../Framework"
you should add a Copy Files build phase too.
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
Le 25-janv.-06 à 11:36, Burt Johnson a écrit :
That makes sense, but I put the framework there (after reading your
message), but I still get the same error?
You have an SDK specified, so it is looking at /Developer/SDKs/
<your SDK
here>/Library/Frameworks/, not the root.
Burt Johnson wrote:
Making progress, but I keep hitting one more block each time it
seems...
I am taking over code that has been partially ported from VC++ on
a PC.
The original programmer virtually disappeared and never stated how
far he
got, so my first task is to evaluate the code. I can tell from
some stuff
written that he clearly had it at least compiling and partially
running. I
now have it all compiling, but the link is failing.
The error I am getting is:
Building target "SportBrain iSync" of project "FitSync" - (1 error)
cd "/Users/bj/SB/isync src Mac/mac"
/usr/bin/g++-4.0 -o /Users/bj/SB/isync\ src\
Mac/mac/build/Development/FitSync.app/Contents/MacOS/FitSync
-L/Users/bj/SB/isync\ src\ Mac/mac/build/Development -L/Users/bj/
SB/isync\
src\ Mac/mac -F/Users/bj/SB/isync\ src\ Mac/mac/build/Development -
filelist
/Users/bj/SB/isync\ src\
Mac/mac/build/FitSync.build/Development/SportBrain\
iSync.build/Objects-normal/ppc/FitSync.LinkFileList -framework
CURLHandle
-framework Cocoa -framework IOKit -framework ApplicationServices -
arch ppc
-prebind -mmacosx-version-min=10.2 -isysroot /Developer/SDKs/
MacOSX10.4u.sdk
/usr/bin/ld: can't locate framework for: -framework CURLHandle
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate framework for: -framework CURLHandle
collect2: ld returned 1 exit status
<<<<<<<<<<<<<
I had already located the CURLHandle framework on the web,
downloaded and
installed it.
So I went to the Targets group, and find the reference to
CURLHandle in
both the 'Link Binary With Libraries" and the "Copy Files" tab.
In both
places, it shows the framework location as 'absolute path' in:
/Library/Frameworks/CURLHandle.framework
I check there to be sure and yep, it is there in exactly that path
(which
is where I installed it, as per instructions that come with the
framework).
So why am I being told it cannot be located? What else has to be
done?
--
- Burt Johnson
MindStorm, Inc.
email@hidden
http://www.mindstorm-inc.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.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