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

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
Sign in to follow this  

×
×
  • 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!