Giter Club home page Giter Club logo

Comments (6)

deece avatar deece commented on July 17, 2024

Looks like it needs electron-builder

from deepnest.

zaped212 avatar zaped212 commented on July 17, 2024

@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.

from deepnest.

deece avatar deece commented on July 17, 2024

No sorry, i have had time to look into this. If you know how to, please send a PR.

from deepnest.

Krzewo avatar Krzewo commented on July 17, 2024

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?

from deepnest.

dsiee avatar dsiee commented on July 17, 2024

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 deepnest.

dsiee avatar dsiee commented on July 17, 2024

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 them

nvm use v8.16.0
npx node-gyp rebuild
cp ./build/Release/addon.node ./minkowski/Release/addon.node

from deepnest.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.