Jump to content
  • Advertisement

Archived

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

Del Snd of Thndr

Retail vs. Debug

This topic is 5558 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

I have a rather interesting question to ask. At work, I am doing some testing on code written by another company. My job is to ensure that the code outputs correct calculations for some 65 different scenarios. Often, I have to go and change some of the code. I usually create a debug executable and step through the section of code that I changed to make sure everything is working correctly. Then, I have to make a retail executable because it was the standard set forth in this project. When I go to make the retail executable, I get a warning that a LIB is incompatible with the other libraries in the project. However, I do not get this warning when making the debug executable. So my question is: What is the difference between creating a debug executable and a retail executable such that would trip such a warning? I''m sorry to say that I don''t have the warning with me (I''m not at work atm), and I can''t show any of the code. I know I''m not giving much, but could someone at least point me in the right direction? Thanks in advance. ~del

Share this post


Link to post
Share on other sites
Advertisement
I''m assuming that you are using a version of VC++. The first place to check for this sort of thing is in the VC++ manual/help files. All warnings and error codes are explained there. Not enough info to go on, but it sounds like you are linking to a lib built in multi-threaded mode with a project configured to be built using single-threaded libs (or vice-versa). Again, that is just a wild guess but is a common cause of this sort of error in VC.

Share this post


Link to post
Share on other sites
i assume that the lib is compiled as debug version. so you have to compile the lib too as retail version. if you don''t have the sources you have to look for the retail compiled version.

Share this post


Link to post
Share on other sites
You mean the "this library wil not be linked because..." warning? AFAIK, you can ignore that one. I get that one all the time. Just as long as it''s a warning and not an error.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!