dora icon indicating copy to clipboard operation
dora copied to clipboard

windows c++ not work

Open keiler2018 opened this issue 6 months ago • 4 comments

 Running `E:\work\dora\target\debug\examples\cxx-dataflow.exe`

2025-08-20T13:59:27.463793Z ERROR cxx_dataflow: The c++ example does not work on Windows currently because of a linker error

keiler2018 avatar Aug 21 '25 01:08 keiler2018

Do you mind sharing which linking error

haixuanTao avatar Aug 22 '25 04:08 haixuanTao

It seems that the c++-dataflow demo is not supported on the Windows platform.

In c++-dataflow/run.rs, there's a code snippet that explicitly disables execution on Windows:

if cfg!(windows) { tracing::error!( "The c++ example does not work on Windows currently because of a linker error" ); return Ok(()); }

XMatrixXiang avatar Aug 25 '25 01:08 XMatrixXiang

ah ok. That's possible. I wonder if this is fixable

haixuanTao avatar Aug 25 '25 08:08 haixuanTao

We never found the time to figure out the necessary linker flags for building on Windows. A pull request that removes this early-exit and adds the correct flags instead would be appreciated!

phil-opp avatar Aug 26 '25 14:08 phil-opp