Jump to content
UltiMaker Community of 3D Printing Experts

Cura compiling


Recommended Posts

Posted · Cura compiling

Hello, and thanks you very much for this really nice program you created.

I'm having some problems compiling the source of Cura that i got from github. I'm compiling with g++ but the line you provided in the makefile doesn't work. I have tried many other ways, but there is always something that doesn't work properly. So i just wanted to know if there are some libraries i need to add, or some specific things i have to do.

Maybe it's my fault, so i'm just checking.



ps- I'm talking about the Slicing Engine, not about the GUI


  • Link to post
    Share on other sites

    • 2 weeks later...
    Posted · Cura compiling

    Well i still have some compiling problems...trying to do it with codeblocks and the gnu gcc compiler.

    Here is the compiler log(two errors). I'm obviously missing something, just can't figure out what.


    C:\...\CuraEngine-master\utils\intpoint.h||In member function `int32_t Point3::vSize()':|
    C:\...\CuraEngine-master\utils\intpoint.h|60|warning: converting to `int32_t' from `double'|
    C:\...\CuraEngine-master\utils\intpoint.h||In function `int32_t vSize(const Point&)':|
    C:\...\CuraEngine-master\utils\intpoint.h|108|warning: converting to `int32_t' from `double'|
    C:\...\CuraEngine-master\utils\intpoint.h||In member function `Point PointMatrix::apply(Point) const':|
    C:\...\CuraEngine-master\utils\intpoint.h|170|warning: passing `double' for converting 1 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\utils\intpoint.h|170|warning: passing `double' for converting 2 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\utils\intpoint.h||In member function `Point PointMatrix::unapply(Point) const':|
    C:\...\CuraEngine-master\utils\intpoint.h|175|warning: passing `double' for converting 1 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\utils\intpoint.h|175|warning: passing `double' for converting 2 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\utils\intpoint.h||In function `Point centerOfMass(const ClipperLib::Polygon&)':|
    C:\...\CuraEngine-master\utils\intpoint.h|213|warning: passing `double' for converting 1 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\utils\intpoint.h|213|warning: passing `double' for converting 2 of `ClipperLib::IntPoint::IntPoint(ClipperLib::long64, ClipperLib::long64)'|
    C:\...\CuraEngine-master\modelFile\..\utils\floatpoint.h||In member function `Point3 FMatrix3x3::apply(FPoint3)':|
    C:\...\CuraEngine-master\modelFile\..\utils\floatpoint.h|79|warning: passing `double' for converting 1 of `Point3::Point3(int32_t, int32_t, int32_t)'|
    C:\...\CuraEngine-master\modelFile\..\utils\floatpoint.h|79|warning: passing `double' for converting 2 of `Point3::Point3(int32_t, int32_t, int32_t)'|
    C:\...\CuraEngine-master\modelFile\..\utils\floatpoint.h|79|warning: passing `double' for converting 3 of `Point3::Point3(int32_t, int32_t, int32_t)'|
    C:\...\CuraEngine-master\slicer.h||In member function `void SlicerLayer::makePolygons(OptimizedVolume*, bool, bool)':|
    C:\...\CuraEngine-master\slicer.h|126|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\slicer.h|127|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\slicer.h|191|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\slicer.h|192|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\slicer.h|196|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\slicer.h|197|warning: converting of negative value `-0x000000001' to `unsigned int'|
    C:\...\CuraEngine-master\infill.h||In function `void generateLineInfill(const ClipperLib::Polygons&, ClipperLib::Polygons&, int, int, int, double)':|
    C:\...\CuraEngine-master\infill.h|69|error: 'class std::vector<int64_t, std::allocator<int64_t> >' has no member named 'data'|
    C:\...\CuraEngine-master\bridge.h||In function `int bridgeAngle(SliceLayerPart*, SliceLayer*)':|
    C:\...\CuraEngine-master\bridge.h|56|warning: converting to `int' from `double'|
    C:\...\CuraEngine-master\support.h||In function `void generateSupportGrid(SupportStorage&, OptimizedModel*)':|
    C:\...\CuraEngine-master\support.h|87|error: 'class std::vector<SupportPoint, std::allocator<SupportPoint> >' has no member named 'data'|
    C:\...\CuraEngine-master\gcodeExport.h||In member function `void GCodePlanner::forceMinimalLayerTime(double, int)':|
    C:\...\CuraEngine-master\gcodeExport.h|533|warning: converting to `int' from `double'|
    C:\...\CuraEngine-master\gcodeExport.h|540|warning: passing `double' for converting 1 of `void GCodePlanner::setExtrudeSpeedFactor(int)'|



    Thanks for the future help


  • Link to post
    Share on other sites

    Posted · Cura compiling

    Looks like your version of the compiler is missing support for the data() function in std::vector:



  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 29 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    • Create New...