Jump to content
Sign in to follow this  
dalkurac

CuraEngine Build Error 1

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?

 

Share this post


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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 65 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!