Module did not self-register #2

Closed
opened 2022-10-14 02:43:41 +00:00 by vilianfung · 1 comment
vilianfung commented 2022-10-14 02:43:41 +00:00 (Migrated from github.com)

hello:
I compiled on windows 10 ,node v16.17.1 reported: Module did not self-register.But on mac and linux version works well,help pls!

hello: I compiled on windows 10 ,node v16.17.1 reported: Module did not self-register.But on mac and linux version works well,help pls!
akshayganeshen commented 2022-11-07 22:44:39 +00:00 (Migrated from github.com)

Hey! Sorry for the super slow response on this.

I haven't given this a proper test under Windows, but there are likely a bunch of missing linker flags on node_api_cgo_flags.go.

Will have to do some testing to find how node-gyp links a native addon, and just copy the linker flags from there.

Hey! Sorry for the super slow response on this. I haven't given this a proper test under Windows, but there are likely a bunch of missing linker flags on `node_api_cgo_flags.go`. Will have to do some testing to find how node-gyp links a native addon, and just copy the linker flags from there.
Sign in to join this conversation.
No description provided.