Coder Social home page Coder Social logo

cura-build's People

Contributors

alekseisasin avatar appesteijn avatar awhiemstra avatar bagelorb avatar come-maiz avatar derekhe avatar diegopradogesto avatar evtrados avatar fieldofview avatar ghostkeeper avatar jackha avatar jellespijker avatar jmerriweather avatar johannaa avatar johntron avatar konskarm avatar lipufei avatar marcotvm avatar nallath avatar ninovanhooff avatar oliv3r avatar peteruithoven avatar probonopd avatar rburema avatar rvdh avatar sedwards2009 avatar sm3dp avatar smartavionics avatar thopiekar avatar zjbarg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cura-build's Issues

Fails to build in ubuntu 16.04: siplib.c:20:20: fatal error: Python.h: No such file or directory

I'm following the steps in: https://github.com/Ultimaker/cura-build#ubuntulinux
During make I'm getting:
[ 4%] Performing build step for 'Sip'
siplib.c:20:20: fatal error: Python.h: No such file or directory
compilation terminated.
Makefile:29: recipe for target 'siplib.o' failed

My steps to reproduce:
$ sudo apt-get install python3 python3-dev python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtquick python3-pyqt5.qtsvg python3-numpy python3-serial python3-opengl qml-module-qtquick2 qml-module-qtquick-window2 qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-controls
$ git clone [email protected]:Ultimaker/cura-build.git
$ cd cura-build/
$ mkdir build
$ cd build/
$ cmake ..
$ make

Full make output: https://paste.ubuntu.com/16210245/

make error on win8.1

I have done everyting about this cura-build.when I get close to the success,the cmd tell me error
-- Installing: C:/Users/kk-pc/Desktop/cura-build-master/build/inst/./arduino/ard
uino.cat
-- Installing: C:/Users/kk-pc/Desktop/cura-build-master/build/inst/./arduino/ard
uino.inf
-- Installing: C:/Users/kk-pc/Desktop/cura-build-master/build/inst/./arduino/dpi
nst32.exe
-- Installing: C:/Users/kk-pc/Desktop/cura-build-master/build/inst/./arduino/dpi
nst64.exe
[100%] Completed 'cura-binary-data'
[100%] Built target cura-binary-data
Scanning dependencies of target build_exe
Running py2exe
Traceback (most recent call last):
File "setup_win32.py", line 13, in
import Arcus
ImportError: No module named 'Arcus'
CMakeFiles\build_exe.dir\build.make:56: recipe for target 'build_exe' failed
mingw32-make[2]: *** [build_exe] Error 1
CMakeFiles\Makefile2:526: recipe for target 'CMakeFiles/build_exe.dir/all' faile
d
mingw32-make[1]: *** [CMakeFiles/build_exe.dir/all] Error 2
makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

I got 100%,but it tell me error .I don't how to make it

Error on building Cura on Windows 7

I run script on windows7 with mingw32-make
Cmake with default configures (Not any modify).
And I got this error message as script build protobuf :

[ 0%] Built target Python
[ 1%] Performing update step for 'Protobuf'
Current branch 15.10 is up to date.
[ 2%] Performing configure step for 'Protobuf'
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/B00122/Desktop/cmake/bin/Protobuf-prefix/src/Protobuf-build
[ 3%] Performing build step for 'Protobuf'
[ 47%] Built target libprotoc
[ 82%] Built target protobuf
[ 97%] Built target protobuf-lite
[ 99%] Built target protoc
[100%] Generating python/lib/google
running build
running build_py
Generating google/protobuf/unittest_pb2.py...
[100%] Built target python_protobuf
[ 4%] Performing install step for 'Protobuf'
[ 47%] Built target libprotoc
[ 82%] Built target protobuf
[ 97%] Built target protobuf-lite
[ 99%] Built target protoc
[100%] Generating python/lib/google
running build
running build_py
Generating google/protobuf/unittest_pb2.py...
[100%] Built target python_protobuf
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/Users/B00122/Desktop/cmake/bin/inst/bin/protoc.exe
-- Up-to-date: C:/Users/B00122/Desktop/cmake/bin/inst/lib/liblibprotoc.a
-- Up-to-date: C:/Users/B00122/Desktop/cmake/bin/inst/lib/libprotobuf.a
-- Up-to-date: C:/Users/B00122/Desktop/cmake/bin/inst/lib/libprotobuf-lite.a
Makefile:93: recipe for target 'install' failed
CMakeFiles\Protobuf.dir\build.make:72: recipe for target 'Protobuf-prefix/src/Protobuf-stamp/Protobuf-install' failed
CMakeFiles\Makefile2:253: recipe for target 'CMakeFiles/Protobuf.dir/all' failed
Makefile:148: recipe for target 'all' failed

C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option:
'google_test_dir'
warnings.warn(msg)
protoc is not installed nor found in ../src. Please compile it or install the b
inary package.
C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option:
'google_test_dir'
warnings.warn(msg)
protoc is not installed nor found in ../src. Please compile it or install the b
inary package.
CMake Error at cmake_install.cmake:53 (file):
file INSTALL cannot find
"C:/Users/B00122/Desktop/cmake/bin/Protobuf-prefix/src/Protobuf-build/python/l
ib/google".

mingw32-make[3]: *** [install] Error 1
mingw32-make[2]: *** [Protobuf-prefix/src/Protobuf-stamp/Protobuf-install] Error
2
mingw32-make[1]: *** [CMakeFiles/Protobuf.dir/all] Error 2
mingw32-make: *** [all] Error 2

Linker error in Qt: YarrInterpreter.cpp undefined references

I'm getting this error while Qt is building:

./.obj\release\YarrInterpreter.o:YarrInterpreter.cpp:(.text+0x441): undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\release\YarrInterpreter.o:YarrInterpreter.cpp:(.text+0x4af): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrJIT.o:YarrJIT.cpp:(.text$_ZN3JSC4Yarr11YarrPattern21newlineCharacterClassEv[_ZN3JSC4Yarr11YarrPattern21newlineCharacterClassEv]+0x21): undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\release\YarrJIT.o:YarrJIT.cpp:(.text$_ZN3JSC4Yarr11YarrPattern22wordcharCharacterClassEv[_ZN3JSC4Yarr11YarrPattern22wordcharCharacterClassEv]+0x21): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrJIT.o:YarrJIT.cpp:(.text$_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22matchAssertionWordcharEyRNS_22AbstractMacroAssemblerINS_12X86AssemblerEE8JumpListES8_[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22matchAssertionWordcharEyRNS_22AbstractMacroAssemblerINS_12X86AssemblerEE8JumpListES8_]+0xc8): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrJIT.o:YarrJIT.cpp:(.text$_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22matchAssertionWordcharEyRNS_22AbstractMacroAssemblerINS_12X86AssemblerEE8JumpListES8_[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22matchAssertionWordcharEyRNS_22AbstractMacroAssemblerINS_12X86AssemblerEE8JumpListES8_]+0xc8): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text+0x738): undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text+0x98b): undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x247): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x327): undefined reference to `JSC::Yarr::digitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x4a3): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x527): undefined reference to `JSC::Yarr::digitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x8ea): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseEscapeILb0ES2_EEbRT0_]+0x958): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x2dbf): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x2e53): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x2ee3): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x2f73): undefined reference to `JSC::Yarr::digitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3003): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3093): undefined reference to `JSC::Yarr::digitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x310f): undefined reference to `JSC::Yarr::nonspacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x318b): undefined reference to `JSC::Yarr::nondigitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3207): undefined reference to `JSC::Yarr::nonspacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3283): undefined reference to `JSC::Yarr::nondigitsCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x32ff): undefined reference to `JSC::Yarr::nonwordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x337b): undefined reference to `JSC::Yarr::nonwordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x175a): undefined reference to `JSC::Yarr::nonwordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x17d8): undefined reference to `JSC::Yarr::nonwordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x184b): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x18c9): undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x193c): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x19ba): undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x1a41): undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x1dae): undefined reference to `JSC::Yarr::nonspacesCreate()'
./.obj\release\YarrPattern.o:YarrPattern.cpp:(.text$_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE11parseTokensEv]+0x1df1): undefined reference to `JSC::Yarr::nonspacesCreate()'
collect2.exe: error: ld returned 1 exit status
Makefile.Release:1036: recipe for target '..\..\lib\Qt5Qml.dll' failed
mingw32-make.exe[7]: *** [..\..\lib\Qt5Qml.dll] Error 1
Makefile:34: recipe for target 'release' failed
mingw32-make.exe[6]: *** [release] Error 2
Makefile:45: recipe for target 'sub-qml-make_first-ordered' failed
mingw32-make.exe[5]: *** [sub-qml-make_first-ordered] Error 2
Makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make.exe[4]: *** [sub-src-make_first] Error 2
makefile:122: recipe for target 'module-qtdeclarative-make_first' failed
mingw32-make.exe[3]: *** [module-qtdeclarative-make_first] Error 2
CMakeFiles\Qt.dir\build.make:110: recipe for target 'Qt-prefix/src/Qt-stamp/Qt-build' failed
mingw32-make.exe[2]: *** [Qt-prefix/src/Qt-stamp/Qt-build] Error 2
CMakeFiles\Makefile2:410: recipe for target 'CMakeFiles/Qt.dir/all' failed
mingw32-make.exe[1]: *** [CMakeFiles/Qt.dir/all] Error 2
makefile:94: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2

