Commit 1f31e7f
committed
Fix Windows MSVC build errors
1. Fix lambda capture in smart_nframes() (vision_utils.cpp):
MSVC requires explicit capture of constexpr variable FRAME_FACTOR
in lambdas. Changed [] to [FRAME_FACTOR] for floor2/ceil2 lambdas.
2. Fix yaml-cpp linker errors for modeling_qwen3_vl target:
Add missing to target_link_libraries. The yaml-cpp
symbols were not propagated through openvino_genai_obj LINK_LIBRARIES
property, causing LNK2019 unresolved externals.1 parent 2388958 commit 1f31e7f
File tree
2 files changed
+4
-3
lines changed- samples/cpp/module_genai/utils
- src/cpp/src/modeling/samples
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments