Jump to content
rooiejoris

compile cura engine

Recommended Posts

Posted · compile cura engine

Hi,

I managed to install all the packages and dependecies for compiling the cura engine on mac OS 10.9.5 [woohoo!!], but when compiling i get an error which is source related I think:

[ 7%] Building CXX object CMakeFiles/_CuraEngine.dir/src/PrimeTower.cpp.o

/werk/github/CuraEngine/src/PrimeTower.cpp:54:40: error: variable-sized object may not be initialized

int max_object_height_per_extruder[extruder_count] = { -1 }; // unitialize all as -1

^~~~~~~~~~~~~~

1 error generated.

make[2]: *** [CMakeFiles/_CuraEngine.dir/src/PrimeTower.cpp.o] Error 1

make[1]: *** [CMakeFiles/_CuraEngine.dir/all] Error 2

make: *** [all] Error 2

any directions how to solve this...?!

cheers / joris

Share this post


Link to post
Share on other sites
Posted · compile cura engine

This code is not allowed according to c++ spec, but our standard compiler (GCC) accepts this.

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

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