dagoma3d / CuraByDagoma

Cura by Dagoma was originally forked from Legacy Cura. It is a UI to generate gcodes from 3d objects.
14 stars 8 forks source link

package.sh erorr : "Failed to build CuraEngine" [Windows x64, from Git Bash] #132

Closed Ugo75b closed 7 months ago

Ugo75b commented 1 year ago

Hello,

When running the package.sh file, I'm getting a small error... I've looked, but I have no idea what this is due to. I ran the file in Git Bash (latest version), and I am also using the latest version of the project. I am on Windows 10, x64.

Here is the console:

Cloning into 'CuraEngine'...
remote: Enumerating objects: 33325, done.
remote: Total 33325 (delta 0), reused 0 (delta 0), pack-reused 33325
Receiving objects: 100% (33325/33325), 45.63 MiB | 19.34 MiB/s, done.
Resolving deltas: 100% (25590/25590), done.
Already on 'dagoma'
Your branch is up to date with 'origin/dagoma'.
Already up to date.
make: Entering directory 'C:/ProgramData/Microsoft/Windows/Start Menu/Programs/CuraByDagoma/CuraEngine'
rm -f build/CuraEngine.exe build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o build/libclipper.a
make: Leaving directory 'C:/ProgramData/Microsoft/Windows/Start Menu/Programs/CuraByDagoma/CuraEngine'
make: Entering directory 'C:/ProgramData/Microsoft/Windows/Start Menu/Programs/CuraByDagoma/CuraEngine'
g++ -m64 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"dagoma\" -isystem libs -O3 -fomit-frame-pointer -march=x86-64 -flto src/bridge.cpp -o build/bridge.o
process_begin: CreateProcess(NULL, g++ -m64 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"dagoma\" -isystem libs -O3 -fomit-frame-pointer -march=x86-64 -flto src/bridge.cpp -o build/bridge.o, ...) failed.
make (e=2): Le fichier sp▒cifi▒ est introuvable.
make: *** [Makefile:84: build/bridge.o] Error 2
make: Leaving directory 'C:/ProgramData/Microsoft/Windows/Start Menu/Programs/CuraByDagoma/CuraEngine'
Failed to build CuraEngine

I hope to receive your help, Thanks in advance!

0r31 commented 1 year ago

Hi @Ugo75b ,

The first step done in the building process is compiling CuraEngine. To do so, you have to install a gcc compiler for Windows, for instance MinGW-w64. There are several steps after this one, the two main ones are :

The current readme has to be updated but you could read the windows section of the packaging script (https://github.com/dagoma3d/CuraByDagoma/blob/master/package.sh#L358) to have more information.