Jump to content

CuraEngine size is half


mhk3000

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

https://www.dropbox.com/s/9e1pgmbzrpsv889/package.sh?dl=0

And I have commented only the following lines

#package the result

if (( ${ARCHIVE_FOR_DISTRIBUTION} )); then

if [ $BUILD_TARGET = "win32" ]; then

#rm ${TARGET_DIR}.zip

#cd ${TARGET_DIR}

#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

else

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

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

fi

else

echo "Installed into ${TARGET_DIR}"

fi

 

  • Link to post
    Share on other sites

    Posted · CuraEngine size is half

    Daid,

    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

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...