Soulmate-Lights / soulmate-core

ESP-IDF library for LEDs
http://www.soulmatelights.com
MIT License
27 stars 2 forks source link

Build error on new setup #10

Closed jennywin closed 3 years ago

jennywin commented 3 years ago

Hi there! I'm running into an issue where I'm not able to set up a new Soulmate. See below for build error and screen recording. Any ideas what might be going on or what I might be doing wrong? Thanks!

/tmpoXSSPF/main/main.cpp:33:22: fatal error: Soulmate.h: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [component-main-build] Error 2
make: *** Waiting for unfinished jobs....
fatal: not a git repository: /tmpoXSSPF/components/arduino/../../../.git/modules/soulmate-core/modules/components/arduino

https://user-images.githubusercontent.com/14825209/111576204-3e386380-876d-11eb-84c3-9621394adada.mov

elliottkember commented 3 years ago

@jennywin Hi Jenny! Could you please try again? I was changing some things last night and you might have caught the server in the middle of a deployment. I've just tried this locally and couldn't reproduce this bug, which is a good sign.

jennywin commented 3 years ago

@elliottkember Thanks for looking into it! I just tried again now and I'm not getting a build error this time. Here's what I'm seeing in the network tab in dev tools.

image

elliottkember commented 3 years ago

@jennywin That's looking good, that's the contents of the firmware binary file. Can you hit the "console" tab and see what it says?

Also, you might need to update your version. I don't know what version you're running, but 2.1.15 is the latest. It will check for updates on launch. Can you tell me whether you're on an M1 or Intel mac?

jennywin commented 3 years ago

@elliottkember Sure thing, here's the console log below.

I'm on 2.1.10 right now. I tried downloading the latest version, but the https://editor.soulmatelights.com/download/mac-universal link wasn't working last night. I see it is now so I'll download it, install it, and let you know how it goes.

image

elliottkember commented 3 years ago

Ah, thank you! I see what it is. I'm sorry you hit all those things!

This was a casualty of the migration to a universal build. The new universal build will simplify everything, but I hit a few snags updating it. What you just hit was a problem with the compile task that I fixed yesterday - I can see it from the console log. Latest version should work great!

jennywin commented 3 years ago

Everything is working now! Hooray! Thank you :)

elliottkember commented 3 years ago

@jennywin Very happy to hear it. I've set up a discord at https://discord.gg/tNMBn5p7 if you have any more problems!

jennywin commented 3 years ago

Awesome, thanks again for the help and for responding so quickly!