Jump to content
Sign in to follow this  
mhk3000

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

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

 

Share this post


Link to post
Share on other sites
Posted · CuraEngine size is half

Which compiler are you using? If you are using a cygwin compiler then this most likely explains it. I'm using mingw32 that comes with code-blocks.

 

Share this post


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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 11 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!