• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: libpcap in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: FSRef-like primitive?
  • Next by Date: Clear as Mud
  • Previous by thread: Re: Running EUID as root (was Re: libpcap in Cocoa)
  • Next by thread: We having fun yet with AuthorizationExecuteWithPrivileges?
  • Index(es):
    • Date
    • Thread