- npm install --global --production windows-build-tools
If you have problem, try to run it manually from C:\Users\{user}\.windows-build-tools
- npm install -g node-gyp
- npm install --debug
node-gyp configure -- -f cmakenode-gyp configure --debug- Edit
build/Debug/CMakeLists.txtandbuild/Release/CMakeLists.txt- Replace
\\and\with/ - Add
../../prtscn_windows.cpptoscreener__cxx_srcslist - Add
set(CMAKE_CXX_STANDARD 17)
- Replace
- Right click on
build/Debug/CMakeLists.txtorbuild/Release/CMakeLists.txtand chooseLoad CMake Project - Copy and save these files in other place because
npm installclears them