gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > GRIT

#158284 - sUPREz - Sun Jun 08, 2008 8:03 pm

I have some troubles starting with GRIT. I can't compile my project or any example project using grit. I always have this message :

Code:

make[1]: grit: Command not found
make[1]: *** [moon.s] Error 127
make: *** [build] Error 2


It seams that makefile can't find where is the "grit.exe". Even if I copy the "grit.exe" file in the directory of the makefile, It doesn't work.

What should I do ? Help please ! :)

#158292 - tepples - Sun Jun 08, 2008 9:26 pm

A standard installation of devkitARM through devkitPro Updater puts grit.exe inside the folder "$(DEVKITPRO)/devkitARM/bin". Your makefile should put this folder into the PATH for you.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#158295 - gauauu - Sun Jun 08, 2008 10:00 pm

I had a problem once where I had an old installation of devkitArm, then tried updating on top of it....the examples all were set to use grit, but for some reason, grit itself was never added to my /bin folder. I had to remove devkitArm and reinstall, and that fixed it.

If you are still having trouble, that might be worth trying.

#158301 - sUPREz - Sun Jun 08, 2008 10:32 pm

Thanks for your help tepples. As Grit has changed his name, I had a previous version of the tool installed named "GIT.exe". I just copy "grit.exe" file into the bin directory and everything works fine now.

Thanks :)