Page 1 of 1
Error when i compile Save hack Source from Wintermute
Posted: Tue May 17, 2011 7:31 pm
by DragonRider
Hello,
when i will compile the source of the save hack from Wintermute this error came:
cc cooksum.c -o cooksum
make: cc: Command not found
make: *** [cooksum] Error 127
I used this source:
https://download.github.com/WinterMute- ... 938.tar.gz
Can anyone help me?
Re: Error when i compile Save hack Source from Wintermute
Posted: Wed May 18, 2011 1:10 am
by WinterMute
You'll need to have MinGW installed and add CC := gcc to the Makefile.
Sorry, I've never checked this with windows.
Re: Error when i compile Save hack Source from Wintermute
Posted: Wed May 18, 2011 1:38 pm
by DragonRider
thanks !
Re: Error when i compile Save hack Source from Wintermute
Posted: Thu May 19, 2011 1:34 pm
by DragonRider
i have tested it but i get this error:
C:\devkitPro\Projekte\WinterMute-CookHack-b933938>build
arm-eabi-gcc -x assembler-with-cpp -DUSA -nostartfiles -nostdlib cookhack.s -o c
ookhack.elf
C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe cooksum.c -o cooksum
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe cooksum.c
-o cooksum'
make: *** [cooksum] Error 2
i have add
CC := C:\Program Files (x86)\Dev-Cpp\bin\gcc.exe
because when i write gcc it tell me Not found...
Re: Error when i compile Save hack Source from Wintermute
Posted: Fri May 20, 2011 12:37 pm
by WinterMute
You can't install gnu tools in paths with spaces or brackets, things go wrong with the path searching. I tend to recommend that people stay away from dev-cpp, in my experience it causes problems with projects intended to be cross platform.