Author Topic: TMK code not compiling  (Read 2095 times)

0 Members and 1 Guest are viewing this topic.

Offline Aran.E99

  • Thread Starter
  • Posts: 181
  • Location: United kingdom
TMK code not compiling
« 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
SMK 2nd Gen Blue Alps mount <3

Offline joey

  • Posts: 2296
  • Location: UK
Re: TMK code not compiling
« Reply #1 on: Sat, 09 July 2016, 07:33:48 »
It's not even a problem with the makefile. The command 'make' itself is missing.

Offline Aran.E99

  • Thread Starter
  • Posts: 181
  • Location: United kingdom
Re: TMK code not compiling
« Reply #2 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
SMK 2nd Gen Blue Alps mount <3

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: TMK code not compiling
« Reply #3 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.
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline Aran.E99

  • Thread Starter
  • Posts: 181
  • Location: United kingdom
Re: TMK code not compiling
« Reply #4 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
SMK 2nd Gen Blue Alps mount <3

Offline QuincyJones

  • Posts: 270
  • Location: The Greatest Of Them All, England
Re: TMK code not compiling
« Reply #5 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!
SENT FROM MY TRKA-100-ULTRA-PRO-1R WITH FLASHY MULTI-COLOURED LEDS FOR MEGA ULTRA COOLNESS
(please like me)

       

Offline Aran.E99

  • Thread Starter
  • Posts: 181
  • Location: United kingdom
Re: TMK code not compiling
« Reply #6 on: Sat, 09 July 2016, 09:41:36 »
thanks! is there any other command line software i need to compile my code?

-Aran
SMK 2nd Gen Blue Alps mount <3

Offline Aran.E99

  • Thread Starter
  • Posts: 181
  • Location: United kingdom
Re: TMK code not compiling
« Reply #7 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
SMK 2nd Gen Blue Alps mount <3