mozangle icon indicating copy to clipboard operation
mozangle copied to clipboard

eglCreateDeviceANGLE, eglReleaseDeviceANGLE build failed with i686-pc-windows-msvc target

Open xiaopengli89 opened this issue 4 years ago • 4 comments

use mozangle::egl::ffi as egl;

fn main() {
    let _ = unsafe { egl::eglCreateDeviceANGLE(0, std::ptr::null_mut(), std::ptr::null()) }
}
cargo build --target i686-pc-windows-msvc

output:

error LNK2019: 无法解析的外部符号 _eglCreateDeviceANGLE

Does mozangle support i686-pc-windows-msvc target?

xiaopengli89 avatar Jun 25 '21 12:06 xiaopengli89

What if you use the build-dlls feature?

jdm avatar Jun 25 '21 23:06 jdm

build-dlls feature doesn't help.

xiaopengli89 avatar Jun 26 '21 07:06 xiaopengli89

Try the egl feature as well?

jdm avatar Jun 26 '21 13:06 jdm

I tried egl feature, unfortunately the same error.

xiaopengli89 avatar Jun 26 '21 14:06 xiaopengli89