[ wxwindows-Bugs-1861668 ] 2.4 compatibility fails due to missing wxAppConsole symbols

SourceForge.net noreply at sourceforge.net
Tue Jan 1 05:36:20 PST 2008


Bugs item #1861668, was opened at 2008-01-01 14:26
Message generated for change (Comment added) made by vaclavslavik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1861668&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lincoln Ramsay (a1291762)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.4 compatibility fails due to missing wxAppConsole symbols

Initial Comment:
Building wxMac 2.8.7 on Mac OS X 10.4.11 (similar to how macports does but with 2.4 compatibility and xrc enabled) failed because the 2.4 compatibility ifdef was being handled incorrectly. The linker expected the symbols to be there (so someone including app.h had already included setup.h) but appbase.cpp did not include setup.h - hence the compatibility define was not set - and so the symbols weren't built.

I'd suspect the best fix would be to add #include "wx/setup.h" to app.h but perhaps just adding it to appbase.cpp would be enough.

----------------------------------------------------------------------

>Comment By: Vaclav Slavik (vaclavslavik)
Date: 2008-01-01 14:36

Message:
Logged In: YES 
user_id=80834
Originator: NO

And the errors you get are...?

----------------------------------------------------------------------

Comment By: Lincoln Ramsay (a1291762)
Date: 2008-01-01 14:34

Message:
Logged In: YES 
user_id=736434
Originator: YES

I added my first suggestion but it didn't work. I'm currently building
with the compatibility ifdef commented out (ie. forced on) to see if that
will work. Commenting out just the .cpp file causes the symbols to be found
but vtable entries for them are not.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1861668&group_id=9863




More information about the wx-dev mailing list