wxToolCountListNode ?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
lotharbehrens
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Oct 30, 2007 4:13 pm
Location: Germany
Contact:

wxToolCountListNode ?

Post by lotharbehrens » Thu Apr 03, 2008 9:09 pm

Hi,

I reinstalled my mac and redownloaded wxMac in version 2.6.2 and the following error when linking my application:

make -s -C ../Test/GUI/wxWrapper
ld: warning multiple definitions of symbol wxToolCountListNode::DeleteData()
dynamic.o definition of wxToolCountListNode::DeleteData() in section (__TEXT,__text)
/Users/lotharbehrens/lib/wxWrapperDLL.framework/wxWrapperDLL(wxWrapperDLL.o) definition of wxToolCountListNode::DeleteData()
ld: warning multiple definitions of symbol vtable for wxToolCountListNode
dynamic.o definition of vtable for wxToolCountListNode in section (__DATA,__const)
/Users/lotharbehrens/lib/wxWrapperDLL.framework/wxWrapperDLL(wxWrapperDLL.o) definition of vtable for wxToolCountListNode
/bin/sh: line 1: /Users/lotharbehrens/wxMac-2.6.2/change-install-names: No such file or directory
sed: /Users/lotharbehrens/wxMac-2.6.2/src/mac/carbon/Info.plist.in: No such file or directory
make[1]: *** [wxWrapper] Error 1


Before I have reinstalled my mac, all was fine. What am I do wrong ?

I do not find anything about it on the net. What is it ?

Thanks,

Lothar

lollisoft
Earned some good credits
Earned some good credits
Posts: 115
Joined: Sat Jul 23, 2005 3:52 pm
Location: Germany
Contact:

Post by lollisoft » Tue Aug 12, 2008 5:27 pm

It was my bug.

WX_DECLARE_LIST AND WX_DEFINE_LIST were used both in the header file.

Lothar
OS: Windows 7, Mac OS X (Panther/Leopard/Snow Leopard), SuSE Linux, Debian (PPC), OpenMoko FreeRunner
Compiler: OpenWatcom, GCC
wxWidgets 2.8.x
IDE Makefile based.
RAD My own brewed, Code generation with XSLT and DialogBlocks

Post Reply