[wx 2.6.3, mac, xcode] link problem

Mickael Gasrel mgasrel at e-frontier.com
Tue Nov 14 07:31:31 PST 2006


Hi Stefan,

 =


The settings for building the dynamic library and the application seems to
be identical (RTTI checked)=85

 =


I have tested the minimal sample using the dynamic library libwx_mac.dylib,
I have no problem.

But in this project if I create a simple target building a dynamic library
with 2 files:

 =


untilted.h

 =


#include =93wx/wxprec.h=94

class untitled : public wxWindow =


{

  public:

    untitled(void); =


}

 =


 =


untiled.cpp

 =


#include =93untitled.h=94

untitled::untilted(void)

{

  wxString s(=93test=94);

}

 =


I have 2 link errors :

Undefined symbols :

__ZTI8wxThread

__ZTI8wxWindow

 =


Is it possible to create a mach-o dynamic library using wxMac?

 =


Mickael.

 =


  _____  =


De : Stefan Csomor [mailto:csomor at advancedconcepts.ch] =

Envoy=E9 : mardi 14 novembre 2006 13:10
=C0 : wx-users at lists.wxwidgets.org
Objet : RE: [wx 2.6.3, mac, xcode] link problem

 =


Hi Mickael

 =


are the settings for building the dynamic library and the applications the
same regarding RTTI ? Isn't that the linker symbol for the type-info for
wxWindow ?

 =


just an idea..

 =


Stefan

 =



  _____  =



From: Mickael Gasrel [mailto:mgasrel at e-frontier.com] =

Sent: Montag, 13. November 2006 17:06
To: wx-users at lists.wxwidgets.org
Subject: [wx 2.6.3, mac, xcode] link problem

Hi, =


 =


I have built a dynamic library of wxMac 2.6.3 with xcode (macho
compilation).

In my project if I use some wx objects I have no problem but if I try to
override a wx class I obtain a link error.

 =


Ex:

class my_window : public wxWindow

{

=85..

}

 =


Undefined symbols

__ZTI8wxWindow

 =


The same code with code warrior works.

How can I resolve my problem ?

 =


Thanks.

 =


Mickael.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20061114/1f9=
0a686/attachment.htm


More information about the wx-users mailing list