mmedia link error

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
Abdulhamid Dhaiban
In need of some credit
In need of some credit
Posts: 5
Joined: Wed Jan 05, 2005 10:55 pm
Location: egypt - cairo

mmedia link error

Post by Abdulhamid Dhaiban » Thu Jan 06, 2005 2:07 pm

Dear friends,

Here are the detail about my link error :

os : windows 98.
compiler : visual studio 6.

I am trying to run contrib\samples\mmedia sample code which use contrib\lib\mmedia.lib and the resulted errors are 71 link error
like this one:

mmedia.lib(sndfile.obj) : error LNK2005: "public: __thiscall wxString::~wxString(void)" ([email protected]@[email protected]) already defined in wxmsw24.lib(wxmsw24.dll)

not only for wxString also the error occure for other classes like wxWindowBase and wxWindow ..etc.

I think in my problem, the conflict occur between mmedia.lib and wxmsw24.lib

please friends, simplified solution brefered.

Thank you very much...

Dhaiban :idea:
Plan before you begin

Post Reply