bschwind / opencascade-rs

Rust bindings to the OpenCascade CAD Kernel
GNU Lesser General Public License v2.1
116 stars 22 forks source link

Add copy mingw runtime to the output directory #164

Open yk0n9 opened 10 months ago

yk0n9 commented 10 months ago

The binary generated from cross-compiling from linux to windows-gnu cannot run because it lacks the mingw runtime (mingw-w64 under the linux platform).

So I improved this build script so that it copies mingw's runtime to the output directory. In this way, we distribute binaries and these dynamic link libraries, and users do not need the mingw environment.

mingw-dll

But we need to wait for #163, the current occt cross-compiled product is still host, not target.