Re: a question about linking
Re: a question about linking
- Subject: Re: a question about linking
- From: Fritz Anderson <email@hidden>
- Date: Thu, 19 Jan 2006 09:26:56 -0600
On 19 Jan 2006, at 6:42 AM, Shriniwas Kulkarni wrote:
I'm trying to use openssl functions that are provided with mac os x
(in
the libraries libssl.dylib and libcrypto.dylib) in my carbon
application. I've created the application through xcode 2.1, but I
just
can't get xcode to link the application code with those libraries. If
someone can tell me how to do it through xcode or in some other way, I
will be immensely grateful!
Here's what I've tried so far and failed!
1) In the build settings of my target, specified the search path for
libraries.
2) Added those two libraries in the 'external frameworks and
libraries'
group of my xcode project.
3) Added those libraries with their complete paths to 'other linker
flags' in the 'linking' settings with the flag -dylib_file.
Have you made sure the libraries appear in the Link Binary with
Libraries build phase (in Groups & File list Targets -> {Your product
name} -> Link Binary with Libraries)?
Drag the icons for the libraries from the list above Targets into the
build phase.
-- F
--
Fritz Anderson
Consulting Programmer -- http://resume.manoverboard.org/
Step into Xcode, coming out late January -- http://six.manoverboard.org/
_______________________________________________
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