Linker errors in windows test/perf build (Bug #3025)
Description
The windows build (MSVC11,x64,Win8) of perf/test is broken, giving linker errors such as:
"C:\Users\ls426\Projects\OpenCV\build-x64-110\INSTALL.vcxproj" (default target) (1) -> "C:\Users\ls426\Projects\OpenCV\build-x64-110\ALL_BUILD.vcxproj" (default target) (2) -> "C:\Users\ls426\Projects\OpenCV\build-x64-110\modules\calib3d\opencv_perf_calib3d.vcxproj" (default target) (28) -> (Link target) -> perf_cicrlesGrid.obj : error LNK2001: unresolved external symbol "class testing::internal::Mutex testing::internal::g _linked_ptr_mutex" (?g_linked_ptr_mutex@internal@testing@@3VMutex@12@A) [C:\Users\ls426\Projects\OpenCV\build-x64-110\m odules\calib3d\opencv_perf_calib3d.vcxproj] perf_pnp.obj : error LNK2001: unresolved external symbol "class testing::internal::Mutex testing::internal::g_linked_ ptr_mutex" (?g_linked_ptr_mutex@internal@testing@@3VMutex@12@A) [C:\Users\ls426\Projects\OpenCV\build-x64-110\modules\c alib3d\opencv_perf_calib3d.vcxproj] C:\Users\ls426\Projects\OpenCV\build-x64-110\bin\Debug\opencv_perf_calib3dd.exe : fatal error LNK1120: 1 unresolved e xternals [C:\Users\ls426\Projects\OpenCV\build-x64-110\modules\calib3d\opencv_perf_calib3d.vcxproj]
The issue is incorrect visibility of g_linker_ptr_mutex. This appears to be caused by the changes in the ts header by https://github.com/Itseez/opencv/commit/b8ed00bd642971877e1dfda6e0815d7211a7ace2. Reverting these fixes the build.
History
Updated by Alexander Shishkov almost 12 years ago
It can be fixed by https://github.com/Itseez/opencv/pull/887. Please review this request.
Updated by Alexander Shishkov almost 12 years ago
Oleg, could you please review pullrequest with solution https://github.com/Itseez/opencv/pull/887 ?
- Priority changed from Blocker to Normal
- Assignee changed from Andrey Kamaev to Oleg Sklyarov
Updated by Andrey Pavlenko almost 12 years ago
- Start date deleted (
2013-05-15) - Assignee changed from Oleg Sklyarov to Andrey Pavlenko
Updated by Andrey Pavlenko almost 12 years ago
- Status changed from Open to Done