Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas.obj : error LNK2019: unresolved external symbol ... GetBackingStore #2165

Closed
1 task done
GitMurf opened this issue Nov 24, 2022 · 1 comment
Closed
1 task done

Comments

@GitMurf
Copy link

GitMurf commented Nov 24, 2022

Issue or Feature

When trying to use electron-rebuild (due to native node module) I get the following error which from my research seems to potentially be because of using nan instead of n-api: Canvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::shared_ptr<class v8::BackingStore> __cdecl v8::ArrayBuffer::GetBackingStore(void)" (__imp_?GetBackingStore@ArrayBuffer@v 8@@QEAA?AV?$shared_ptr@VBackingStore@v8@@@std@@XZ) referenced in function "void __cdecl parsePNGArgs(class v8::Local<class v8::Value>,struct PngClosure &)" (?parsePNGArgs@@YAXV?$Local@VValue@v8@@@v8@@AEAUPngClosure@@@Z) [...\app\node_modules\canvas\build\canvas.vcxproj]

image

Your Environment

  • Version of node-canvas (output of npm list canvas or yarn list canvas): v2.10.2
  • Environment (e.g. node 4.2.0 on Mac OS X 10.8): node 18.12.1 on Windows 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant