• 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: Xcode-users Digest, Vol 2, Issue 302
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode-users Digest, Vol 2, Issue 302


  • Subject: Re: Xcode-users Digest, Vol 2, Issue 302
  • From: email@hidden
  • Date: Thu, 23 Jun 2005 18:56:40 +0200
  • Importance: High


>
> Message: 13
> Date: Thu, 23 Jun 2005 08:20:53 -0700
> From: Chris Espinosa <email@hidden>
> Subject: Re: How to handle link dependencies under Xcode vs. MS Visual
>    C++
> To: "Xcode-Users@Lists. Apple. Com" <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> On Jun 23, 2005, at 6:45 AM, email@hidden wrote:
>
> > I am porting code from MS Visual C++ to Mac OS X. I have some  
> > difficulties to
> > link the final files together.
> >
> > I had some .dll on windows, that I tried to compile and link  
> > to .bundles under
> > MAC.
> >
> > The linker than makes errors for double definitions when I link the  
> > final
> > application file.
> >
> > Did anyone port already .dll form window to Mac OS X ?
> >
> > What are convient options for the linking ?
> >
> > What are the corresponding Linker parameters in Xcode to tell the  
> > linker the depencies ?
> > In MS Visual C++ I used the project dependencies menu to tell build  
> > and link dependencies.
> > In Xcode I use Direct Dependencies in the General Tab in the Target  
> > Info of my targets to add dependencies.
> > But I think this only influences that the depencies a build before,  
> > the resulting .dylib or .bundle is not added automatically to the -
> > filelist. I had a look at that automatically generated file, the  
> > dependent project files are not in there. As the file is generated  
> > everytime, I do not know how to influence this.
>
> You are correct that dependencies only affect what is built and in  
> what order.  To add link libraries to a project, you add the  
> "products" of a target or subproject to your target by selecting  
> them, choosing Get Info, going to the Targets tab, and checking the  
> boxes for all targets they should be linked in to.
>
> Chris
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/mailman/private/xcode-
> users/attachments/20050623/9c66a41d/attachment.html
>

Thanks for your prompt answer,

I tried to add the target, but I did not find the Targets tab in the get info of my target to include.

---

I tried it with a .dylib that I generated and I wanted to include in a .app -> When I do get info on the .dylib, there are only two tabs, the General and comments. There is no object called targets in that view.

I tried the same with a .framework I wanted to integrate into a .app, but this did not change.

I tried also a drag and drop of the target item I want to include in the Groups & Files view into the Targets object I want to use it, but this again, did not work.

Where can I find exacte the targets tab ?

Regards

Jürgen Jäger
________________________________
mail: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: How to conditionally run a script based on build configuration
  • Next by Date: Re: How to handle link dependencies under Xcode vs. MS Visual C++
  • Previous by thread: Re: How to conditionally run a script based on build configuration
  • Next by thread: Re:The Mac XCode 2 Book now available
  • Index(es):
    • Date
    • Thread