nodegui-plugin-webview
nodegui-plugin-webview copied to clipboard
Installation issue on Windows
I tried to install the webview on my Windows 10 machine but i ran multiple times into the following issue. I tried to install this on the starter project.
```
$ npm install nodegui-plugin-webview
> [email protected] postinstall D:\projects\test\node_modules\nodegui-plugin-webview
> node ./scripts/install.js && npm run build:addon
Minimal Qt 5.14.1 setup:
Skipping setup for Qt Declarative for Minimal Qt: 5.14.1 installation...
Skipping setup for Qt WebEngine for Minimal Qt: 5.14.1 installation...
Skipping setup for Qt WebChannel for Minimal Qt: 5.14.1 installation...
Skipping setup for Qt Location for Minimal Qt: 5.14.1 installation...
> [email protected] build:addon D:\projects\test\node_modules\nodegui-plugin-webview
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile
[
'C:\\Program Files\\nodejs\\node.exe',
'D:\\projects\\test\\node_modules\\nodegui-plugin-webview\\node_modules\\cmake-js\\bin\\cmake-js',
'compile'
]
info TOOL Using Visual Studio 16 2019 generator.
info CMD CONFIGURE
info RUN cmake "D:\projects\test\node_modules\nodegui-plugin-webview" --no-warn-unused-cli -G"Visual Studio 16 2019" -DCMAKE_JS_VERSION="5.3.2" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="D:\projects\test\node_modules\nodegui-plugin-webview\build" -DCMAKE_JS_INC="C:\Users\myUsername\.cmake-js\node-x64\v12.16.2\include\node;D:\projects\test\node_modules\nan" -DCMAKE_JS_SRC="D:/projects/test/node_modules/nodegui-plugin-webview/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.2" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\myUsername\.cmake-js\node-x64\v12.16.2\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.23.28106.4
-- The CXX compiler identification is MSVC 19.23.28106.4
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_plugin_webview_init QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Using QT installation for nodegui_plugin_webview QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Using QT installation for nodegui_plugin_webview QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Configuring done
-- Generating done
-- Build files have been written to: D:/projects/test/node_modules/nodegui-plugin-webview/build
info CMD BUILD
info RUN cmake --build "D:\projects\test\node_modules\nodegui-plugin-webview\build" --config Release
Microsoft (R)-Build-Engine, Version 16.3.2+e481bbf88 für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Checking Build System
Automatic MOC and UIC for target nodegui_plugin_webview
Automatic MOC and UIC for target nodegui_plugin_webview_init
Building Custom Rule D:/projects/test/node_modules/nodegui-plugin-webview/CMakeLists.txt
mocs_compilation.cpp
win_delay_load_hook.cc
Building Custom Rule D:/projects/test/node_modules/nodegui-plugin-webview/CMakeLists.txt
init.cpp
mocs_compilation.cpp
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(59,1): warning C4273: "NWebChannel::qt_static_metacall": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_static_metacall" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(66,70): warning C4273: "staticMetaObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "public: static QMetaObject const NWebChannel::staticMetaObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(66,70): error C2491: "NWebChannel::staticMetaObject": Definition von Statisches Datenmember für dllimport nicht zulässig [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(77,1): warning C4273: "NWebChannel::metaObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "metaObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(82,1): warning C4273: "NWebChannel::qt_metacast": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_metacast" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(92,1): warning C4273: "NWebChannel::qt_metacall": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
win_delay_load_hook.cc
main.cpp
qwebengineview_wrap.cpp
Code wird generiert...
Bibliothek "D:/projects/test/node_modules/nodegui-plugin-webview/build/Release/nodegui_plugin_webview_init.lib" und Objekt "D:/projects/test/node_modules/nodegui-plugin-webview/build/Release/nodegui_plugin_webview_init.exp" werden erstellt.
nodegui_plugin_webview_init.vcxproj -> D:\projects\test\node_modules\nodegui-plugin-webview\build\Release\nodegui_plugin_webview_init.node
qwebenginesettings_wrap.cpp
qwebenginepage_wrap.cpp
qwebchannel_wrap.cpp
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_metacall" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(10,53): warning C4273: "constructor": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(17,34): message : Siehe vorherige Definition von "public: static Napi::FunctionReference QWebChannelWrap::constructor" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(10,53): error C2491: "QWebChannelWrap::constructor": Definition von Statisches Datenmember für dllimport nicht zulässig [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(12,73): warning C4273: "QWebChannelWrap::init": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(18,23): message : Siehe vorherige Definition von "init" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(26,5): warning C4273: "QWebChannelWrap::QWebChannelWrap": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(19,3): message : Siehe vorherige Definition von "{ctor}" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(46,37): warning C4273: "QWebChannelWrap::~QWebChannelWrap": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(20,4): message : Siehe vorherige Definition von "{dtor}" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(48,53): warning C4273: "QWebChannelWrap::getInternalInstance": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(21,16): message : Siehe vorherige Definition von "getInternalInstance" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(50,77): warning C4273: "QWebChannelWrap::registerObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(23,15): message : Siehe vorherige Definition von "registerObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(65,79): warning C4273: "QWebChannelWrap::deregisterObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
Code wird generiert...
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(24,15): message : Siehe vorherige Definition von "deregisterObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "D:\projects\test\node_modules\nodegui-plugin-webview\build"
info CMD CONFIGURE
info RUN cmake "D:\projects\test\node_modules\nodegui-plugin-webview" --no-warn-unused-cli -G"Visual Studio 16 2019" -DCMAKE_JS_VERSION="5.3.2" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="D:\projects\test\node_modules\nodegui-plugin-webview\build" -DCMAKE_JS_INC="C:\Users\myUsername\.cmake-js\node-x64\v12.16.2\include\node;D:\projects\test\node_modules\nan" -DCMAKE_JS_SRC="D:/projects/test/node_modules/nodegui-plugin-webview/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.2" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\myUsername\.cmake-js\node-x64\v12.16.2\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.23.28106.4
-- The CXX compiler identification is MSVC 19.23.28106.4
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_plugin_webview_init QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Using QT installation for nodegui_plugin_webview QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Using QT installation for nodegui_plugin_webview QT_CMAKE_HOME_DIR:D:\projects\test\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\lib\cmake\Qt5
-- Configuring done
-- Generating done
-- Build files have been written to: D:/projects/test/node_modules/nodegui-plugin-webview/build
info CMD BUILD
info RUN cmake --build "D:\projects\test\node_modules\nodegui-plugin-webview\build" --config Release
Microsoft (R)-Build-Engine, Version 16.3.2+e481bbf88 für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Checking Build System
Automatic MOC and UIC for target nodegui_plugin_webview
Automatic MOC and UIC for target nodegui_plugin_webview_init
Building Custom Rule D:/projects/test/node_modules/nodegui-plugin-webview/CMakeLists.txt
mocs_compilation.cpp
win_delay_load_hook.cc
Building Custom Rule D:/projects/test/node_modules/nodegui-plugin-webview/CMakeLists.txt
init.cpp
mocs_compilation.cpp
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(59,1): warning C4273: "NWebChannel::qt_static_metacall": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_static_metacall" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(66,70): warning C4273: "staticMetaObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "public: static QMetaObject const NWebChannel::staticMetaObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(66,70): error C2491: "NWebChannel::staticMetaObject": Definition von Statisches Datenmember für dllimport nicht zulässig [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(77,1): warning C4273: "NWebChannel::metaObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "metaObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(82,1): warning C4273: "NWebChannel::qt_metacast": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_metacast" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview_autogen\include_Release\U7NFRDUAAJ/moc_nwebchannel.cpp(92,1): warning C4273: "NWebChannel::qt_metacall": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
win_delay_load_hook.cc
main.cpp
qwebengineview_wrap.cpp
Code wird generiert...
Bibliothek "D:/projects/test/node_modules/nodegui-plugin-webview/build/Release/nodegui_plugin_webview_init.lib" und Objekt "D:/projects/test/node_modules/nodegui-plugin-webview/build/Release/nodegui_plugin_webview_init.exp" werden erstellt.
nodegui_plugin_webview_init.vcxproj -> D:\projects\test\node_modules\nodegui-plugin-webview\build\Release\nodegui_plugin_webview_init.node
qwebenginesettings_wrap.cpp
qwebenginepage_wrap.cpp
qwebchannel_wrap.cpp
D:\projects\test\node_modules\nodegui-plugin-webview\src/cpp/QWebChannel/nwebchannel.hpp(11,3): message : Siehe vorherige Definition von "qt_metacall" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(10,53): warning C4273: "constructor": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(17,34): message : Siehe vorherige Definition von "public: static Napi::FunctionReference QWebChannelWrap::constructor" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(10,53): error C2491: "QWebChannelWrap::constructor": Definition von Statisches Datenmember für dllimport nicht zulässig [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(12,73): warning C4273: "QWebChannelWrap::init": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(18,23): message : Siehe vorherige Definition von "init" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(26,5): warning C4273: "QWebChannelWrap::QWebChannelWrap": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(19,3): message : Siehe vorherige Definition von "{ctor}" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(46,37): warning C4273: "QWebChannelWrap::~QWebChannelWrap": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(20,4): message : Siehe vorherige Definition von "{dtor}" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(48,53): warning C4273: "QWebChannelWrap::getInternalInstance": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(21,16): message : Siehe vorherige Definition von "getInternalInstance" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(50,77): warning C4273: "QWebChannelWrap::registerObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(23,15): message : Siehe vorherige Definition von "registerObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.cpp(65,79): warning C4273: "QWebChannelWrap::deregisterObject": Inkonsistente DLL-Bindung. [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
Code wird generiert...
D:\projects\test\node_modules\nodegui-plugin-webview\src\cpp\QWebChannel\qwebchannel_wrap.h(24,15): message : Siehe vorherige Definition von "deregisterObject" [D:\projects\test\node_modules\nodegui-plugin-webview\build\nodegui_plugin_webview.vcxproj]
ERR! OMG Process terminated: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:addon script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\myUsername\AppData\Roaming\npm-cache\_logs\2020-11-11T01_46_24_343Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node ./scripts/install.js && npm run build:addon`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\myUsername\AppData\Roaming\npm-cache\_logs\2020-11-11T01_46_24_719Z-debug.log
```
Sorry that the log is in german but the main issue is Build has been failed, trying to do a full rebuild.. The only issue i see is error C2491: "QWebChannelWrap::constructor"
Maybe you @a7ul or @jardenliu have an idea?
Trying the same steps on my linux machine works fine. Only windows causes problems.