Skip to content

Build instructions #1

Description

@deece

Add build instructions to README

Activity

  1. deece commented on Jan 2, 2019

    @deece
    Author

    Looks like it needs electron-builder

  2. zaped212 commented on Feb 21, 2019

    @zaped212

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

  3. deece commented on Feb 21, 2019

    @deece
    Author

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

  4. Krzewo commented on Mar 2, 2019

    @Krzewo

    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?

  5. dsiee commented on Jul 15, 2019

    @dsiee

    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.

  6. dsiee commented on Aug 5, 2019

    @dsiee

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions