• 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: Help building PowerPlant as a static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help building PowerPlant as a static library


  • Subject: Re: Help building PowerPlant as a static library
  • From: OL&L Lists <email@hidden>
  • Date: Tue, 28 Sep 2004 14:09:26 -0700

Looks like you need to add the LWindow.c files into the XCode project. Link errors like this one indicate that the LWindow source code was missing from the library at compile time.

Remember that unlike statically linked apps, it's possible to link a static library with no errors with code missing since the linker assumes that code that is called from the library might be present in another library somewhere else.

Michael Amorose
Orbital Launch & Lift, Inc.
The MacOS X Helper Tool Experts
http://www.orbitallaunch.com
========

At 12:24 PM -0700 9/16/04, Stephen Brost wrote:
I'm having some trouble building PowerPlant as a static library. I've gone through the Xcode documentation on how to prepare PP for gcc and Xcode, and that all worked out fine. The library project compiles fine, but when it's being linked into another project I'm getting this error:

ld: Undefined symbols:
non-virtual thunk to LWindow::ObeyCommand(long, void*)
non-virtual thunk to LWindow::FindCommandStatus(long, unsigned char&, unsigned char&, unsigned short&, unsigned char*)
non-virtual thunk to LWindow::~LWindow()
non-virtual thunk to LWindow::~LWindow()
non-virtual thunk to LWindow::SpendTime(EventRecord const&)
non-virtual thunk to LWindow::SetAEProperty(unsigned long, AEDesc const&, AEDesc&)
non-virtual thunk to LWindow::HandleAppleEvent(AEDesc const&, AEDesc&, AEDesc&, long)
non-virtual thunk to LWindow::GetModelName(unsigned char*) const
non-virtual thunk to LWindow::GetAEProperty(unsigned long, AEDesc const&, AEDesc&) const
non-virtual thunk to LWindow::AEPropertyExists(unsigned long) const
non-virtual thunk to LWindow::MakeSelfSpecifier(AEDesc&, AEDesc&) const


I figure a lot of people want to/have already done this in Xcode, so I'm looking for a little advice. The project started out in CodeWarrior and was imported into Xcode 1.2. I've since upgraded to Xcode 1.5. The Xcode PP project is a being as a cross-project reference and used as a Direct Dependent.

There wasn't much of a list archive, so I hope this hasn't already been discussed. Any advice would be appreciated.

Thanks,
Steve Brost
_______________________________________________
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

_______________________________________________ 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
References: 
 >Help building PowerPlant as a static library (From: Stephen Brost <email@hidden>)

  • Prev by Date: Re: Xcode Internal Error after Java 1.4.2 Update 2
  • Next by Date: Re: AppleScript Build Phase and osacompile - problem with deployed scripts for users
  • Previous by thread: Help building PowerPlant as a static library
  • Next by thread: can't connect an NSScrollView to an IBOutlet
  • Index(es):
    • Date
    • Thread