The command window does scroll further back but beyond this it is empty (there seems to be a clear-window command in Qt's build procedure). I couldn't easily find anything on this. There is just this wiki, which suggests altering Qt's headers. I might try that some time.

Uranium build issue

When I run the ubuntu build script I get this warning:

CMake Warning:
  Manually-specified variables were not used by the project:

    PYTHON_SITE_PACKAGES_DIR
    URANIUM_PLUGINS_DIR

It seems that when the build script tries to override the defaults for these CMake variables, it doesn't work and things get installed in the wrong places.

Can't build 32-bit Cura (Windows 10 32-bit)

What I've installed:

How I try to build:

  1. Clone the cura-build repository to C:/Users/Mesut/Desktop/cura-build
  2. Run env_win32.bat from C:/Users/Mesut/Desktop/cura-build
  3. Create a "build" directory inside cura-build (C:/Users/Mesut/Desktop/cura-build/build)
  4. Run CMake-GUI
  5. "Where is the source code" set to C:/Users/Mesut/Desktop/cura-build,
  6. "Where to build the binaries" set to C:/Users/Mesut/Desktop/cura-build/build
  7. Choose "MinGW Makefiles" Generator with default options
  8. Generate
  9. Open cmd.exe, run "mingw32-make" inside the C:/Users/Mesut/Desktop/cura-build folder
  10. Wait for it to build...

I get this error after ~10 minutes:

[100%] Linking CXX executable protoc.exe
[100%] Built target protoc
[  7%] Performing install step for 'Protobuf'
[ 39%] Built target libprotobuf
[ 52%] Built target libprotobuf-lite
[ 98%] Built target libprotoc
[100%] Built target protoc
Install the project...
-- Install configuration: "Release"
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/libprotobuf-lite.a
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/libprotobuf.a
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/libprotoc.a
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/bin/protoc.exe
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/any.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/any.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/api.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/arena.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/arenastring.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/code_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/command_line_interface.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/cpp/cpp_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/csharp/csharp_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/csharp/csharp_names.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/importer.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/java/java_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/java/java_names.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/javanano/javanano_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/objectivec/objectivec_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/objectivec/objectivec_helpers.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/parser.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/plugin.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/plugin.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/python/python_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/ruby/ruby_generator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/descriptor.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/descriptor.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/descriptor_database.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/duration.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/dynamic_message.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/empty.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/extension_set.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/field_mask.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/generated_enum_reflection.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/generated_enum_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/generated_message_reflection.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/generated_message_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/coded_stream.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/gzip_stream.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/printer.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/strtod.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/tokenizer.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/zero_copy_stream.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/zero_copy_stream_impl.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/io/zero_copy_stream_impl_lite.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_entry.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_entry_lite.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_field.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_field_inl.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_field_lite.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/map_type_handler.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/message.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/message_lite.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/metadata.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/reflection.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/reflection_ops.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/repeated_field.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/repeated_field_reflection.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/service.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/source_context.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/struct.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomic_sequence_num.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_power.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_generic_gcc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_macosx.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_pnacl.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_solaris.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_tsan.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/bytestream.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/callback.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/casts.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/common.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/fastmem.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/hash.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/logging.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/macros.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/mutex.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/once.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/platform_macros.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/port.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/scoped_ptr.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/shared_ptr.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/singleton.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/status.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/stl_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/stringpiece.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/template_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/stubs/type_traits.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/text_format.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/timestamp.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/type.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/unknown_field_set.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/field_comparator.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/field_mask_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/json_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/message_differencer.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/time_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/type_resolver.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/util/type_resolver_util.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/wire_format.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/wire_format_lite.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/wire_format_lite_inl.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/wrappers.pb.h
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/descriptor.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/any.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/api.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/duration.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/empty.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/field_mask.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/source_context.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/struct.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/timestamp.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/type.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/wrappers.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/include/google/protobuf/compiler/plugin.proto
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/cmake/protobuf/protobuf-targets.cmake
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/cmake/protobuf/protobuf-targets-release.cmake
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/cmake/protobuf/protobuf-config.cmake
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/cmake/protobuf/protobuf-config-version.cmake
-- Installing: C:/Users/Mesut/Desktop/cura-build/build/inst/lib/cmake/protobuf/protobuf-module.cmake
[  8%] Completed 'Protobuf'
[  8%] Built target Protobuf
Scanning dependencies of target Python
[  8%] Built target Python
Scanning dependencies of target Protobuf-python
[  9%] Creating directories for 'Protobuf-python'
[ 10%] Performing download step (git clone) for 'Protobuf-python'
Cloning into 'Protobuf-python'...
Checking out files: 100% (1223/1223), done.
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 11%] Performing update step for 'Protobuf-python'
Current branch master is up to date.
[ 12%] Performing copy-libproto step for 'Protobuf-python'
[ 13%] No patch step for 'Protobuf-python'
[ 14%] No configure step for 'Protobuf-python'
[ 15%] Performing build step for 'Protobuf-python'
'$CC' is not recognized as an internal or external command,
operable program or batch file.
running build
running build_py
Generating google/protobuf/descriptor_pb2.py...
protoc is not installed nor found in ../src.  Please compile it or install the binary package.
CMakeFiles\Protobuf-python.dir\build.make:112: recipe for target 'Protobuf-python-prefix/src/Protobuf-python-stamp/Protobuf-python-build' failed
mingw32-make[2]: *** [Protobuf-python-prefix/src/Protobuf-python-stamp/Protobuf-python-build] Error -1
CMakeFiles\Makefile2:255: recipe for target 'CMakeFiles/Protobuf-python.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/Protobuf-python.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Build issue on OSX

I'm building on OSX El Capitan (10.11.2) up to date, and these are the errors I have:

