Archived

This topic is now archived and is closed to further replies.

Boogsie

Linker problems

Recommended Posts

Hi I have a Visual Studio .NET workspace with 5 projects in it. 4 of the projects produce static libraries, and the last preduces an .exe. 2 of the libraries are used by more than one other project. Now, my problem is: I get link errors for each of the functions defined in one library. They look like this.. Utility.lib warning LNK4006: "public: __thiscall Color32::Color32(unsigned char,unsigned char,unsigned char,unsigned char)" (??0Color32@@QAE@EEEE@Z) already defined in Framework.lib(Utility.obj); second definition ignored when the linker is linking the other projects. The strange thing is that it only happens for one of the projects that is used by more than one other project, and not the other. Can anyone point me in a direction to help remove these warnings, or possibly let me know how to get rid of them TIA

Share this post


Link to post
Share on other sites