Skip to content

electron + windows issue; aka win_delay_load_hook issue #17

@usagi

Description

@usagi

Issue

It will be happen if we want to use electron with node-bindgen on Windows:

error: linking with `link.exe` failed: exit code: 1181
  |
(...abbr...)
  = note: LINK : fatal error LNK1181: cannot open input file 'win_delay_load_hook.obj'

Reference

Coping method in neon

Note

Using dherman/electron-build-env makes it easy to prepare a workspace for repro.

  1. In the ./native directory, prepare a cdylib project use node-bindgen.
  2. In the ./ directory, prepare a package.json with electron-build-env and nj-cli in the devDependencies. And prepare "electron-build-env nj-cli build" in scripts such as experiment0.
  3. Run yarn experiment0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions