Jump to content
Ultimaker Community of 3D Printing Experts

CuraEngine Build Error 1


dalkurac
 Share

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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...