Error LNK1169 one or more multiply defined symbols found
Error LNK2005 "void __cdecl hue::set_text(class std::basic_string<char,struct std::char_traits,class std::allocator >)" (?set_text@hue@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in person.obj
Error LNK2005 "void __cdecl hue::set_background(class std::basic_string<char,struct std::char_traits,class std::allocator >)" (?set_background@hue@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in person.obj C++_Weak_ptr
Severity Code Description Project File Line Suppression State
Error LNK2005 "void __cdecl hue::set(int,int)" (?set@hue@@YAXHH@Z) already defined in person.obj C++_Weak_ptr
_there are still as many as 300 more link errors like this happend when i tried to compile the program.
_when you include color-console library inside a user defined class this link errors happen, but if you use it without being included
in any class no errors generate.
Error LNK1169 one or more multiply defined symbols found
Error LNK2005 "void __cdecl hue::set_text(class std::basic_string<char,struct std::char_traits,class std::allocator >)" (?set_text@hue@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in person.obj
Error LNK2005 "void __cdecl hue::set_background(class std::basic_string<char,struct std::char_traits,class std::allocator >)" (?set_background@hue@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in person.obj C++_Weak_ptr
Severity Code Description Project File Line Suppression State Error LNK2005 "void __cdecl hue::set(int,int)" (?set@hue@@YAXHH@Z) already defined in person.obj C++_Weak_ptr
_there are still as many as 300 more link errors like this happend when i tried to compile the program. _when you include color-console library inside a user defined class this link errors happen, but if you use it without being included in any class no errors generate.
please help me what shoul i do now?
FIX the problem sooooooooooooooooooon