Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vs2005 link error #20

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 1 comment
Closed

vs2005 link error #20

GoogleCodeExporter opened this issue Jul 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

hello!

What steps will reproduce the problem?
1.I used vs2005 build a vc project. The project static-link 'gtest.lib' , 
when i compiler , IDE prompt many link-errors( like : "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> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@QAE@XZ) has defined in msvcprtd.lib(MSVCP80D.dll)"

What version of the product are you using? On what operating system?
1.0.1

thanks;

Original issue reported on code.google.com by LeeHui.2...@gmail.com on 22 Jul 2008 at 8:44

@GoogleCodeExporter
Copy link
Author

This looks like you built gtest and your tests using different versions of 
MSVC.  If
that's the case, please build them using the same version of MSVC and link the
results.  Please re-open the issue if that doesn't fix your problem.

Original comment by shiq...@gmail.com on 5 Aug 2008 at 7:07

  • Changed state: Fixed
  • Added labels: OpSys-Windows, Type-Other
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant