Jump to content

CuraEngine Build Error 1


dalkurac

Recommended Posts

Posted · CuraEngine Build Error 1

After finally getting MinGW to work, I now face this build error. Could someone help me with this?

 

g++ -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=

"DEV" -isystem libs -O3 -fomit-frame-pointer -march=pentium4 -flto src/bridge.

cpp -o build/bridge.o

In file included from c:mingwlibgccmingw324.8.1includec++cmath:44:0,

from src/utils/intpoint.h:16,

from src/sliceDataStorage.h:5,

from src/bridge.h:5,

from src/bridge.cpp:2:

c:mingwincludemath.h: In function 'float hypotf(float, float)':

c:mingwincludemath.h:635:30: error: '_hypot' was not declared in this scope

{ return (float)(_hypot (x, y)); }

^

make: *** [build/bridge.o] Error 1

 

Does it have something to do with the include files MinGW is using?

 

  • Link to post
    Share on other sites

    Posted · CuraEngine Build Error 1

    Thank you! After getting rid of the -O3 option, it builds without any errors! You must remove the -O3 option located in the CFLAGS tag in the Makefile. I think it's under the Profile if statement.

     

  • 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.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
        • 3 replies
    ×
    ×
    • Create New...