• 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
Recognise classes between libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recognise classes between libraries


  • Subject: Recognise classes between libraries
  • From: Livio Isaia <email@hidden>
  • Date: Wed, 30 Jul 2014 08:15:25 +0200

Hi all,

I’m trying to create a C++ dynamic library which in turn uses other dynamic libraries. It seems that the compiler finds the necessary headers, but when I need to call a class declared in an external library I get "symbol not found" error.

I even tried to use that external library directly from another project (app, not a library) and all is ok.

Just to make it clearer:

Library A (precompiled, not by me) contains mesh.h which declares class aMesh.

1:
Library B (mine) contains Mesh.h which declares class Mesh.
Class Mesh uses mesh.h from A and calls class aMesh: -> symbol not found.

2:
App C (mine)  contains Mesh.h which declares class Mesh.
Class Mesh uses mesh.h from A and calls class aMesh: -> OK.

I checked all the project settings (Header search path etc.) and could’t find anything wrong.
Can anybody help me with some hint?

Thanks in advance,
regards,
livio.
 _______________________________________________
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: Should the Simulator talk?
  • Next by Date: How to get the class name in Swift?
  • Previous by thread: Should the Simulator talk?
  • Next by thread: Re: Recognise classes between libraries
  • Index(es):
    • Date
    • Thread