thaaraak / es8388

11 stars 2 forks source link

Cannot find assert.h and error.h #1

Open yuhongw opened 2 years ago

yuhongw commented 2 years ago

Probably this is just a basic setting problem,but I really cannot find assert.h and error.h. When I compile an example, it says "fatal error: asserts.h: No such file or directory". Anything wrong with me? Thanks a lot.

thaaraak commented 2 years ago

Hi Bruce,

Are you trying with the esp32 board. Do you have esp32-arduino installed?

If you are using a different board which one?

Regards

Ian

On Sat, Jun 18, 2022, 10:48 AM Bruce Yu @.***> wrote:

Probably this is just a basic setting problem,but I really cannot find assert.h and error.h. When I compile an example, it says "fatal error: asserts.h: No such file or directory". Anything wrong with me? Thanks a lot.

— Reply to this email directly, view it on GitHub https://github.com/thaaraak/es8388/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMGMV5ARZHJLV6KVVTJ6MTVPXOU3ANCNFSM5ZE3S4NA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yuhongw commented 2 years ago

Hi Bruce, Are you trying with the esp32 board. Do you have esp32-arduino installed? If you are using a different board which one? Regards Ian On Sat, Jun 18, 2022, 10:48 AM Bruce Yu @.> wrote: Probably this is just a basic setting problem,but I really cannot find assert.h and error.h. When I compile an example, it says "fatal error: asserts.h: No such file or directory". Anything wrong with me? Thanks a lot. — Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMGMV5ARZHJLV6KVVTJ6MTVPXOU3ANCNFSM5ZE3S4NA . You are receiving this because you are subscribed to this thread.Message ID: @.>

Hi Ian, Thank you for your reply. Yes, I have already installed Esp32,and I have built some projects with no errors recently. The selected board is ESP32 Dev Module. But I will try to install the env again and see . Thanks your hint. Bruce.

thaaraak commented 2 years ago

Hi Bruce,

I had some incorrect dependencies on the si5351 library in es8388. Would you mind fetching the current version of the es8388 library and trying again please

ian

yuhongw commented 2 years ago

Sure,I did, the example file is streams-generator-i2s.ino. I still got some errors at first. After compared pschatzmann's sample, I added "using namespace audio_tools;" line to the example, and comment out some lines like below, I ended up get it passed. //config.pin_data_rx = 35; //config.fixed_mclk = 0; //config.pin_mck = 0;