Open 2284730142 opened 3 months ago
https://www.electronjs.org/docs/latest/tutorial/using-native-node-modules#%E5%85%B3%E4%BA%8Ewin_delay_load_hook%E7%9A%84%E8%AF%B4%E6%98%8E I tried the methods in this document, but still encountered the problems mentioned above. It's really frustrating.
Maybe adding support for node-addon-api
in binding.gyp
could help Electron compile successfully. I'm not familiar with this configuration, so if anyone knows how to adjust it, please share the updated configuration! Thank you very much.
Introduction
I am currently trying to build my project in the specified environment, but I am consistently encountering an issue that is preventing the build from completing. I have looked through various posts related to Electron, but they primarily address canvas-related problems rather than those concerning OpenGL. If possible, I would appreciate a tutorial or guidance on this topic. Any help would be greatly appreciated.
Error
I am receiving the following error:
webgl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::shared_ptr<class v8::BackingStore> __cdecl v8::ArrayBuffer::GetBackingStore(void)" referenced in function "public: __cdecl Nan::TypedArrayContents<char>::TypedArrayContents<char>(class v8::Local<class v8::Value>)"