Page 1 of 1

wxToolCountListNode ?

Posted: Thu Apr 03, 2008 9:09 pm
by lotharbehrens
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

Posted: Tue Aug 12, 2008 5:27 pm
by lollisoft
It was my bug.

WX_DECLARE_LIST AND WX_DEFINE_LIST were used both in the header file.

Lothar