ddavis2speedray / googletest

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

Unresolved symbol when using parameterized test #292

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using WXP, MSVC 2008 with gtest 1.5 built as DLL.

I have a parameterized testcase (TEST_P) cpp file which is also linked into 
DLL. When building the testcase, I get the following linker error:

Error   1   error LNK2001: unresolved external symbol "class 
testing::internal::Mutex testing::internal::g_linked_ptr_mutex" 
(?g_linked_ptr_mutex@internal@testing@@3VMutex@12@A)    test_Mechanic.obj

Original issue reported on code.google.com by constant...@gmail.com on 11 Jun 2010 at 7:56

GoogleCodeExporter commented 9 years ago
We do have tests in the test/ directory to verify this scenario and they pass.  
Are you still seeing the error?

Original comment by w...@google.com on 17 Jun 2010 at 7:48

GoogleCodeExporter commented 9 years ago
No repro.  Closing for now for lack of user feedback.

Original comment by w...@google.com on 22 Jul 2010 at 4:52