Description
Bug
The Windows build gives obs-nvenc and obs-nvenc-with-rust the same import-library/export-object paths. Both have OUTPUT_NAME obs-nvenc; only LIBRARY_OUTPUT_DIRECTORY differs. This already isolates the MODULE DLL; its import/export artifacts still use the shared archive output directory.
Reproduction / evidence
Full native CI run https://github.com/obs-rust/obs-studio/actions/runs/39634088997/job/119340768888 (unrelated VST PR #1625):
- 16:27:40 and 16:27:47: both links create
build_x64/plugins/obs-nvenc/RelWithDebInfo/obs-nvenc.libandobs-nvenc.exp. obs-nvenc-with-rust.vcxprojthen fails withLNK1104: cannot open file .../obs-nvenc.exp.plugins/obs-nvenc/CMakeLists.txtsets the Rust twin's library directory but omits runtime/archive directories. Earlier successful native logs confirm the DLL paths are already separate; the collision is specifically the .lib/.exp pair.
Expected / scope
Keep the installed production plugin path/name unchanged. Put the Rust twin's archive artifacts in its existing dedicated library directory, preserving both DLL paths and parity filenames. Add RED coverage that evaluates the actual CMake artifact destinations and demonstrates distinct DLL/import-library paths for both variants, then GREEN and native Windows validation through the normal merge queue. No C test or public C header changes.
This blocks reliable native validation of #854; that claim is released while this is handled sequentially.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 21, 2026
Claiming: Windows NVENC twin artifact isolation. 1. Reproduce output collisions using the actual CMake target properties in a focused RED fixture. 2. Isolate runtime/archive outputs alongside the existing library output while preserving production paths and parity filenames. 3. Run native Windows app validation, PR CI and normal merge queue, then return to released #854. First draft PR today.
[-]build: Windows NVENC twins collide on DLL and import-library outputs[/-][+]build: Windows NVENC twins collide on import-library and export-object outputs[/+]zackees commentedon Oct 21, 2026
Fixed by #1627 (merge e5a0f4f). The Rust twin now has a separate archive directory. Native Windows x64/ARM64 app builds passed; x64 linker logs show distinct .lib/.exp prefixes and unchanged DLL paths. CMake regression fixtures cover single/multi-config Windows and unchanged Linux/macOS module destinations. PR CI and merge-result CI 39638161435 passed. The extra full run had a canceled macOS ARM64 app job and is not claimed as full green. No remaining work for this Windows artifact issue.
build: isolate Windows NVENC twin import and export artifacts (obs-ru…