GithubHelp home page GithubHelp logo

How do I get SIP on Windows? about libarcus HOT 1 CLOSED

sunheat avatar sunheat commented on August 14, 2024
How do I get SIP on Windows?

from libarcus.

Comments (1)

Ghostkeeper avatar Ghostkeeper commented on August 14, 2024

Stop me right here and point me the right path if there is a way around it (building libArcus, or SIP in turn).

There is a way around it, but as a result you won't be able to use Cura's front-end. You'd only be able to use CuraEngine as a command-line program, and won't be able to use the profiles that come with Cura. Not recommended.

I did try finding an already built binary copy of libArcus for Windows but couldn't find it anywhere on the internet about 2 months ago. Stop me right here if there is a shortcut.

You could install the mainline Cura releases and pick out the Python package for Arcus from the installation folder (Arcus.pyd in the lib subfolder). However Arcus comes distributed in two parts: One side for Python and the other side for C++. The C++ part is packed into CuraEngine.exe so you can't just copy it there. For a full build of Cura you'll need to build Arcus indeed. And for that you'll need Sip.

Sip is one of the most annoying dependencies since there is hardly any community around it as far as I could find, and documentation by Riverbank is indeed quite sparse.

We have instructions on how to build Sip and Arcus for running Cura from source in the wiki of Cura: https://github.com/Ultimaker/Cura/wiki/Running-Cura-from-Source-on-Windows#sip
The instructions there seem quite straightforward, and are indeed what you've already done. However note that they depend on having executed the instructions before it. In particular:

  • Use the x64 Native Tools Command Prompt for VS 2019, rather than just any command line program.
  • Make sure you use Python 3.8.

Also note that you'll have to run this a second time for CuraEngine, but using MinGW, as listed here: https://github.com/Ultimaker/Cura/wiki/Running-Cura-from-Source-on-Windows#curaengine This is because CuraEngine only supports compilation with MinGW, but Python bindings need to be compiled with MSVC.

from libarcus.

Related Issues (20)

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.