art-den / astra_lite

AstraLite is software for deepsky astrophotography and live stacking on low power PCs (like rapsberry Pi or Orange Pi)
MIT License
25 stars 1 forks source link

windows build error #12

Open wbendick opened 2 months ago

wbendick commented 2 months ago

Hi I'm new to this build system, can anyone identify the cause of this error?

PS C:\Users\wbend\Documents\GitHub\astra_lite> cargo build --release Compiling glib-sys v0.18.1 Compiling gobject-sys v0.18.0 Compiling gio-sys v0.18.1 Compiling gdk-sys v0.18.0 Compiling pango-sys v0.18.0 Compiling gdk-pixbuf-sys v0.18.0 Compiling atk-sys v0.18.0 Compiling cairo-sys-rs v0.18.2 Compiling gtk-sys v0.18.0 Compiling astra_lite v0.0.130 (C:\Users\wbend\Documents\GitHub\astra_lite) Compiling flexi_logger v0.24.2 error: failed to run custom build command for astra_lite v0.0.130 (C:\Users\wbend\Documents\GitHub\astra_lite)

Caused by: process didn't exit successfully: C:\Users\wbend\Documents\GitHub\astra_lite\target\release\build\astra_lite-39b125a05a29b828\build-script-build (exit code: 101) --- stderr thread 'main' panicked at C:\Users\wbend.cargo\registry\src\index.crates.io-6f17d22bba15001f\embed-resource-1.8.0\src\windows_not_msvc.rs:44:23: Couldn't to execute windres to compile "mswin_stuff/win_resource.rc" into "C:\Users\wbend\Documents\GitHub\astra_lite\target\release\build\astra_lite-1c83f3ba88653228\out/libwin_resource.a": program not found note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... PS C:\Users\wbend\Documents\GitHub\astra_lite>

art-den commented 1 month ago

@wbendick Just check windres.exe is available in any path's folder