servo / servo/mozangle

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

Open
#52 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
48
Forks
30
Avg merge
16h 45m
Merged PRs (30d)
5

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the Rust example and cargo build --target i686-pc-windows-msvc. Inspect mozangle's ANGLE build and symbol-export configuration for this target, then compare the generated library with the missing eglCreateDeviceANGLE and eglReleaseDeviceANGLE symbols. Done means the target either links successfully or its support status is documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.