Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiaopengli89 opened this issue Jun 25, 2021 · 4 comments

Comments

@xiaopengli89
Copy link

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?

@jdm
Copy link
Member

jdm commented Jun 25, 2021

What if you use the build-dlls feature?

@xiaopengli89
Copy link
Author

build-dlls feature doesn't help.

@jdm
Copy link
Member

jdm commented Jun 26, 2021

Try the egl feature as well?

@xiaopengli89
Copy link
Author

I tried egl feature, unfortunately the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants