• 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: Link aganist <sem.h>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link aganist <sem.h>


  • Subject: Re: Link aganist <sem.h>
  • From: Meik Schuetz <email@hidden>
  • Date: Thu, 11 Sep 2008 23:27:35 +0100

Hi there,
in the target properties, make sure the header file search path is set to the directory in which you've got the 3rd party header files. To link the dylib files with the project, click on Project -> Add to project and select the necessary dylib files.


Hope that helps.
Meik


On Sep 11, 2008, at 11:04 PM, dexter morgan wrote:

Hello List,
I've a simple c project that uses semaphores.
I've tried to include it inside the main.c

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/msg.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/sem.h>
#include <sys/ipc.h>
#include <sys/semaphore.h>

but xcode won't to compile it. Anyone can help me?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Link aganist <sem.h> (From: "dexter morgan" <email@hidden>)

  • Prev by Date: Re: Inter-machine notifications
  • Next by Date: Re: Trying to compile an ObjectiveC and C++ program in XCode 3.1
  • Previous by thread: Re: Link aganist <sem.h>
  • Next by thread: Link aganist <sem.h>
  • Index(es):
    • Date
    • Thread