RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
248 stars 20 forks source link

Portable exe built with pkg failed to run #74

Open pixelpicosean opened 4 years ago

pixelpicosean commented 4 years ago

OS: windows 10 Node: 12.18.2

It keeps saying: Error: A dynamic link library (DLL) initialization routine failed. no matter which tool I use (tried pkg, nexe, electron and nw.js)

RobLoach commented 4 years ago

I've found the compiled raylib file had to be in the same directory. There's some similar issues in the pkg queue too...

pixelpicosean commented 4 years ago

Still not work even I put node-raylib.node, node-raylib.exp, node-raylib.lib all in the same directory of exe.

77Z commented 4 years ago

@pixelpicosean I have the same issue, I'm going to try a couple more things however.

77Z commented 4 years ago

Yeah.. the only thing I could find is putting the .node file next the the executable, but that's it.