Repository navigation
Build instructions #1
Description
Activity
Looks like it needs electron-builder
@deece, has there been any progress on getting build instructions setup?
There are some changes I would like to propose and will need the build instructions for it.No sorry, i have had time to look into this. If you know how to, please send a PR.
Hey guys!
I've recently started using deepnest and I've had some issues with it but I will discuss it seperately.
Can you supply me with build instructions for windows?I have been trying to build this project without success. Thus far I have done:
Install NodeJS
Install electron
Download Clone
open PowerShell as admin in root of prog folder
npm install -g node-gyp
npm install --global --production windows-build-tools(this required adding powershell to the path Path is an environment variable which you can set in "advanced system settings" (Control Panel -> System -> Advanced System Settings -> Environment Variables / Or press "Windows key" + "Pause key" -> Advanced System Settings -> Environment Variables ))
Now I am getting errors from the boost libraries when running npm install in the directory of my clone:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
addon.cc
minkowski.cc
win_delay_load_hook.cc
c:\deepnest-master\minkowski.h(3): fatal error C1083: Cannot open include file: 'boost/polygon/polygon.hpp': No such fi
le or directory (compiling source file ..\minkowski.cc) [C:\Deepnest-master\build\addon.vcxproj]
c:\deepnest-master\minkowski.h(3): fatal error C1083: Cannot open include file: 'boost/polygon/polygon.hpp': No such fi
le or directory (compiling source file ..\addon.cc) [C:\Deepnest-master\build\addon.vcxproj]This has really stumped me thus far. I do not come from a background related to all this node and buildtools magic.\ :)
I'm keen for any input on how to proceed and thought i would put this up as a starting point in case someone else wants to jump in from here.
From a closed issue by @blackmd on building the project:
Okay, for anyone else having trouble with this, this worked for me
make sure to use node v8.16.0 which is compatible with the node version in the electron version this app uses rebuild the native bindings copy the compiled bindings to where the app looks for themnvm use v8.16.0
npx node-gyp rebuild
cp ./build/Release/addon.node ./minkowski/Release/addon.node
Add build instructions to README