• 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
Linking an Xcode library in a CW project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking an Xcode library in a CW project


  • Subject: Linking an Xcode library in a CW project
  • From: "Philippe Casgrain" <email@hidden>
  • Date: Thu, 18 Mar 2004 11:00:36 -0500
  • Priority: normal

Hello,

Our app is built using CW 8.3 and MS Visual C++ (it's cross-platform). I am currently investigating whether gcc 3.3 will generate better/faster code than CW. For that purpose, I have built a Mach-O target in CW, and it runs fine.

Our app is built using a few static libraries. I tried to use the CW Project importer for the whole app but there were way too many errors and things to fix that I thought I would try to build just one library and replace it in the main CW project.

I was able to convert one library to Xcode, and build it as a .a file. But when I got to the linking stage, CodeWarrior started throwing link errors my way. I don't understand why these occur:

Link Error : undefined: '__cxa_call_unexpected' (code)
Referenced from 'DigitalWet::normalize_outside_data(unsigned long*, short)' in libBrushEngine Mach-O Debug.a

This must be in a framework somewhere, I just don't know where to look

Link Error : undefined: '_Unwind_Resume' (code)
Referenced from '_ZN8tileinfoD4Ev' in libBrushEngine Mach-O Debug.a
Referenced from '_ZN8tileinfoC4Ev' in libBrushEngine Mach-O Debug.a
Referenced from 'pb_get_rect(picture_database, Rect*, unsigned long*)' in libBrushEngine Mach-O Debug.a
Referenced from 'output_image_hose_span(picture*, unsigned long*, int, int, int, bool, bool, bool)' in libBrushEngine Mach-O Debug.a
Referenced from 'set_standard_store_level_procs()' in libBrushEngine Mach-O Debug.a
Referenced from 'DigitalWet::normalize_outside_data(unsigned long*, short)' in libBrushEngine Mach-O Debug.a
Referenced from 'CBilinearWarpRenderer::CBilinearWarpRenderer()' in libBrushEngine Mach-O Debug.a
Referenced from 'CMappedStroke::Create(picture*, canvas*, mask_entry*, CPixel)' in libBrushEngine Mach-O Debug.a
Referenced from 'CPixelLayer::CPixelLayer()' in libBrushEngine Mach-O Debug.a
Referenced from 'CFloatLayer::CFloatLayer()' in libBrushEngine Mach-O Debug.a
Referenced from 'liquid_ink_layer::Synchronize(metaball*)' in libBrushEngine Mach-O Debug.a
Referenced from 'WCDyeAdd(unsigned long, unsigned long, long)' in libBrushEngine Mach-O Debug.a
Referenced from 'NewBrushMix(unsigned long, unsigned long, long)' in libBrushEngine Mach-O Debug.a
Referenced from 'CDigitalOilBrush::CDigitalOilBrush(short, CBrushGlobals*)' in libBrushEngine Mach-O Debug.a

What is '_Unwind_Resume'? It's not in my code...

Link Error : undefined: '__cxa_pure_virtual' (imported)
Referenced from 'virtual table for CRenderedBrush' in libBrushEngine Mach-O Debug.a

What is '__cxa_pure_virtual'?

Link Error : undefined: 'virtual table for __cxxabiv1::__class_type_info' (imported)
Referenced from 'typeinfo structure for DigitalWet' in libBrushEngine Mach-O Debug.a
Referenced from 'typeinfo structure for CBrush' in libBrushEngine Mach-O Debug.a


Link Error : undefined: 'virtual table for __cxxabiv1::__si_class_type_info' (imported)
Referenced from 'typeinfo structure for CDigitalOilBrush' in libBrushEngine Mach-O Debug.a
Referenced from 'typeinfo structure for CBristleBrush' in libBrushEngine Mach-O Debug.a
Referenced from 'typeinfo structure for CSpatterBrush' in libBrushEngine Mach-O Debug.a
Referenced from 'typeinfo structure for CPureAirbrush' in libBrushEngine Mach-O Debug.a
Referenced from 'typeinfo structure for CRenderedBrush' in libBrushEngine Mach-O Debug.a

I have no idea what these errors mean.

Can anybody point me in the right direction?

Thanks,

Philippe


This e-mail message is intended only for the named recipient(s) above and may contain information that is confidential, proprietary, privileged, and /or exempt from disclosure under applicable law. If you have received this message in error, or are not he named recipient(s), please immediately notify the sender and delete this e-mail message.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



  • Follow-Ups:
    • Re: Linking an Xcode library in a CW project
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: how do you use the SCM feature?
  • Next by Date: wstring
  • Previous by thread: Re: debugging jnilib from XCode
  • Next by thread: Re: Linking an Xcode library in a CW project
  • Index(es):
    • Date
    • Thread