JieweiWei / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

VS2005 link error #410

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT NOTE: PLEASE send issues or requests to
http://groups.google.com/group/googletestframework *instead of here*.
This issue tracker is NOT regularly monitored.

If you really need to create a new issue, please provide the information
asked for below.

What steps will reproduce the problem?

1.I'm trying to compile sampel_unittest.cc (WinXP + VS2005, Win7 32bit+VS2005)
2.I'm getting LNK2019 error occured.

sample1_unittest.obj : error LNK2019: "public: __thiscall 
testing::internal::AssertHelper::~AssertHelper(void)" 
(??1AssertHelper@internal@testing@@QAE@XZ) 

What version of Google Test are you using? On what operating system?
Source release 1.6.0

Please provide any additional information below, such as a code snippet.

Original issue reported on code.google.com by 0520dd...@gmail.com on 11 May 2012 at 7:37

Attachments:

GoogleCodeExporter commented 9 years ago
gtestd.lib in Debug folder is set in Project->Properties->Configuration 
properties -> Linker -> input -> Additional dependencies.

it solved.

Original comment by 0520dd...@gmail.com on 14 May 2012 at 7:25