vector error ( LNK2005) 2007-09-17 - By Mandy Llanes
Back Hello, i define type...
typedef vector<std::string> StringArray;
two atribute off classes are.,...
protected: StringArray _types;
protected: StringArray _fields;
but when i compile, in the link time i produce error...
Error 5 error LNK2005: "public: __thiscall std::basic_string<char,struct std: :char_traits<char>,class std::allocator<char> >::basic_string<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 &)" (??0? $basic_string@(protected)?$char_traits@(protected)@(protected)@@(protected)?$allocator@(protected)@(protected)@@(protected)@@(protected)@(protected)@@(protected)) already defined in mysqlpp.lib(mysqlpp.dll) StructTables.obj
any idea???
Thank's very much
|
|