cross-compiled exe file cannot find resources on windows
Author: dai1975Created Apr 12, 2026Updated Jun 16, 2026
Using latest(2026-04-12) dev branch:
- Build on WSL by
cargo build --target x86_64-pc-windows-gnu --release - copy output exe to windows folder
- run exe on windows
No text is rendered and console logs:
WARNING: encountered empty font familyFrom quick survey of the source codes, the font path is set as full path at compile time and it cannot found on windows. It is better that it is enabled to search font(or resource) files from related path or to be able to set package_root at runtime.
Source: makepad/makepad