integrate c code in cocoa(compile problem)
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