exokit: Windows 10: Error: A dynamic link library (DLL) initialization routine failed.
Describe the bug What happened, and what did you expect to happen?
I’m getting the following Error: A dynamic link library (DLL) initialization routine failed. when running the A-Frame Painter example. Similar issue to #608 and #924 , my CPU is newer though, from 2017. I don’t have the Leap Motion SDK installed.
Steps to reproduce
Installed exokit on Windows 10 from get.exokit.org.
In CMD, ran C:\exokit\scripts> exokit https://aframe.io/a-painter/
Got: `C:\exokit\scripts>IF EXIST “C:\exokit\scripts..\node\node.exe” (“C:\exokit\scripts..\node\node.exe” “–experimental-worker” “C:\exokit\scripts..\src\index.js” ) ELSE (node “–experimental-worker” “C:\exokit\scripts..\src\index.js” ) internal/modules/cjs/loader.js:750 return process.dlopen(module, path.toNamespacedPath(filename)); ^
Error: A dynamic link library (DLL) initialization routine failed. \?\C:\exokit\build\Release\exokit.node at Object.Module._extensions…node (internal/modules/cjs/loader.js:750:18) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Module.require (internal/modules/cjs/loader.js:657:17) at require (internal/modules/cjs/helpers.js:22:18) at C:\exokit\src\native-bindings.js:19:18 at Object.<anonymous> (C:\exokit\src\native-bindings.js:26:3) at Module._compile (internal/modules/cjs/loader.js:721:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:732:10)`
System information:
-
OS: Windows 10 Home 1903
-
Node version: v12.2.0
-
Npm version: 6.9.0
-
Is your Exokit downloaded or built? Downloaded.
-
CPU: Intel Pentium Silver N5000
Cheers!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 50 (50 by maintainers)
It was missing the
videocontextdirectory inbinding.gyp. I must’ve missed that one when I converted the globs. The AFrame Painter example works as expected now. Hooray!Just for reference, here’s the binding.gyp that worked for me (ignore the .txt ending): binding.gyp.txt
Thanks.
npminstall.log
The terminal buffer is too small so it’s not the entire log. I’ll try and generate a proper one though.
Cleaning up the dead path: https://github.com/exokitxr/exokit/pull/1380
I think the globs are actually the problem. I just replaced one with the full file paths, and it found it.
I believe that error is simply because the actual build has not occured, so there is nothing to start.
Sorry, I’ve added the variable
GYP_MSVS_VERSION=2017, so that should be good.I’ll give it a go.