...
checking for broken mbstowcs... no
checking for --with-computed-gotos... no value specified
checking whether gcc supports computed gotos... yes
checking for build directories... done
checking for -O2... yes
checking for glibc _FORTIFY_SOURCE/memmove bug... no
checking for gcc ipa-pure-const bug... no
checking for ensurepip... upgrade
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
[  4%] Performing build step for 'Python'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(dynamic_annotations.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(pymath.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(dynamic_annotations.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(pymath.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(dynamic_annotations.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(pymath.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(dynamic_annotations.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.4.a(pymath.o) has no symbols
clang: error: no such file or directory: 'Print/cura-build/build/inst/lib/libpython3.4.dylib'
make[3]: *** [libpython3.4.dylib] Error 1
make[2]: *** [Python-prefix/src/Python-stamp/Python-build] Error 2
make[1]: *** [CMakeFiles/Python.dir/all] Error 2
make: *** [all] Error 2

mingw32-make !error on Win10

evn;win10 64-bit
mingw64
python3.4
pyqt5.5 for python3.4
i set all as README
but
D:\cura-build-2.1\build>mingw32-make
[ 12%] Built target Protobuf
[ 12%] Built target Python
[ 12%] Built target Sip
[ 14%] Performing update step for 'Arcus'

*** Please tell me who you are.

Run

git config --global user.email "[email protected]"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <Administrator@AlmostSrinagar.(none)>) not allowed
Cannot save the current index state
CMake Error at D:/cura-build-2.1/build/Arcus-prefix/tmp/Arcus-gitupdate.cmake:83 (message):
Failed to stash changes

CMakeFiles\Arcus.dir\build.make:93: recipe for target 'Arcus-prefix/src/Arcus-stamp/Arcus-update' failed
mingw32-make[2]: *** [Arcus-prefix/src/Arcus-stamp/Arcus-update] Error 1
CMakeFiles\Makefile2:164: recipe for target 'CMakeFiles/Arcus.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/Arcus.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

D:\cura-build-2.1\build>

Error on building Cura on Ubuntu 15.04

script runs to almost completion with no apparent errors(I've done it a bunch of times adding debug info to the build script) then when it attempts to run Cura. I have no idea what to try to fix this.

Link:/home/linaro/dev/CuraEngine/build/CuraEngine
Starting Cura......
Error in sys.excepthook:
Traceback (most recent call last):
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1471, in exec_module
File "", line 321, in _call_with_frames_removed
File "/home/linaro/dev/Cura/cura/CrashHandler.py", line 8, in
from UM.i18n import i18nCatalog
ImportError: No module named 'UM'

Original exception was:
Traceback (most recent call last):
File "cura_app.py", line 14, in
import cura.CuraApplication
File "/home/linaro/dev/Cura/cura/CuraApplication.py", line 9, in
from OpenGL import GL
ImportError: No module named 'OpenGL'

Cannot start Cura

~/dev/Cura$ python3 cura_app.py
Error in sys.excepthook:
Traceback (most recent call last):
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1471, in exec_module
File "", line 321, in _call_with_frames_removed
File "/home/easonyu/dev/Cura/cura/CrashHandler.py", line 8, in
from UM.i18n import i18nCatalog
ImportError: No module named 'UM'

Original exception was:
Traceback (most recent call last):
File "cura_app.py", line 18, in
import Arcus #@UnusedImport
ImportError: No module named 'Arcus'

Escaping in paths when running after build

Target platform: Win32
Host platform: Windows 8 x64

I've built an installer for a Windows 32 build. For some reason it still thinks it's a 64-bit build and installs in the 64-bit folder but that's probably irrelevant.

When I run the newly installed Cura, I get the following error:

Error in sys.excepthook:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\cura\CrashHandler.py", line 6, in <module>
    from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QCoreApplication
  File "<loader>", line 10, in <module>
  File "<loader>", line 8, in __load
ImportError: (DLL load failed: Kan opgegeven module niet vinden.) 'C:\\Program Files\\Cura 2.0\\PyQt5.QtCore.pyd'

Original exception was:
Traceback (most recent call last):
  File "cura_app.py", line 23, in <module>
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\cura\CuraApplication.py", line 6, in <module>
    from UM.Qt.QtApplication import QtApplication
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\UM\Qt\QtApplication.py", line 9, in <module>
    from PyQt5.QtCore import Qt, QObject, QCoreApplication, QEvent, pyqtSlot, QLocale, QTranslator, QLibraryInfo, PYQT_VERSION_STR
  File "<loader>", line 10, in <module>
  File "<loader>", line 8, in __load
ImportError: (DLL load failed: Kan opgegeven module niet vinden.) 'C:\\Program Files\\Cura 2.0\\PyQt5.QtCore.pyd'
Error in sys.excepthook:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\cura\CrashHandler.py", line 6, in <module>
    from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QCoreApplication
  File "<loader>", line 10, in <module>
  File "<loader>", line 8, in __load
ImportError: (DLL load failed: Kan opgegeven module niet vinden.) 'C:\\Program Files\\Cura 2.0\\PyQt5.QtCore.pyd'

Original exception was:
Traceback (most recent call last):
  File "cura_app.py", line 23, in <module>
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\cura\CuraApplication.py", line 6, in <module>
    from UM.Qt.QtApplication import QtApplication
  File "C:\Persoonlijk\Projecten\cura-build\build\inst\lib\python3.4\site-packages\UM\Qt\QtApplication.py", line 9, in <module>
    from PyQt5.QtCore import Qt, QObject, QCoreApplication, QEvent, pyqtSlot, QLocale, QTranslator, QLibraryInfo, PYQT_VERSION_STR
  File "<loader>", line 10, in <module>
  File "<loader>", line 8, in __load
ImportError: (DLL load failed: Kan opgegeven module niet vinden.) 'C:\\Program Files\\Cura 2.0\\PyQt5.QtCore.pyd'

This might be from multiple runs. I'm not quite sure, since the first run was not as administrator, the second run didn't seem to do anything and the third run was properly as administrator and returned an error (Cura's standard pop-up telling me to read the log).

The file C:\Program Files\Cura 2.0\PyQt5.QtCore.pyd does exist. However, it seems it is trying to read directories with double backslashes.

The problem does not occur when using separate repositories, so it is an issue regarding cura-build.

ImportError: No module named 'sipconfig' when building Arcus on OSX 10.11

I have still problems running the Makefile on OSX 10.11 (After installing openSSL as described in #30).
It successfully installed the setuptools but now it fails on the module sipconfig.

Installed /Users/rick/Documents/Ultimaker/cura-build/build/inst/lib/python3.4/site-packages/six-1.10.0-py3.4.egg
Searching for setuptools==12.0.5
Best match: setuptools 12.0.5
Adding setuptools 12.0.5 to easy-install.pth file
Installing easy_install-3.4 script to /Users/rick/Documents/Ultimaker/cura-build/build/inst/bin
Installing easy_install script to /Users/rick/Documents/Ultimaker/cura-build/build/inst/bin

Using /Users/rick/Documents/Ultimaker/cura-build/build/inst/lib/python3.4/site-packages
Finished processing dependencies for protobuf==3.0.0b2
[ 18%] Completed 'Protobuf-python'
[ 18%] Built target Protobuf-python
Scanning dependencies of target Arcus
[ 19%] Creating directories for 'Arcus'
[ 20%] Performing download step (git clone) for 'Arcus'
Cloning into 'Arcus'...
Switched to a new branch '2.1'
Branch 2.1 set up to track remote branch 2.1 from origin.
[ 21%] No patch step for 'Arcus'
[ 21%] Performing update step for 'Arcus'
Current branch 2.1 is up to date.
[ 22%] Performing configure step for 'Arcus'
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found PROTOBUF: /Users/rick/Documents/Ultimaker/cura-build/build/inst/lib/libprotobuf.a
-- Found PythonInterp: /Users/rick/Documents/Ultimaker/cura-build/build/inst/bin/python3.4 (found suitable version "3.4.3", minimum required is "3.4.0")
-- Found PythonLibs: /Users/rick/Documents/Ultimaker/cura-build/build/inst/lib/libpython3.4.dylib (found suitable version "3.4.3", minimum required is "3.4.0")
Traceback (most recent call last):
  File "/Users/rick/Documents/Ultimaker/cura-build/build/Arcus-prefix/src/Arcus/cmake/FindSIP.py", line 8, in <module>
    import sipconfig
ImportError: No module named 'sipconfig'
CMake Error at cmake/FindSIP.cmake:58 (MESSAGE):
  Could not find SIP
Call Stack (most recent call first):
  CMakeLists.txt:20 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/rick/Documents/Ultimaker/cura-build/build/Arcus-prefix/src/Arcus-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [Arcus-prefix/src/Arcus-stamp/Arcus-configure] Error 1
make[1]: *** [CMakeFiles/Arcus.dir/all] Error 2
make: *** [all] Error 2

Building on Windows

I've downloaded the dependencies for windows stated in https://github.com/Ultimaker/cura-build#windows but I haven't figured out yet how to build it.
Is there anyone that could help me out?

So far I've tried downloading the Cura Repository, replacing the CMakeLists with the one from cura-build and ran it with the mingw compiler, then I ran the makefile in the build folder with mingw32-make in CMD:

C:\Users\Mesut\Desktop\Cura-e4de852fd13cd7a95b8e087961e4f87635146567\build>mingw32-make -f C:\Users\Mesut\Desktop\Cura-e4de852fd13cd7a95b8e087961e4f87635146567\build\Makefile
Scanning dependencies of target Protobuf
[  1%] Creating directories for 'Protobuf'
[  2%] Performing download step (git clone) for 'Protobuf'
Cloning into 'Protobuf'...
Checking out files: 100% (682/682), done.
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[  3%] No patch step for 'Protobuf'
[  4%] Performing update step for 'Protobuf'
Current branch master is up to date.
[  5%] Performing configure step for 'Protobuf'
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Mesut/Desktop/Cura-e4de852fd13cd7a95b8e087961e4f87635146567/build/Protobuf-prefix/src/Protobuf-build
[  6%] Performing build step for 'Protobuf'
Scanning dependencies of target libprotoc
[  0%] Building CXX object CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/code_generator.cc.obj
[  1%] Building CXX object CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/command_line_interface.cc.obj
[  2%] Building CXX object CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/plugin.cc.obj
[  3%] Building CXX object CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/plugin.pb.cc.obj
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cmath:44:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\random:38,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_algo.h:65,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\algorithm:62,
                 from C:\Users\Mesut\Desktop\Cura-e4de852fd13cd7a95b8e087961e4f87635146567\build\Protobuf-prefix\src\Protobuf\src\google\protobuf\compiler\plugin.pb.cc:7:
c:\mingw\include\math.h: In function 'float hypotf(float, float)':
c:\mingw\include\math.h:635:30: error: '_hypot' was not declared in this scope
 { return (float)(_hypot (x, y)); }
                              ^
CMakeFiles\libprotoc.dir\build.make:137: recipe for target 'CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/plugin.pb.cc.obj' failed
mingw32-make[5]: *** [CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/plugin.pb.cc.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/libprotoc.dir/all' failed
mingw32-make[4]: *** [CMakeFiles/libprotoc.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make[3]: *** [all] Error 2
CMakeFiles\Protobuf.dir\build.make:109: recipe for target 'Protobuf-prefix/src/Protobuf-stamp/Protobuf-build' failed
mingw32-make[2]: *** [Protobuf-prefix/src/Protobuf-stamp/Protobuf-build] Error 2
CMakeFiles\Makefile2:216: recipe for target 'CMakeFiles/Protobuf.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/Protobuf.dir/all] Error 2
C:\Users\Mesut\Desktop\Cura-e4de852fd13cd7a95b8e087961e4f87635146567\build\Makefile:104: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

ming32-make error on win7

I use mingw32-make.exe to make the cure-build,but meet a problem that is "ld.exe: split.o:bad reloc
address 0x0 in section '.data'

Make fails on OSX

I am having trouble running the make command. I receive an error informing that no module named 'setuptools' is installed. I'm running OSX El Capital 10.11.2 and have installed both python 2.7.11 and python 3.4.3

I have already installed and upgraded setuptools using pip3 and pip2. However I'm still receiving the same error.

Any help? here's the terminal output.

[ 14%] Completed 'Protobuf'
[ 14%] Built target Protobuf
[ 14%] Built target Python
[ 14%] Performing update step for 'Protobuf-python'
Current branch master is up to date.
[ 14%] No configure step for 'Protobuf-python'
[ 14%] Performing build step for 'Protobuf-python'
Traceback (most recent call last):
File "setup.py", line 11, in
from setuptools import setup, Extension, find_packages
ImportError: No module named 'setuptools'
make[2]: *** [Protobuf-python-prefix/src/Protobuf-python-stamp/Protobuf-python-build] Error 1
make[1]: *** [CMakeFiles/Protobuf-python.dir/all] Error 2
make: *** [all] Error 2

Thank you for your help.

fixes for build scripts

Hi. I've made some small changes to the build script in the master branch and the stable branch (15.06).
Could you please accept my PRs? #13 and #12

Thanks!

Build error on Ubuntu 15.10

-- Found Threads: TRUE  
-- Found PROTOBUF: /usr/lib/x86_64-linux-gnu/libprotobuf.so  
-- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4.3", minimum required is "3.4.0") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.4m.so (found suitable version "3.4.3+", minimum required is "3.4.0") 
-- Found SIP version: 4.16.9
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mesut/Desktop/cura-build/build/Arcus-prefix/src/Arcus-build
[ 34%] Performing build step for 'Arcus'
Scanning dependencies of target Arcus
[  6%] Building CXX object CMakeFiles/Arcus.dir/src/Socket.cpp.o
[ 13%] Building CXX object CMakeFiles/Arcus.dir/src/SocketListener.cpp.o
[ 20%] Building CXX object CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o
/home/mesut/Desktop/cura-build/build/Arcus-prefix/src/Arcus/src/MessageTypeStore.cpp:26:47: fatal error: google/protobuf/compiler/importer.h: No such file or directory
compilation terminated.
CMakeFiles/Arcus.dir/build.make:100: recipe for target 'CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o' failed
make[5]: *** [CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/Arcus.dir/all' failed
make[4]: *** [CMakeFiles/Arcus.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/Arcus.dir/build.make:110: recipe for target 'Arcus-prefix/src/Arcus-stamp/Arcus-build' failed
make[2]: *** [Arcus-prefix/src/Arcus-stamp/Arcus-build] Error 2
CMakeFiles/Makefile2:62: recipe for target 'CMakeFiles/Arcus.dir/all' failed
make[1]: *** [CMakeFiles/Arcus.dir/all] Error 2
Makefile:95: recipe for target 'all' failed
make: *** [all] Error 2

Make failed on Ubuntu 15.10, anyone knows why?

Building libArcus problem

Hi All,

My environment is: Win10+MSYS2+MinGW64+Python3.4.3. I've built the protobuf sucessfully. But when I built libArcus, there is an error related with SIP. So I download SIP 4.18 package, and extract it to "C:\msys32\usr\local\sip-4.18",
Command "python configure.py --platform linux-g++" runs okay. But command "make" is failed,

ding@DZ MSYS /usr/local/sip-4.18
$ make
make[1]: Entering directory '/usr/local/sip-4.18/sipgen'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/local/sip-4.18/sipgen'
make[1]: Entering directory '/usr/local/sip-4.18/siplib'
g++ -shared -o sip.so siplib.o apiversions.o descriptors.o qtlib.o threads.o objmap.o voidptr.o array.o bool.o
siplib.o:siplib.c:(.text+0xa6): undefined reference to _imp___Py_NoneStruct' siplib.o:siplib.c:(.text+0x855): undefined reference to_imp__PyType_Type'
siplib.o:siplib.c:(.text+0x914): undefined reference to `_imp__PyType_Type'
.....
Any suggestion is welcome.
Thanks in advance.

Ding

Scipy built before OpenBLAS?

I'm just playing with cura-build and faced this:

[ 95%] No update step for 'Scipy'
[ 96%] No patch step for 'Scipy'
[ 97%] No configure step for 'Scipy'
[ 98%] Performing build step for 'Scipy'
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
  warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
lapack_opt_info:
openblas_lapack_info:
Replacing _lib_names[0]=='openblas' with 'openblas'
C compiler: cc

creating /tmp/tmpmtm_9op_/tmp
creating /tmp/tmpmtm_9op_/tmp/tmpmtm_9op_
compile options: '-c'
cc: /tmp/tmpmtm_9op_/source.c
/tmp/tmpmtm_9op_/source.c: In function 'main':
/tmp/tmpmtm_9op_/source.c:4:13: warning: implicit declaration of function 'zungqr_' [-Wimplicit-function-declaration]
cc /tmp/tmpmtm_9op_/tmp/tmpmtm_9op_/source.o -L/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib -lopenblas -o /tmp/tmpmtm_9op_/a.out
/tmp/tmpmtm_9op_/tmp/tmpmtm_9op_/source.o: In Funktion `main':
source.c:(.text+0x15): Nicht definierter Verweis auf `zungqr_'
collect2: error: ld returned 1 exit status
/tmp/tmpmtm_9op_/tmp/tmpmtm_9op_/source.o: In Funktion `main':
source.c:(.text+0x15): Nicht definierter Verweis auf `zungqr_'
collect2: error: ld returned 1 exit status
  NOT AVAILABLE

lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/system_info.py:1505: UserWarning: 
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/system_info.py:1516: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/system_info.py:1519: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE

Running from scipy source directory.
Traceback (most recent call last):
  File "setup.py", line 253, in <module>
    setup_package()
  File "setup.py", line 250, in setup_package
    setup(**metadata)
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/core.py", line 135, in setup
    config = configuration()
  File "setup.py", line 175, in configuration
    config.add_subpackage('scipy')
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
    caller_level = 2)
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
    caller_level = caller_level + 1)
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 15, in configuration
    config.add_subpackage('linalg')
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
    caller_level = 2)
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
    caller_level = caller_level + 1)
  File "/media/thopiekar/91e97c17-2dbb-47e5-8804-a6f3f4501c8e/Projekte/GIT/Ultimaker/cura-build-copy/build/inst/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/linalg/setup.py", line 20, in configuration
    raise NotFoundError('no lapack/blas resources found')
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
CMakeFiles/Scipy.dir/build.make:114: die Regel für Ziel „Scipy-prefix/src/Scipy-stamp/Scipy-build“ scheiterte
make[2]: *** [Scipy-prefix/src/Scipy-stamp/Scipy-build] Fehler 1
CMakeFiles/Makefile2:476: die Regel für Ziel „CMakeFiles/Scipy.dir/all“ scheiterte
make[1]: *** [CMakeFiles/Scipy.dir/all] Fehler 2
Makefile:105: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 

I used make package -j8 to build it even distributed via icecc and it seems that except of building every dependency one by one it uses every available job to build the next. This is cool, when doing downloads, but when it comes to builds it should really build everything linear and use the available jobs to complete the builds faster.

Make failed on Archlinux

Platform: Archlinux / Manjaro 64bits

Seems to be a Protobuf link error, but I don't see how to resolve it...

[100%] Linking CXX executable CuraEngine
lib_CuraEngine.a(commandSocket.cpp.o): dans la fonction « cura::CommandSocket::sendPolygons(cura::PrintFeatureType, int, cura::Polygons&, int) »:
commandSocket.cpp:(.text+0x70d): référence indéfinie vers « google::protobuf::internal::empty_string_[abi:cxx11] »
lib_CuraEngine.a(commandSocket.cpp.o): dans la fonction « cura::CommandSocket::flushGcode() »:
commandSocket.cpp:(.text+0x11c6): référence indéfinie vers « google::protobuf::internal::empty_string_[abi:cxx11] »
commandSocket.cpp:(.text+0x133b): référence indéfinie vers « google::protobuf::internal::empty_string_[abi:cxx11] »
[...]

Current platform "darwin 15" does not match expected platform "darwin 14"

zipimport.ZipImportError: can't decompress data; zlib not available
make[3]: *** [install] Error 1
make[2]: *** [Python-prefix/src/Python-stamp/Python-install] Error 2
make[1]: *** [CMakeFiles/Python.dir/all] Error 2
make: *** [all] Error 2
I don't know about which python version is correct,maybe the problem is about the path. I am new for python. .

How to build and makefile for Cura?(ubuntu 15.10)

Hi, everyone i am Rookie engineer.
I want to build Cura 15.06 and makefile in unbuntu 15.10.
I was follow ubuntu-15.04-build-script.sh to build Cura.,but it is seem fail.
Could someone give me some instructions?

Missing quotation marks somewhere? Need some help!

I figured I'd give a try to compile Cura and co. on my Windows 8 computer.

My configuration is as follows:

  • The cura-engine repository is cloned into C:\Persoonlijk\Projecten\cura-build.
  • The cura-engine repository has an additional folder C:\Persoonlijk\Projecten\cura-build\build.
  • Python 3.4.3 is installed into C:\Python34. There are no references in the system path variable to this place. That seemed to be no problem; as you can see below, Python can be found.
  • Strawberry Perl is installed into C:\StrawberryPerl. Several references to this place are made in the system path.
  • MinGW is installed into C:\Program Files\mingw-w64\x86_64-5.1.0-posix-seh-rt_v4-rev0. No reference to this place is made in the system path.
  • CMake is installed into C:\Program Files (x86)\CMake.
  • I have the latest Windows SDK installed for Windows 8.1.

Then I ran CMake-gui and pointed it at the cura-build repository and \build repository to build in. I generated MinGW makefiles with specified native compilers to my MinGW installation. It configured and generated fine. This is CMake's output:

The C compiler identification is GNU 5.1.0
The CXX compiler identification is GNU 5.1.0
Check for working C compiler: C:/Program Files/mingw-w64/x86_64-5.1.0-posix-seh-rt_v4-rev0/mingw64/bin/gcc.exe
Check for working C compiler: C:/Program Files/mingw-w64/x86_64-5.1.0-posix-seh-rt_v4-rev0/mingw64/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-5.1.0-posix-seh-rt_v4-rev0/mingw64/bin/g++.exe
Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-5.1.0-posix-seh-rt_v4-rev0/mingw64/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Found PythonInterp: C:/Python34/python.exe (found suitable version "3.4.3", minimum required is "3.4.0") 
Configuring done
Generating done

Then I opened an elevated command prompt, navigated to the \build directory and ran make. This is the output:

C:\Persoonlijk\Projecten\cura-build\build>"C:\Program Files\mingw-w64\x86_64-5.1.0-posix-seh-rt_v4-rev0\mingw64\bin\mingw32-make.exe"
Scanning dependencies of target Protobuf
[  1%] Creating directories for 'Protobuf'
[  2%] Performing download step (git clone) for 'Protobuf'
Cloning into 'Protobuf'...
Checking out files: 100% (682/682), done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[  3%] No patch step for 'Protobuf'
[  4%] Performing update step for 'Protobuf'
Current branch master is up to date.
[  5%] Performing configure step for 'Protobuf'
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v4-rev3/mingw64/bin/gcc.exe
-- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v4-rev3/mingw64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v4-rev3/mingw64/bin/g++.exe
-- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v4-rev3/mingw64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Persoonlijk/Projecten/cura-build/build/Protobuf-prefix/src/Protobuf-build
[  6%] Performing build step for 'Protobuf'
'C:/Program' is not recognized as an internal or external command, operable program or batch file.
CMakeFiles\Protobuf.dir\build.make:107: recipe for target 'Protobuf-prefix/src/Protobuf-stamp/Protobuf-build' failed
mingw32-make[2]: *** [Protobuf-prefix/src/Protobuf-stamp/Protobuf-build] Error 1

CMakeFiles\Makefile2:201: recipe for target 'CMakeFiles/Protobuf.dir/all' failed

mingw32-make[1]: *** [CMakeFiles/Protobuf.dir/all] Error 2
makefile:94: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

As you can see, it ran into the error 'C:/Program' is not recognised as an internal or external command, operable program or batch file.. I suspect this is due to the compiler being installed into Program Files, which, as we all know and love, has a space in its folder name. Looking into the CMakeLists.txt I found no obvious places where quotation marks could be added. I also tried replacing all references to "Program Files" into "PROGRA~1" in CMake-GUI, but this had no effect. It still asks for C:\Program.

I'm terrible at tweaking CMakeLists. So maybe you know a solution to make this work while keeping the compiler installed in Program Files? I've messed with having multiple installations of MinGW on my laptop, but this caused me much pain in the past. Or maybe you could interpret this as a bug report if you know a fix?

Error in Cura-master.0.0-master-win32.exe

Help me in "Cura-master.0.0-master-win32.exe".
The compile has finished without errors lastly by "mingw32-make package" on win7 64bit env.
Also, "Cura-master.0.0-master-win32.exe" has been made in the folder of "\cuar-build\build".
However, after installing it, there is no launch in " Cura master.0.0" on windows start.
How can I fix this matter?
Thanks in advance.

New Install Shell script on Ubuntu15.04

I modify the install script,may usefull.
Update include:
1.Update source automatic.
2.Change gtest source from github.
3.Merge plugins from Uranium into Cura.
as bellow:

#!/bin/bash
# This is a script which get the latest git repo and build them.
#
# Tested under ubuntu 15.04, lower versions don't have PyQT 5.2.1 which is required by cura

cd ~
if [ ! -d "dev" ]; then
    mkdir dev
fi
cd dev

sudo apt-get install -y git cmake cmake-gui autoconf libtool python3-setuptools curl python3-pyqt5.* python3-numpy qml-module-qtquick-controls

#protobuf.
#https://github.com/google/protobuf.git

echo "================================="
echo "Install Protobuf."
if [ ! -d "protobuf" ]; then
    git clone https://github.com/Ultimaker/protobuf.git
    cd protobuf
else
    cd protobuf
    git pull        
fi
echo "================================="
echo "get gtest."
if [ ! -d "gtest" ]; then
    git clone https://github.com/kgcd/gtest.git
else
    git pull
fi
echo "================================="
echo "get gmock."
if [ ! -d "gmock" ]; then
    git clone https://github.com/krzysztof-jusiak/gmock.git
else
    git pull        
fi
echo "Build Protobuf."
./autogen.sh
./configure --prefix=/usr
make -j4
sudo make install
sudo ldconfig
cd python
python3 setup.py build
sudo python3 setup.py install
cd ../..

echo "================================="
echo "Install libArcus."
if [ ! -d "libArcus" ]; then
    git clone https://github.com/Ultimaker/libArcus
    cd libArcus
else
    cd libArcus
    git pull        
fi
if [ ! -d "build" ]; then
  mkdir build
fi
cd build
#cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python3.4/dist-packages
cmake .. -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python3.4/dist-packages
make -j4
sudo make install
cd ../../

echo "================================="
echo "Install CuraEngine."
if [ ! -d "CuraEngine" ]; then
    git clone https://github.com/Ultimaker/CuraEngine.git
    cd CuraEngine
else
    cd CuraEngine
    git pull        
fi
if [ ! -d "build" ]; then
  mkdir build
fi
cd build
#cmake .. -DCMAKE_INSTALL_PREFIX=/usr
cmake .. 
make -j4
sudo make install
cd ../../

echo "================================="
echo "Install Uranium."
if [ ! -d "Uranium" ]; then
    git clone https://github.com/Ultimaker/Uranium.git
    cd Uranium
else
    cd Uranium
    git pull        
fi
if [ ! -d "build" ]; then
  mkdir build
fi
cd build
#cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python3.4/dist-packages -DURANIUM_PLUGINS_DIR=/usr/lib/python3.4/dist-packages
cmake .. -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python3.4/dist-packages -DURANIUM_PLUGINS_DIR=/usr/lib/python3.4/dist-packages
sudo make install
cd ../..

echo "================================="
echo "Install Cura."
if [ ! -d "Cura" ]; then
    git clone https://github.com/Ultimaker/Cura.git
    cd Cura
else
    cd Cura
    git pull        
fi
cd ..
echo "Build finished."

echo "============================================================================"
echo "Merge Resource into Cura/resources/"
cp -rv Uranium/resources/* Cura/resources/
echo "Merge Plugins into Cura/plugins/"
cp -rv Uranium/plugins/* Cura/plugins/
echo "Link:"$PWD"/CuraEngine/build/CuraEngine"
sudo ln -s $PWD/CuraEngine/build/CuraEngine /usr/bin/CuraEngine

echo "Starting Cura......"
cd Cura
python3 cura_app.py
echo "You need add to /etc/profile:export PYTHONPATH=/usr/lib/python3/dist-packages"
echo "============================================================================="

cmake fails when gfortran is missing

Trying to build in Ubuntu 16.10 I'm getting:

-- The Fortran compiler identification is unknown
CMake Error at CMakeLists.txt:316 (enable_language):
No CMAKE_Fortran_COMPILER could be found.

Steps to reproduce:

⟫ sudo apt-get install python3 python3-dev python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtquick python3-pyqt5.qtsvg python3-numpy python3-serial python3-opengl qml-module-qtquick2 qml-module-qtquick-window2 qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-controls
⟫ git clone [email protected]:Ultimaker/cura-build.git
⟫ cd cura-build/
⟫ mkdir build
⟫ cd build/
⟫ cmake ..

Full cmake output: https://paste.ubuntu.com/16210321/

Creating Installer

Trying to build my own installer for the lulzbot edition of cura. I have made some changes to some of the python files and wish to create my own installer for mac and pc. Is going through the cura-build instructions on this readme the way to do it?

Run crash after installing cura

Hi All,

I've built Cura successfully using the building script in my Win10+64bit laptop. And I've also built the installation package. I can run the cura in my laptop. I sent the installation package (Cura-master.0.0-win64) to my friends, and both of them use win7 +64bit. When they run cura, they got the same crash.

Error in sys.excepthook:
Traceback (most recent call last):
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1191, in _load_unlocked
File "", line 1161, in _load_backward_compatible
File "c:\curabuild_software\cura-build-master\build\inst\lib\python3.4\site-packages\cura\CrashHandler.py", line 6, in
File "", line 10, in
File "", line 8, in __load
ImportError: ((DLL load failed: Can't find the module.) 'C:\Program Files\Cura master.0\sip.pyd') 'C:\Program Files\Cura master.0\PyQt5.QtCore.pyd'

Original exception was:
Traceback (most recent call last):
File "cura_app.py", line 35, in
File "", line 10, in
File "", line 8, in __load
ImportError: ((DLL load failed: Can't find the module.) 'C:\Program Files\Cura master.0\sip.pyd') 'C:\Program Files\Cura master.0\Arcus.pyd'
Error in sys.excepthook:
Traceback (most recent call last):
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1191, in _load_unlocked
File "", line 1161, in _load_backward_compatible
File "c:\curabuild_software\cura-build-master\build\inst\lib\python3.4\site-packages\cura\CrashHandler.py", line 6, in
File "", line 10, in
File "", line 8, in __load
ImportError: ((DLL load failed: Can't find the module.) 'C:\Program Files\Cura master.0\sip.pyd') 'C:\Program Files\Cura master.0\PyQt5.QtCore.pyd'

Original exception was:
Traceback (most recent call last):
File "cura_app.py", line 35, in
File "", line 10, in
File "", line 8, in __load
ImportError: ((DLL load failed: Can't find the module.) 'C:\Program Files\Cura master.0\sip.pyd') 'C:\Program Files\Cura master.0\Arcus.pyd'

None of them are programers and they don't have python or vs2015 installed in their PC.

Do you have the similar problem before?
Thanks in advance.

Ding

Can't run cura after make

Hi,

I successfully compiled cura using cmake. but when I run the app under build/dist, it says:

Cura Error,

then "Open Console" will show me:

7/9/15 12:30:16.691 PM Cura[46385]: 2015-07-09 12:30:16.690 Cura[46385:714735] Cura Error
7/9/15 12:30:18.591 PM Cura[46385]: Traceback (most recent call last):
7/9/15 12:30:18.592 PM Cura[46385]: File "/Users/sche/dev/cura-build/build/dist/Cura.app/Contents/Resources/boot.py", line 351, in
7/9/15 12:30:18.592 PM Cura[46385]: _run()
7/9/15 12:30:18.592 PM Cura[46385]: File "/Users/sche/dev/cura-build/build/dist/Cura.app/Contents/Resources/boot.py", line 336, in _run
7/9/15 12:30:18.592 PM Cura[46385]: exec(compile(source, path, 'exec'), globals(), globals())
7/9/15 12:30:18.592 PM Cura[46385]: File "/Users/sche/dev/cura-build/build/dist/Cura.app/Contents/Resources/cura_app.py", line 8, in
7/9/15 12:30:18.592 PM Cura[46385]: app = cura.CuraApplication.CuraApplication.getInstance()
7/9/15 12:30:18.593 PM Cura[46385]: File "UM/Application.pyc", line 326, in getInstance
7/9/15 12:30:18.593 PM Cura[46385]: File "cura/CuraApplication.pyc", line 56, in init
7/9/15 12:30:18.593 PM Cura[46385]: File "UM/Qt/QtApplication.pyc", line 69, in init
7/9/15 12:30:18.593 PM Cura[46385]: File "cura/CuraApplication.pyc", line 110, in _loadPlugins
7/9/15 12:30:18.593 PM Cura[46385]: File "UM/PluginRegistry.pyc", line 67, in loadPlugin
7/9/15 12:30:18.593 PM Cura[46385]: UM.PluginError.PluginNotFoundError: Could not find plugin CuraEngineBackend
7/9/15 12:30:18.635 PM Console[46402]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable

error: use of undeclared identifier 'MSG_NOSIGNAL'

On OS X 10.9.5 I'm getting error: use of undeclared identifier 'MSG_NOSIGNAL' when building Cura using this repo.

[ 21%] Performing configure step for 'Arcus'
-- The C compiler identification is AppleClang 6.0.0.6000057
-- The CXX compiler identification is AppleClang 6.0.0.6000057
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found PROTOBUF: /Developer/cura-build/build/inst/lib/libprotobuf.a  
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 (found suitable version "3.5", minimum required is "3.0.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /Developer/cura-build/build/Arcus-prefix/src/Arcus-build
[ 22%] Performing build step for 'Arcus'
Scanning dependencies of target Arcus
[ 33%] Building CXX object CMakeFiles/Arcus.dir/src/Socket.cpp.o
In file included from /Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket.cpp:20:
/Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket_p.h:299:85: error: use of undeclared identifier 'MSG_NOSIGNAL'
        size_t sent_size = ::send(socketId, reinterpret_cast<const char*>(&hdr), 4, MSG_NOSIGNAL);
                                                                                    ^
/Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket_p.h:302:79: error: use of undeclared identifier 'MSG_NOSIGNAL'
        sent_size = ::send(socketId, reinterpret_cast<const char*>(&size), 4, MSG_NOSIGNAL);
                                                                              ^
/Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket_p.h:305:79: error: use of undeclared identifier 'MSG_NOSIGNAL'
        sent_size = ::send(socketId, reinterpret_cast<const char*>(&type), 4, MSG_NOSIGNAL);
                                                                              ^
/Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket_p.h:308:64: error: use of undeclared identifier 'MSG_NOSIGNAL'
        sent_size = ::send(socketId, data.data(), data.size(), MSG_NOSIGNAL);
                                                               ^
/Developer/cura-build/build/Arcus-prefix/src/Arcus/src/Socket_p.h:506:79: error: use of undeclared identifier 'MSG_NOSIGNAL'
            if(::send(socketId, reinterpret_cast<const char*>(&keepalive), 4, MSG_NOSIGNAL) == -1)
                                                                              ^
5 errors generated.
make[5]: *** [CMakeFiles/Arcus.dir/src/Socket.cpp.o] Error 1
make[4]: *** [CMakeFiles/Arcus.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [Arcus-prefix/src/Arcus-stamp/Arcus-build] Error 2
make[1]: *** [CMakeFiles/Arcus.dir/all] Error 2
make: *** [all] Error 2

Using:

  • OS X 10.9.5
  • cmake version 3.3.2
  • Python 3.5.0
  • Xcode 6.2

Is there anything I can check?

Build on ubuntu 16.04

So I have runtime error.

Traceback (most recent call last):
File "/opt/cura/bin/cura", line 19, in
import cura.CuraApplication
File "/opt/cura/lib/python3/dist-packages/cura/CuraApplication.py", line 29, in
from . import PlatformPhysics
File "/opt/cura/lib/python3/dist-packages/cura/PlatformPhysics.py", line 17, in
from . import ConvexHullJob
File "/opt/cura/lib/python3/dist-packages/cura/ConvexHullJob.py", line 6, in
from UM.Math.Polygon import Polygon
File "/opt/cura/lib/python3/dist-packages/UM/Math/Polygon.py", line 12, in
import scipy.spatial
File "/opt/cura/lib/python3/dist-packages/scipy/spatial/init.py", line 91, in
from .ckdtree import *
File "init.pxd", line 155, in init ckdtree (scipy/spatial/ckdtree/ckdtree.cxx:22466)
ValueError: numpy.dtype has the wrong size, try recompiling

I did have to do some small changes to build but I do not think that is the problem.
here is the changes I did.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76835f5..4d1d7a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ set(EXTERNALPROJECT_SITEPACKAGES_DIR ${EXTERNALPROJECT_INSTALL_PREFIX}/lib/pytho
 if(DEFINED ENV{CURA_MAJOR_VERSION})
     set(CURA_MAJOR_VERSION $ENV{CURA_MAJOR_VERSION} CACHE STRING "Cura Major Version" FORCE)
 else()
-    set(CURA_MAJOR_VERSION "master" CACHE STRING "Cura Major Version")
+    set(CURA_MAJOR_VERSION "2" CACHE STRING "Cura Major Version")
 endif()

 if(DEFINED ENV{CURA_MINOR_VERSION})
@@ -570,7 +570,7 @@ elseif(BUILD_OS_LINUX)
         "${CMAKE_COMMAND} -E make_directory ${package_dir}/usr/share/applications"
         "${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cura ${package_dir}/usr/bin/"
         "${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cura.desktop ${package_dir}/usr/share/applications/"
-        "${CMAKE_COMMAND} -E copy /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 ${package_dir}/opt/cura/lib/libstdc++.so.6"
+        "${CMAKE_COMMAND} -E copy /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 ${package_dir}/opt/cura/lib/libstdc++.so.6"
     )
 endif()

@@ -600,7 +600,6 @@ set(CPACK_RPM_PACKAGE_RELOCATABLE OFF)

 set(DEB_DEPENDS
     "python3 (>= 3.4.0)"
-    "python3 (<< 3.5.0)"
     "python3-opengl (>= 3.0)"
     "libgfortran3"
 )

SIP API 11.3

Hello,

I am getting the following error on Mac OSX 11.11 when running cura_app.py.
RuntimeError: the sip module implements API v11.0 to v11.2 but the Arcus module requires API v11.3

I have installed SIP 4.18. Which version of SIP are we suppose to run

Error: Unable to create the C++ code.

deepin Linux 15.11 64bit
do as README
meet error

gkh@gkh-office:/home/d/curaProJt/cura-build/build$ make package[ 0%] Built target Python
[ 7%] Built target Sip
[ 15%] Built target Protobuf
[ 16%] Performing update step for 'Arcus'
当前分支 HEAD 是最新的。
[ 17%] Performing configure step for 'Arcus'
-- Found SIP version: 4.17
-- Configuring done
-- Generating done
-- Build files have been written to: /home/d/curaProJt/cura-build/build/Arcus-prefix/src/Arcus-build
[ 18%] Performing build step for 'Arcus'
[ 35%] Built target Arcus
[100%] Built target python_module_Arcus
[ 19%] Performing install step for 'Arcus'
[ 35%] Built target Arcus
[100%] Built target python_module_Arcus
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/lib/python3/dist-packages/Arcus.so
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/lib/libArcus.a
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/Socket.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/SocketListener.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/Types.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/ArcusExport.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/MessageTypeStore.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/include/Arcus/Error.h
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/lib/cmake/Arcus/Arcus-targets.cmake
-- Installing: /home/d/curaProJt/cura-build/build/inst/lib/cmake/Arcus/Arcus-targets-noconfig.cmake
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/lib/cmake/Arcus/ArcusConfig.cmake
-- Up-to-date: /home/d/curaProJt/cura-build/build/inst/lib/cmake/Arcus/ArcusConfigVersion.cmake
[ 19%] Completed 'Arcus'
[ 22%] Built target Arcus
[ 29%] Built target Qt
[ 30%] Performing configure step for 'PyQt'
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.4.2 (licensed under the GNU General Public
License) for Python 3.4.4 on linux.
Found the license file pyqt-gpl.sip.
Checking to see if the QtGui module should be built...
Checking to see if the QtHelp module should be built...
Checking to see if the QtMultimedia module should be built...
Checking to see if the QtMultimediaWidgets module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtOpenGL module should be built...
Checking to see if the QtPrintSupport module should be built...
Checking to see if the QtQml module should be built...
Checking to see if the QtQuick module should be built...
Checking to see if the QtSql module should be built...
Checking to see if the QtSvg module should be built...
Checking to see if the QtTest module should be built...
Checking to see if the QtWebKit module should be built...
Checking to see if the QtWebKitWidgets module should be built...
Checking to see if the QtWidgets module should be built...
Checking to see if the QtXml module should be built...
Checking to see if the QtXmlPatterns module should be built...
Checking to see if the QtDesigner module should be built...
Checking to see if the QAxContainer module should be built...
Checking to see if the QtDBus module should be built...
Checking to see if the QtSensors module should be built...
Checking to see if the QtSerialPort module should be built...
Checking to see if the QtX11Extras module should be built...
Checking to see if the QtBluetooth module should be built...
Checking to see if the QtMacExtras module should be built...
Checking to see if the QtPositioning module should be built...
Checking to see if the QtWinExtras module should be built...
Checking to see if the QtQuickWidgets module should be built...
Checking to see if the QtWebSockets module should be built...
Checking to see if the Enginio module should be built...
Checking to see if the QtWebChannel module should be built...
Checking to see if the QtWebEngineWidgets module should be built...
Checking to see if the dbus support module should be built...
DBus v1 does not seem to be installed.
Qt v5.5.1 (Open Source) is being used.
The qmake executable is /home/d/curaProJt/cura-build/build/inst/bin/qmake.
Qt is built as a shared library.
SIP 4.17 is being used.
The sip executable is /home/d/curaProJt/cura-build/build/inst/bin/sip.
These PyQt5 modules will be built: QtCore, QtGui, QtNetwork, QtPrintSupport,
QtQml, QtSql, QtSvg, QtTest, QtWidgets, QtXml, QtDBus.
The PyQt5 Python package will be installed in
/home/d/curaProJt/cura-build/build/inst/lib/python3/dist-packages.
PyQt5 is being built with generated docstrings.
PyQt5 is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in
/home/d/curaProJt/cura-build/build/inst/lib/plugins/designer.
The qmlscene plugin will be installed in
/home/d/curaProJt/cura-build/build/inst/lib/plugins/PyQt5.
The PyQt5 .sip files will be installed in
/home/d/curaProJt/cura-build/build/inst/share/sip.
pyuic5, pyrcc5 and pylupdate5 will be installed in
/home/d/curaProJt/cura-build/build/inst/bin.
The interpreter used by pyuic5 is /usr/bin/python3.4.
Generating the C++ source for the QtCore module...
Embedding sip flags...
Generating the .pro file for the QtCore module...
Generating the C++ source for the QtGui module...
Error: Unable to create the C++ code.
CMakeFiles/PyQt.dir/build.make:110: recipe for target 'PyQt-prefix/src/PyQt-stamp/PyQt-configure' failed
make[2]: *** [PyQt-prefix/src/PyQt-stamp/PyQt-configure] Error 1
CMakeFiles/Makefile2:332: recipe for target 'CMakeFiles/PyQt.dir/all' failed
make[1]: *** [CMakeFiles/PyQt.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2
gkh@gkh-office:/home/d/curaProJt/cura-build/build$

i need help

Build error

Mac OSX 10.10.3

I cloned this directory and run:

 cmake .
 make

I get the following error:

CMake Error at scripts/ECMPoQmTools.cmake:142 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

   Qt5LinguistToolsConfig.cmake
   qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:61 (ecm_process_po_files_as_qm)

build error: can't build protobuf-lite

I am running Ubuntu 16.04, and I have followed the instructions in README, and run cmake ../ and make

However it fails to build protobuf-lite:

-- Build files have been written to: /mnt/hgfs/git/dev/cura-build/build/Protobuf-prefix/src/Protobuf-build
[ 5%] Performing build step for 'Protobuf'
Scanning dependencies of target libprotobuf-lite
CMakeFiles/libprotobuf-lite.dir/depend.make:4: *** missing separator. Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/libprotobuf-lite.dir/all' failed
make[4]: *** [CMakeFiles/libprotobuf-lite.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/Protobuf.dir/build.make:113: recipe for target 'Protobuf-prefix/src/Protobuf-stamp/Protobuf-build' failed
make[2]: *** [Protobuf-prefix/src/Protobuf-stamp/Protobuf-build] Error 2
CMakeFiles/Makefile2:625: recipe for target 'CMakeFiles/Protobuf.dir/all' failed
make[1]: *** [CMakeFiles/Protobuf.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2
abc@abc-virtual-machine:/mnt/hgfs/git/dev/cura-build/build$

Unable to locate package qml-module's

I'm trying to build Cura on Elementary OS (based on Ubuntu 14.04 LTS), but I it can't find the qml-module... packages. The other packages are installed.

Is there a certain ppa I need to add? Should I install the Qt Online Installer for Linux? Are they included into other packages, like qtdeclarative-opensource-src?

Build on Yosemite 10.10 failed.

I compile on Yosemite10.10(Darwin Kernel Version 14.4.0), but got error as:

/Users/xxx/devbox/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/utils/polygon.h:37:1: note: 
      did you mean struct here?
class PartsView;
^~~~~
struct
In file included from /Users/xxx/devbox/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/bridge.cpp:4:
In file included from /Users/xxx/devbox/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/sliceDataStorage.h:8:
In file included from /Users/xxx/devbox/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/gcodePlanner.h:10:
/Users/xxx/devbox/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/wallOverlap.h:9:10: fatal error: 
      'hash_fun.h' file not found
#include <hash_fun.h> // hash function object
         ^
1 warning and 1 error generated.
make[5]: *** [CMakeFiles/CuraEngine.dir/src/bridge.cpp.o] Error 1
make[4]: *** [CMakeFiles/CuraEngine.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build] Error 2
make[1]: *** [CMakeFiles/CuraEngine.dir/all] Error 2
make: *** [all] Error 2

Make failed on Ubuntu15.10

Make failed on Ubuntu15.10, Anyone can help?
'''
[ 5%] Running C++ protocol buffer compiler on Cura.proto
Cura.proto:1:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2".
CMakeFiles/_CuraEngine.dir/build.make:54: recipe for target 'Cura.pb.cc' failed
make[5]: *** [Cura.pb.cc] Error 1
CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/_CuraEngine.dir/all' failed
make[4]: *** [CMakeFiles/_CuraEngine.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/CuraEngine.dir/build.make:109: recipe for target 'CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build' failed
make[2]: *** [CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build] Error 2
CMakeFiles/Makefile2:168: recipe for target 'CMakeFiles/CuraEngine.dir/all' failed
make[1]: *** [CMakeFiles/CuraEngine.dir/all] Error 2
Makefile:95: recipe for target 'all' failed
make: *** [all] Error 2
'''

CPack cannot find arduino (win32)

Target platform: Windows 32
Host platform: Windows 8 x64

When packaging Cura (after building), I am getting the following error message:

[100%] Built target build_exe
Run CPack packaging tool...
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: cura-build
CPack: - Install project: cura-build
CPack: -   Install component: arduino
CMake Error at C:/Persoonlijk/Projecten/cura-build/build/cmake_install.cmake:39
(file):
  file INSTALL cannot find "C:/Persoonlijk/Projecten/cura-build/arduino".


CPack Error: Error when generating package: Cura
makefile:106: recipe for target 'package' failed
mingw32-make: *** [package] Error 1

It seems that CPack, CMake or NSIS can't find arduino. Indeed, the folder is absent. The latest Arduino package is installed. Should something be copied to that folder? Should the CMake target be adapted to include something?

Build fails with error: <command-line>:0:9: error: too many decimal points in number

This is the error I get when building the CuraEngine target on Windows 7 using MinGW-w64 in MSYS2 (the build of all its dependency targets completed successfully):

[ 79%] Performing update step for 'CuraEngine'
Current branch 2.1 is up to date.
[ 82%] Performing configure step for 'CuraEngine'
-- Configuring done
-- Generating done
-- Build files have been written to: G:/dev/cura-build/build/CuraEngine-prefix/src/CuraEngine-build
[ 86%] Performing build step for 'CuraEngine'
[  4%] Built target clipper
[  6%] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.obj
<command-line>:0:9: error: too many decimal points in number
G:/dev/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/FffGcodeWriter.cpp:225:59: note: in expansion of macro 'VERSION'
     gcode.writeComment("Generated with Cura_SteamEngine " VERSION);
                                                           ^
G:/dev/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/FffGcodeWriter.cpp: In member function 'void cura::FffGcodeWriter::processStartingCode(cura::SliceDataStorage&)':
<command-line>:0:9: error: expected ')' before numeric constant
G:/dev/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/FffGcodeWriter.cpp:225:59: note: in expansion of macro 'VERSION'
     gcode.writeComment("Generated with Cura_SteamEngine " VERSION);
                                                           ^
CMakeFiles/_CuraEngine.dir/build.make:146: recipe for target 'CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.obj' failed
mingw32-make[6]: *** [CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.obj] Error 1
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/_CuraEngine.dir/all' failed
mingw32-make[5]: *** [CMakeFiles/_CuraEngine.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
mingw32-make[4]: *** [all] Error 2
CMakeFiles/CuraEngine.dir/build.make:111: recipe for target 'CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build' failed
mingw32-make[3]: *** [CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build] Error 2
CMakeFiles/Makefile2:181: recipe for target 'CMakeFiles/CuraEngine.dir/all' failed
mingw32-make[2]: *** [CMakeFiles/CuraEngine.dir/all] Error 2
CMakeFiles/Makefile2:193: recipe for target 'CMakeFiles/CuraEngine.dir/rule' failed
mingw32-make[1]: *** [CMakeFiles/CuraEngine.dir/rule] Error 2
Makefile:223: recipe for target 'CuraEngine' failed
mingw32-make: *** [CuraEngine] Error 2

umagi@HOME-PC MSYS /g/dev/cura-build/build
$

How can I solve this?

Problem with archive_read_next_header(): Invalid central directory signature

With the 15.10 branch I'm having an issue extracting the qt-everywhere-opensource-src-5.4.2.zip.

-- [download 100% complete]
-- downloading... done
-- verifying file...
     file='/Developer/cura-build/build/Qt-prefix/src/qt-everywhere-opensource-src-5.4.2.zip'
-- verifying file... done
-- extracting...
     src='/Developer/cura-build/build/Qt-prefix/src/qt-everywhere-opensource-src-5.4.2.zip'
     dst='/Developer/cura-build/build/Qt-prefix/src/Qt'
-- extracting... [tar xfz]
CMake Error: Problem with archive_read_next_header(): Invalid central directory signature
CMake Error: Problem extracting tar: /Developer/cura-build/build/Qt-prefix/src/qt-everywhere-opensource-src-5.4.2.zip
-- extracting... [error clean up]
CMake Error at Qt-stamp/extract-Qt.cmake:33 (message):
  error: extract of
  '/Developer/cura-build/build/Qt-prefix/src/qt-everywhere-opensource-src-5.4.2.zip'
  failed


make[2]: *** [Qt-prefix/src/Qt-stamp/Qt-download] Error 1
make[1]: *** [CMakeFiles/Qt.dir/all] Error 2
make: *** [all] Error 2

Using:

  • OS X 10.9.5
  • cmake version 3.3.2
  • Python 3.5.0
  • Xcode 6.2

Maybe this is useful: https://public.kitware.com/Bug/view.php?id=14855

Issue while building ultimaker cura.

When I hit the "sudo make" command I am getting this error:
CMakeFiles/Qt.dir/build.make:89: recipe for target 'Qt-prefix/src/Qt-stamp/Qt-download' failed
make[2]: *** [Qt-prefix/src/Qt-stamp/Qt-download] Error 1
CMakeFiles/Makefile2:736: recipe for target 'CMakeFiles/Qt.dir/all' failed
make[1]: *** [CMakeFiles/Qt.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.