CHDK Forum
CHDK Development => General Discussion and Assistance => Topic started by: vine on 11 / May / 2008, 10:13:11
-
I am trying to compile CHDK for the first time on my own. I followed this guide: Compiling CHDK under Windows - CHDK Wiki (http://chdk.wikia.com/wiki/Compiling_CHDK_under_Windows)
However I get the following error:
Z:\CHDK\trunk>gmake fir
**** Build: 51
>> Entering to tools
/usr/bin/sh: -c: line 1: syntax error near unexpected token `;'
/usr/bin/sh: -c: line 1: `for i in ; do echo \>\> Entering to tools/$i; z:/CHD
K/gcc/bin/gmake.exe -C $i FOLDER="tools/$i/" || exit 1; echo \<\< Leaving tools
/$i; done'
z:\CHDK\gcc\bin\gmake.exe[1]: *** [all-recursive] Error 258
gmake: *** [all-recursive] Error 1
-
I'm running Windows XP 32bit and followed steps on the linked wiki page. It should work shouldn't it?
-
Yes, I've had it working on XP SP2 32-bits (if that was your question)
check the following:
Did your path environment change 'take' ?
- in a cmd box, change to the path that contains your source 'Makefile'
- type set <Enter>
- check the PATH
- if Ok, try 'gmake fir' again; if not you might have to reboot first.
Other possible 'spoil-sports': any compilers that use the make system and have their path before your 'gcc\bin' in PATH
You could also try my Windows shell for trunk building here: zSHARE - chdk-shell-v125.zip (http://www.zshare.net/download/104761354c4028ad/)
wim
-
Other possible 'spoil-sports': any compilers that use the make system and have their path before your 'gcc\bin' in PATH
Thanks, that was the problem, the path for WinAVR was interfering. Now it works flawlessly. Thanks again.
-
posted to wrong topic - sorry!