Jump to content
  • Advertisement


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


Linker problems

This topic is 5806 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!