geekhack
geekhack Community => Keyboards => Topic started by: OhManIAmWorried on Sat, 02 September 2017, 12:38:06
-
I've followed Hasu's guide on building tmk firmware for keyboard, now I have all required files and need to compile those to have .hex file. It is mentioned, that to use all those Linux commands on my Win7 PC I need to install either cygwin or mingw.
I've chosen cygwin, followed this guide and now, it turns out, that I don't have some packages installed (or something like that).
My console outputs
sh: dfu-programmer: command not found
sh: dfu-programmer: command not found
--------begin---------
sh: avr-gcc: command not found
make: *** [../../tmk_core/rules.mk:406: gccversion] Error 127
after I use make -f Makefile command.
So, the question is: what's wrong? Do I need any other packages installed? Is there another way to compile those files (complete guide, not "If you are using windows, install something or something" without further details)?
-
So, the question is: what's wrong? Do I need any other packages installed? Is there another way to compile those files (complete guide, not "If you are using windows, install something or something" without further details)?
If I recall correctly, and I might not, the syntax for Cygwin is apt-cyg install <package>, so try: apt-cyg install dfu-programmer avr-gcc
Although I have to say it's much easier to set up Linux over Virtualbox for compiling TMK/QMK.
-
So, the question is: what's wrong? Do I need any other packages installed? Is there another way to compile those files (complete guide, not "If you are using windows, install something or something" without further details)?
If I recall correctly, and I might not, the syntax for Cygwin is apt-cyg install <package>, so try: apt-cyg install dfu-programmer avr-gcc
Although I have to say it's much easier to set up Linux over Virtualbox for compiling TMK/QMK.
I've tried such commands, but sudo and apt are not a part of cygwin, as I recall. Well, that's a shame, I'll try something else, but thank you!
-
+1 for downloading / installing Hasu's pre-packaged unbuntu image in virtualbox. Saves all that environmental setup headache in windows.