Commit 84d5e5d
committed
fix(compat.opencv): link ole32 on Windows (CoCreateGuid in cv::tempfile)
/MT fix cleared the CRT mismatch; the last consumer-link error was a single
unresolved external __imp_CoCreateGuid (opencv_core cv::tempfile), a Win32 COM
API in ole32.lib. Add -lole32 to the Windows ldflags (clang-cl resolves it off
the Windows SDK lib path). Everything else — clang-cl build, install, layout,
static libs — already links.1 parent 9a113bd commit 84d5e5d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
0 commit comments