link error "wxObjectArrayTraitsForArrayOfUsers::Free(class User *)" Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
mael15
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 539
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

link error "wxObjectArrayTraitsForArrayOfUsers::Free(class User *)"

Post by mael15 »

I have a weird Link error:
systemstate.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: static void __cdecl endecrypt::wxObjectArrayTraitsForArrayOfUsers::Free(class User *)" (?Free@wxObjectArrayTraitsForArrayOfUsers@endecrypt@@SAXPEAVUser@@@Z)".
endecrypt is a dll that i wrote long ago, Free is used nowhere, wxObjectArrayTraitsForArrayOfUsers is completely unknown to Google and the wxWidgets source code.
What is going on here?!?
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: link error "wxObjectArrayTraitsForArrayOfUsers::Free(class User *)"

Post by doublemax »

wxObjectArrayTraitsForArrayOfUsers is a generated name:
https://github.com/wxWidgets/wxWidgets/ ... rrimpl.cpp

Maybe this gets you on the right track.
Use the source, Luke!
mael15
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 539
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

Re: link error "wxObjectArrayTraitsForArrayOfUsers::Free(class User *)"

Post by mael15 »

It did, thank you! I had to use WX_DECLARE_USER_EXPORTED_OBJARRAY instead of WX_DECLARE_OBJARRAY.
=D> =D> =D>
Post Reply