Re: libpcap in Cocoa
Re: libpcap in Cocoa
- Subject: Re: libpcap in Cocoa
- From: Finlay Dobbie <email@hidden>
- Date: Mon, 20 Aug 2001 22:32:11 +0100
On Monday, August 20, 2001, at 09:36 pm, Ivan Myrvold wrote:
I am sorry, but I do not know how to "link against the library" (what
library btw?), nor "add -lpcap to the LDFLAGS". I have not met this
sort of thing before when making ordinary cocoa apps, but I am eager to
learn.
the pcap library.
Go to Project -> Add Files...
In the Go To field, type the location of the pcap library. click on OK.
that should add it to your project and add it to the "Frameworks &
Libraries" section of the Files & Build Phases tab of your Target
Settings.
Otherewise, you add it to OTHER_LDFLAGS in Build Settings of your Target
Settings.
-- Finlay