I am trying to use mxflib with a dll i have that functions as a plug-in for another application.
using c++, mxflib v 1.0.1
It compiles, but i get a lot of errors just like the following one.... In my searches through google i have seen comments saying that inheriting from things like std::string can cause this since it doesnt have a virtual functions....
Does MXFLIB inherit from std::string???
Anyone have any insight or have experienced this before?
I used VS 2003 to compile both the DLL(my_plugin) and the mxflib.lib, both using the /MD for multi threaded dll.
Code:
my_plugin error LNK2005: "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??$?HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@0@Z) already defined in my_Plugin.obj