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

webgl.obj : error LNK2019 #247

Open
lqomg opened this issue Mar 2, 2023 · 0 comments
Open

webgl.obj : error LNK2019 #247

lqomg opened this issue Mar 2, 2023 · 0 comments

Comments

@lqomg
Copy link

lqomg commented Mar 2, 2023

I want to use gl in electron, and need to use electron-rebuild to recompile, but the following error occurs。

webgl.obj : error LNK2019: 无法解析的外
部符号 "__declspec(dllimport) public: class std::shared_ptr __cdecl v8::ArrayBuffer::GetBackingSt
ore(void)" (_imp?GetBackingStore@ArrayBuffer@v8@@qeaa?AV?$shared_ptr@VBackingStore@v8@@@std@@xz),该符号在函数 "public: __cdecl Nan::TypedArrayContents<char
::TypedArrayContents(class v8::Local)" (??0?$TypedArrayContents@D@Nan@@qeaa@V?$Local@VValue@v8@@@v8@@@z) 中被引用 [D:\work\electron
-quick-start\node_modules\gl\build\webgl.vcxproj]
D:\work\electron-quick-start\node_modules\gl\build\Release\webgl.node : fatal error LNK1120: 1 个无法解析的外部命令 [D:\work\electron-quick-start\node_modules\gl
\build\webgl.vcxproj]

node: v14.18.0
node-gyp: v9.3.1
electron: v23.0.0
gl: v6.0.2
electron-rebuild: v3.2.9
python: v3.11.x
window10 , node x64

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