electron-userland / electron-userland/electron-webpack

add c++ modules, symbol lookup error

Open
#237 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

I'm trying to add a native c++ module to my current electron application. I've used "node-gyp configure" to create a node module out of the code. I can't find instructions in the documentation that for how to import it into the application and use it. Any tips, links that can help me with this?

copy of the error:
`~/app/node_modules/electron/dist/electron --inspect=5858 ~/app/dist/main/main.js: symbol lookup error: ~/app/static/build/Release/capi.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.