You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'called Result::unwrap() on an Err value: CrossCompilation', /home/runner/.cargo/registry/src/git.f4.workers.dev-1ecc6299db9ec823/khronos-egl-2.1.1/build.rs:7:10
The text was updated successfully, but these errors were encountered:
This comes from the pkg_config crate that is used in build.rs to find the EGL lib. It seems not happy with your cross compilation environment.
According to the doc, you need to set the PKG_CONFIG_ALLOW_CROSS environment variable to ignore this error:
The pkg-config command usually doesn't support cross-compilation, and this crate prevents it from selecting incompatible versions of libraries. Setting PKG_CONFIG_ALLOW_CROSS=1 disables this protection, which is likely to cause linking errors, unless pkg-config has been configured to use appropriate sysroot and search paths for the target platform.
If I understand well, since version 0.3.19 it is enabled by default if either PKG_CONFIG or PKG_CONFIG_SYSROOT_DIR are set (see #86).
Hitting an assert when building: https://github.com/gfx-rs/gfx/pull/3470/checks?check_run_id=1372587404#step:5:83
The text was updated successfully, but these errors were encountered: