-
Couldn't load subscription status.
- Fork 44
Closed
Labels
Description
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.
- In the
./nativedirectory, prepare a cdylib project use node-bindgen. - In the
./directory, prepare apackage.jsonwithelectron-build-envandnj-cliin thedevDependencies. And prepare"electron-build-env nj-cli build"in scripts such asexperiment0. - Run
yarn experiment0.