Skip to content

Conversation

@afrdbaig7
Copy link

Fixes #1105
The previous failure was due to a linker issue during execution. This has now been fixed, and the example compiles and runs successfully on my local machine.

Fixes dora-rs#1105

- Add oleaut32 library for COM error handling (GetErrorInfo/SetErrorInfo)
- Configure operators to use dynamic runtime to match Rust
- Remove conflicting static runtime flag
- Update README with complete Windows linker flags

The example already had Windows-specific compiler flags, but was missing
oleaut32 (needed by the windows crate for COM error handling) and proper
runtime library configuration. This caused LNK2019 and LNK2038 errors.

Tested on Windows 11 with clang++. All C++ nodes and operators now
compile and link successfully.
@phil-opp
Copy link
Collaborator

Previous PR: #1300

@phil-opp
Copy link
Collaborator

Seems to have a similar CI error as #1300. Does it work for you locally?

@afrdbaig7
Copy link
Author

afrdbaig7 commented Jan 14, 2026

Yes it's working locally ,I think it's the runtime intialization issue as i have tested all c++ files are compiling and running locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows c++ not work

2 participants