-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make for ESP32 fails on nanopb build #105
Comments
I found a regex bug in the FindNanopb.cmake line 263: the last variable needs quotes to continue building (to the next error). |
you don't need to install a virtualbox machine. WSL2 could help you too. https://github.com/HeikoGr/euphonium/wiki/using-Windows-Subsystem-for-Linux-(WSL)-for-compilation this should work for cspot alone as well... BUT: you can't flash via WSL2 without porblems. so maybe virtualbox is still a good alternative... |
Thanks ! Since I have worked with ubuntu in the past, it would be one less problem to worry about. I installed the last LTS version just tonight:
Patched locally:
Now I get as far as building the bootloader but get stuck at the protoc version:
I wonder why it's so hard to just get started... but as long as I feel that Iḿ making progress I'm willing to play pitpull, bite until I figure it out. Google only provides answers of similar issues reported in 2016 and should be solved by now... Stuck again but that's it for me tonight. Hope someone has some ideas to get me going ? |
Did you install the dependencies?
maybe you also need to install protobuf-compiler. I can’t test it now.
|
Thanks, Yes, I installed all dependencies mentioned in the main readme.md file: protobuf-compiler is already the newest version (3.6.1.3-2ubuntu5). If I put the following line at the top of authentication.proto file:
(I still don't know why it doesn't work out of the box, am I the only one having these kind of issues ?)
|
what version of esp-idf do you use? |
Please make sure you've installed all the dependencies in the esp-idf virtual environment, not globally. Nornally it is located in the |
Hello people, I am up to date with https://github.com/espressif/esp-idf.git and have remove the build directory before building.
|
maybe this causes the problems. |
Failed for me as well with IDF5, had to roll back to IDF4.4 |
To be sure that you've installed deps in the venv run commands from venv folder similar to this:
and so on |
i just tested idf5 on my cspot clone/fork with github action. the occuring errors don't relate to the problem(s) of @BartRijvers11 working idf4.4: https://github.com/HeikoGr/cspot/actions/runs/1750212376 |
@BartRijvers11 : maybe you need to undo your local patch |
to be prepared when your order of the esp32 arrived, you could
how you receive the compiled artifacts: (i will make a PR for this repo) |
I've rolled back to IDF 4.4 release branch, reverted local changes and I have the same version of python in that folder. If the venv file is important, can you share what it looks like on your platform and how I can fill missing entries (just add them textually or add using a command) ? |
Thanks a lot guys, success at last ! BTW. I ordered an AliExpress board with ES8388 as the AC101 is currently unavailable. |
(Unrelated to this issue) |
as far as i understand authBlob.json stores the login credentials for the cli version. |
Ok, then how can I set op my Spotify credentials in the ESP32 ? |
You don’t need to. You need to compile cspot with your wifi credentials (this is the point, i remember why a precompiled firmware makes no sense, as long as there is no wifi manager included). The Spotify credentials come from the device you connect to the cspot. |
@BartRijvers11 Did you succeed? |
Yes, I got the board 2 days ago and installed a pre-built version of euphonium (0.0.14). It works with webradio and spotify but the volume is very soft and I can't control it. My board has the ES8388 chip and Filip mentioned a new release coming soon. I haven't checked that as I did not yet have the time. |
I came accross your github and became enthousiastic ! I want a dedicated embedded spotify player for my home office
I have a fresh install of the IDF toolchain on my Windows 10 machine and I updated the GIT repo including submodules. I do get stuck building the nanopb library though. I tried many things for the last couple of days, unfortunately unsuccessful but maybe it's a simple solution I have overlooked.
I have ordered a board from AliExpress which is in transit right now and I like to be able to compile the software before I actually receive the board.
Loggings:
The text was updated successfully, but these errors were encountered: