keyboardio / Model01-Firmware

The "standard" Keyboardio Model 01 Firmware sketch.
GNU General Public License v3.0
172 stars 302 forks source link

make flash doesn't work #54

Closed wt closed 6 years ago

wt commented 6 years ago

I am on linux with an arduino ide I just downloaded. I am sync'd to the latest master (c7fab58f63b99013baa89b6637f36ad7be3bb3bc). It will not build. Here's some output to help:

$ make flash
BOARD_HARDWARE_PATH="/home/wt/Arduino/hardware" /home/wt/Arduino/hardware/keyboardio/avr/libraries/Kaleidoscope/bin//kaleidoscope-builder flash
Building output/Model01-Firmware/Model01-Firmware (0.0.0-gv1.22-13-gc7fa) ...
/home/wt/Arduino/Model01-Firmware/Model01-Firmware.ino:285:26: error: expected constructor, destructor, or type conversion before '(' token
 KALEIDOSCOPE_INIT_PLUGINS(
                          ^
exit status 1
/home/wt/Arduino/hardware/keyboardio/avr/build-tools/makefiles//rules.mk:72: recipe for target 'flash' failed
make: *** [flash] Error 1
obra commented 6 years ago

Hi Wren,

Are you also current on the Arduino-Boards repo? Once you pull that one, you also need to 'make update-submodules' inside it.

Best, Jesse

On Fri, Jun 1, 2018 at 4:22 PM Wren Turkal notifications@github.com wrote:

I am sync'd to the latest master (c7fab58 https://github.com/keyboardio/Model01-Firmware/commit/c7fab58f63b99013baa89b6637f36ad7be3bb3bc ). It will not build. Here's some output to help:

$ make flash BOARD_HARDWARE_PATH="/home/wt/Arduino/hardware" /home/wt/Arduino/hardware/keyboardio/avr/libraries/Kaleidoscope/bin//kaleidoscope-builder flash Building output/Model01-Firmware/Model01-Firmware (0.0.0-gv1.22-13-gc7fa) ... /home/wt/Arduino/Model01-Firmware/Model01-Firmware.ino:285:26: error: expected constructor, destructor, or type conversion before '(' token KALEIDOSCOPE_INIT_PLUGINS( ^ exit status 1 /home/wt/Arduino/hardware/keyboardio/avr/build-tools/makefiles//rules.mk:72: recipe for target 'flash' failed make: *** [flash] Error 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/keyboardio/Model01-Firmware/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AACxaHIdvauy1LU5yhuUxbNJhY9C7CX7ks5t4cyegaJpZM4UXbmj .

obra commented 6 years ago

I'm closing this for now due to the lack of a reply. Feel free to reopen it if you still need a hand, @wt.

wt commented 6 years ago

I figured it out. I don't remember what I did.