Jump to content
Ultimaker Community of 3D Printing Experts

CuraEngine size is half


Recommended Posts

Posted · CuraEngine size is half

Hello Daid,

When I am using package.sh to build Cura.exe, the size of CuraEngine.exe is approximately half compared to CuraEngine.exe packaged with the release version from software.Ultimaker.com. Gcode toolpaths within my CuraEngine do not work on any machine other than the build machine

I have shared a link of package.sh


And I have commented only the following lines

#package the result


if [ $BUILD_TARGET = "win32" ]; then

#rm ${TARGET_DIR}.zip


#7z a ../${TARGET_DIR}.zip *

#cd ..

#if [ -f '/cygdrive/c/Program\ Files\ \(x86\)/NSIS/makensis.exe' ]; then

rm -rf scripts/win32/dist

mv `pwd`/${TARGET_DIR} scripts/win32/dist

'makensis.exe' -DVERSION=${BUILD_NAME} 'scripts/win32/installer.nsi' >> log.txt

mv scripts/win32/Cura_${BUILD_NAME}.exe ./

# fi


echo "Archiving to ${TARGET_DIR}.tar.gz"

$TAR cfp - ${TARGET_DIR} | gzip --best -c > ${TARGET_DIR}.tar.gz



echo "Installed into ${TARGET_DIR}"



  • Link to post
    Share on other sites

    Posted · CuraEngine size is half


    thanks for your reply. I have installed Codeblocks and still getting the following error. Also I am using a windoww 7 operating system

    C:\Github\CuraEngine>mingw32-make all

    The syntax of the command is incorrect.

    mingw32-make: [build/] Error 1 (ignored)

    The syntax of the command is incorrect.

    mingw32-make: [build/modelFile/] Error 1 (ignored)

    The syntax of the command is incorrect.

    mingw32-make: [build/utils/] Error 1 (ignored)

    g++ -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=

    \"DEV\" -isystem libs -O3 -fomit-frame-pointer -march=pentium4 -flto src/bridge.

    cpp -o build/bridge.o

    Assembler messages:

    Fatal error: can't create build/bridge.o: No such file or directory

    mingw32-make: *** [build/bridge.o] Error 1


  • Link to post
    Share on other sites

    • 2 weeks later...

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 13 replies
    • Create New...