-
Notifications
You must be signed in to change notification settings - Fork 93
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
Compilation error: expected nested-name-specifier #30
Comments
I have just tried compiling it with Arduino IDE 2.3.2 - with no problems. Which board did you choose? |
ESP32 Dev Module I had to increase the output buffer of Arduino IDE. I freshly downloaded (git clone https://github.com/BojanJurca/Esp32_oscilloscope.git) into my home directory. Started Arduino IDE 2.3.2 and opened ~/Esp32_oscilloscope.ino. Compiled it and got:
|
NB: I have undef'd filesystem (FWIW):
|
ESP32 Dev Module has a built-in flash disk, so the sketch can be compiled with file system enabled, perhaps you can try this option? Although it shouldn't be a problem compiling it without the file system as well. I'll take a look at it in the evening. |
V V pet., 19. apr. 2024 ob 10:43 je oseba chriskuku <
***@***.***> napisala:
… NB: I have undef'd filesystem (FWIW):
// COMMENT THIS DEFINITION OUT IF YOUR ESP32 DOES NOT HAVE A FLASH DISK
// #define FILE_SYSTEM FILE_SYSTEM_LITTLEFS // FILE_SYSTEM_FAT // the file system must correspond to Tools | Partition scheme setting: FILE_SYSTEM_FAT (for FAT partition scheme), FILE_SYSTEM_LITTLEFS (for SPIFFS partition scheme) or FILE_SYSTEM_SD_CARD (if SC card is attached)
// FAT file system can be bitwise combined with FILE_SYSTEM_SD_CARD, like #define FILE_SYSTEM (FILE_SYSTEM_FAT | FILE_SYSTEM_SD_CARD)
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKF3FLIIRLHRYONZHQOS44TY6DKMVAVCNFSM6AAAAABGN5ZXRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWGEYTENJZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
OK, but ESP32 Dev was only chosen by me since I didn't know what else I should choose. Actually I have a CYD2USB which has a socket for an SD card. Will get me a card anyway later today to become "fully featured" :) I'm not sure which WiFi.h is taken but I find one in
|
Update: I removed ESP32 3.0.0-rc and installed ESP32 2.0.11 and compilation ran through.
I was able to upload it to the device (CYD). The screen remains black which may be normal if it runs over the net. So the above error (reason of my post) is due to some quirks in ESP32 3.0.0-rc Got to the point where I can ftp upload the png files. |
I'm sorry, I can not replicate your error. The code compiles right away with or without a file system. Perhaps you can try installing the Arduino IDE from scratch and download ESP_oscillocsope again? |
Thanks for doing the test. Did you try ESP32-3.0.0-rc? |
No, unfortunately I do not have this board installed.
V V pet., 19. apr. 2024 ob 19:47 je oseba chriskuku <
***@***.***> napisala:
… I'm sorry, I can not replicate your error. The code compiles right away
with or without a file system.
Perhaps you can try installing the Arduino IDE from scratch and download
ESP_oscillocsope again?
Thanks for doing the test. Did you try ESP32-3.0.0-rc?
That’s the configuration that triggers the error.
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKF3FLIXXJEZ2CCWQ7FU4BTY6FKC5AVCNFSM6AAAAABGN5ZXRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGAZTEOBSHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I get the same issue. Also have ESP32-3.0.0 (Final, not RC). Using ESP32 C3 Super Mini with chipset fn4p3m4490. oscilloscope.h:860:23: note: suggested alternative: 'i2s_set_clk' exit status 1 Compilation error: 'I2S_MODE_ADC_BUILT_IN' was not declared in this scope |
Thank you for letting me know. Unfortunately I'm away now and will try to reproduce the error as soon as I come back. |
Compile-time errors are caused by migration from IDF 4.4 to 5.0. I'm currently working on this but can't really predict when it will be completed. |
Downgrading to 2.0.17 worked for me.
I had this issue too and just had to comment out |
Thank you for your suggestion. I'll take a look at it to see what I can do. |
I have just uploaded updated files that work with IDF 5.x. I think this will resolve your problem. |
Awesome, I will try it out in a few days! |
Works perfectly |
I'm trying to build
Esp32_oscilloscope.ino
using Arduino-IDE 2.3.2 and I'm getting somthing like this:(output has scrolled out of the output window, so I cannot see where the error initially occurs.
The text was updated successfully, but these errors were encountered: