• 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
Undefined Symbols Error while linking to static libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undefined Symbols Error while linking to static libraries


  • Subject: Undefined Symbols Error while linking to static libraries
  • From: Manoj Agrawal <email@hidden>
  • Date: Wed, 09 Jul 2008 11:06:52 +0530
  • Organization: Embitel/dmc (India) Systems Pvt. Ltd.

Hi folks,

I am using XCode for Qt4.4 projects and linking my application with multiple static (my own) libraries. In this construct, Main application uses some of the libraries directly and those libraries uses other ones. I get Undefined Symbols error while linking sub libraries to this application.

I have already gone through the mailing list archives and tried the following solutions:

(1) Linking all libraries with their sub libraries in pro file so that application knows which library to be linked with.
(2) Linking single library Multiple times in main application pro file such that it always knows the order of linking.


None of the above solution works. I tried linking these libraries in other applications and they only work if a library is not calling some function from other library. I then got the temporary solution of creating and deleting objects of each library classes in my main application before starting real functionality. Can anyone help me finding the logical solution to this problem?

Regards,
Manoj

_______________________________________________
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: Image doesn't scale correctly in IB
  • Next by Date: iPhone application going out of control
  • Previous by thread: Re: Build architectures
  • Next by thread: iPhone application going out of control
  • Index(es):
    • Date
    • Thread