geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Aran.E99 on Sat, 09 July 2016, 07:10:48

Title: TMK code not compiling
Post by: Aran.E99 on Sat, 09 July 2016, 07:10:48
hi there,

just finished my keyboard code for my 44 key. my problem is that when i go into the directory in cygwin terminal and type make -f makefile, it gives the error 'make: command not found'. using the same make command for my adb converter worked fine. i tired with the original unedited makefile and i have changed my directory in the makefile to my current directory. can anyone help shed some light on the situation? if necessary i will post the codes but i don't think the problem lies within my code, but the makefile.

thanks,
Aran
Title: Re: TMK code not compiling
Post by: joey on Sat, 09 July 2016, 07:33:48
It's not even a problem with the makefile. The command 'make' itself is missing.
Title: Re: TMK code not compiling
Post by: Aran.E99 on Sat, 09 July 2016, 07:49:57
so what would i need to do to get it working? is there a make script in the TMK files that i need to put into the directory?

-Aran
Title: Re: TMK code not compiling
Post by: suicidal_orange on Sat, 09 July 2016, 08:18:09
You need to install make (and probably gcc etc) in cygwin - if I remember rightly there's a 'development' option in the list in the installer.
Title: Re: TMK code not compiling
Post by: Aran.E99 on Sat, 09 July 2016, 08:34:14
thanks a bunch, only problem is that i used cygwin to make the ADB files, how is it that that worked but this didnt?

-Aran
Title: Re: TMK code not compiling
Post by: QuincyJones on Sat, 09 July 2016, 09:35:51
cygwin only comes with a certain amount of commands. read the docs for it - you'll learn a lot!
Title: Re: TMK code not compiling
Post by: Aran.E99 on Sat, 09 July 2016, 09:41:36
thanks! is there any other command line software i need to compile my code?

-Aran
Title: Re: TMK code not compiling
Post by: Aran.E99 on Sat, 09 July 2016, 14:55:49
my code is finally compiled. i realized that i had uninstalled winAVR, not sure why, but i didnt have it on my computer. i got tonnes of errors about the keymap when compiling. i finally gor rid of all the errors. my current problem is that no keys work but if i press enter, it permanently spams zwzwzwzwzwzwzwzwzwzw then if i click enter again it puts a /. finally, when i unplug it, my actual keyboard on my computer goes crazy and pressing 'R' brings up run.

-Aran