question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows 10: Error: A dynamic link library (DLL) initialization routine failed.

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:50 (50 by maintainers)

github_iconTop GitHub Comments

1reaction
timkoniecznycommented, Aug 8, 2019

It was missing the videocontext directory in binding.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.

1reaction
timkoniecznycommented, Aug 6, 2019

npminstall.log

The terminal buffer is too small so it’s not the entire log. I’ll try and generate a proper one though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DLL error initializing after Windows 10 download
Loadlibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed.
Read more >
A dynamic link library (DLL) initialization routine failed" Error
When attempting to start Maple, the message LoadLibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed.
Read more >
Loadlibrary failed with error 1114: A Dynamic link library dll ...
Cause: This issue occurs on Windows laptops with AMD or NVIDIA graphics card, when the performance setting for the application in the graphic ......
Read more >
A dynamic link library (DLL) initialization routine failed - Stack ...
I've successfully built node.js addon, which works well with Node on Windows. Now, I want ...
Read more >
A dynamic link library (DLL) initialization routine failed #5940
Don't try to obtain those dlls. The only supported way to get those DLLs is to do a major Windows upgrade (e.g. from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found