• 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
integrate c code in cocoa(compile problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

integrate c code in cocoa(compile problem)


  • Subject: integrate c code in cocoa(compile problem)
  • From: honglei <email@hidden>
  • Date: Tue, 25 Oct 2005 14:27:30 +1300

hi there:

I am trying to figure our how to run PDFLIB in my cocoa application. Since cocoa is compatible with c code, I put some PDFLIB sample code into my cocoa app.

When I am compile and execute my application, I got the message "exited due to signal 6".

I am not quite familiar with cc compiler, I compile my hello.c file with command

"cc -I./include  -L./lib  hello.c -lpdf -lm -framework Carbon -o hello"

Did anybody know the meaning of -lpdf and -lm?

How can I put those libraries information into my cocoa compiler.

Many thanks.

_______________________________________________
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


  • Follow-Ups:
    • Re: integrate c code in cocoa(compile problem)
      • From: Scott Ribe <email@hidden>
    • Re: integrate c code in cocoa(compile problem)
      • From: Manfred Bergmann <email@hidden>
  • Prev by Date: NSException raised within [NSView setHidden]
  • Next by Date: Re: integrate c code in cocoa(compile problem)
  • Previous by thread: Re: NSException raised within [NSView setHidden]
  • Next by thread: Re: integrate c code in cocoa(compile problem)
  • Index(es):
    • Date
    • Thread