Jump to content
Ultimaker Community of 3D Printing Experts
mgomes

Help building Cura for development

Recommended Posts

Hi,

For several days I am trying to build Cura from Github and until know I haven't been able to do it...

I started compiling cura-build repository and got the error:

CMake Error at CMakeLists.txt:23 (get_filename_component):

 get_filename_component unknown component CACHE

n9yty had the same issue (#109). Ghostkeeper advised him to firstly build cura-build-environment repository. SO I TRIED...

I compiled with and without the option "INCLUDE_DEVEL" by calling:

cmake .. -DCMAKE_INSTALL_PREFIX=/Users/mgomes/git/cura-build-environment/InstallDir  -DCMAKE_BUILD_TYPE=Release -DINCLUDE_DEVEL=../devel

before make.

I'm having the error:

Makefile:10008: warning: overriding commands for target `.obj/qcore_foundation.o'

Makefile:9910: warning: ignoring old commands for target `.obj/qcore_foundation.o'

painting/qcoregraphics.mm:74:39: error: use of undeclared identifier 'InvalidContext'

   require_action(inContext != NULL, InvalidContext, err = paramErr);

painting/qcoregraphics.mm:75:38: error: use of undeclared identifier 'InvalidBounds'

   require_action(inBounds != NULL, InvalidBounds, err = paramErr);

painting/qcoregraphics.mm:76:37: error: use of undeclared identifier 'InvalidImage'

   require_action(inImage != NULL, InvalidImage, err = paramErr);

Found this Qt bug report and edited qcoregraphics_p.h and qcoregraphics.mm.

Then I got errors relating with MD5 value from Protobuf. The expected value was 845b39e4b7681a2ddfd8c7f528299fbb but I was continuously receiving the hash 7349a7f43433d72c6d805c6ca22b7eeb.

Then the same happened with PythonRequests expecting hash b48a65baede6ba78d276ff32a13a0671 and receiving ee668fdec015db44b3a85ae8c877d3d7.

And finally I get this error:

/usr/local/bin/gfortran -Wall -g -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-3.5/build/src.macosx-10.12-x86_64-3.5/scipy/fftpack/_fftpackmodule.o build/temp.macosx-10.12-x86_64-3.5/scipy/fftpack/src/zfft.o build/temp.macosx-10.12-x86_64-3.5/scipy/fftpack/src/drfft.o build/temp.macosx-10.12-x86_64-3.5/scipy/fftpack/src/zrfft.o build/temp.macosx-10.12-x86_64-3.5/scipy/fftpack/src/zfftnd.o build/temp.macosx-10.12-x86_64-3.5/build/src.macosx-10.12-x86_64-3.5/scipy/fftpack/src/dct.o build/temp.macosx-10.12-x86_64-3.5/build/src.macosx-10.12-x86_64-3.5/scipy/fftpack/src/dst.o build/temp.macosx-10.12-x86_64-3.5/build/src.macosx-10.12-x86_64-3.5/fortranobject.o -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/Users/mgomes/git/cura-build-environment/InstallDir/lib -Lbuild/temp.macosx-10.12-x86_64-3.5 -ldfftpack -lfftpack -lgfortran -o build/lib.macosx-10.12-x86_64-3.5/scipy/fftpack/_fftpack.cpython-35-darwin.so

ld: library not found for -lSystem

I am running OSX 10.12.6. Any help?

Edited by Guest

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

Announcements

  • Our picks

    • Architect Design Contest | Vehicles.
      We're open for entries! - Design and submit your 3D designs of architectural entourage - vehicles - for a chance to win a large filament pack. Presenting an idea, an architectural design or something as big as an urban project isn't easy. A scaled model can really help to get your idea across.
      • 19 replies
    • What The DfAM?
      I'm Steve Cox, an experienced engineer familiar with 3D printing. I wanted to share some DfAM guidelines with this community to help and make stronger parts.
      I'm also an Autodesk Certified Instructor for Fusion 360, so many of the images in ...
        • Thanks
      • 18 replies
×

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!