Skip to content
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

Wy i can't compile ?! Thanks for help #183

Open
Jonahan06340 opened this issue Jun 24, 2024 · 16 comments
Open

Wy i can't compile ?! Thanks for help #183

Jonahan06340 opened this issue Jun 24, 2024 · 16 comments

Comments

@Jonahan06340
Copy link

Good morning,
I'm trying to compile the example "FeatureDemo.ino" project which I put: "#define GPIOPINOUT ESP32_FORUM_PINOUT".
I selected in the arduino IDE the "DOIT ESP3 DEVKIT V1" card which actually corresponds to my "ESP-WROOM-32" card.

I also included the below lines in SmartMatrix/src/esp32_i2s_parallel.c
#include "soc/gpio_periph.h"
#include "esp32-hal.h"
#include "hal/gpio_types.h"

As you can see in the lines below, it doesn't compile!
I would be very grateful if you could direct me on this problem.
Thank you

`FQBN: esp32:esp32:esp32doit-devkit-v1
Using board 'esp32doit-devkit-v1' from platform in folder: Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1
Using core 'esp32' from platform in folder: Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1

cmd /c if exist "Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\partitions.csv" COPY /y "Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\partitions.csv" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\partitions.csv"
cmd /c if not exist "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\partitions.csv" if exist "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\variants\doitESP32devkitV1\partitions.csv" COPY "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\variants\doitESP32devkitV1\partitions.csv" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\partitions.csv"
cmd /c if not exist "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\partitions.csv" COPY "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\tools\partitions\default.csv" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\partitions.csv"
cmd /c IF EXIST "Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\bootloader.bin" ( COPY /y "Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\bootloader.bin" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\FeatureDemo.ino.bootloader.bin" ) ELSE ( IF EXIST "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\variants\doitESP32devkitV1\bootloader.bin" ( COPY "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\variants\doitESP32devkitV1\bootloader.bin" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\FeatureDemo.ino.bootloader.bin" ) ELSE ( "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6\esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\FeatureDemo.ino.bootloader.bin" "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32\bin\bootloader_dio_80m.elf" ) )
esptool.py v4.6
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.

...
...
...

Compilation du croquis...
"Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-g++" -MMD -c "@z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/cpp_flags" -Os -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="doitESP32devkitV1"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS="windows"" "-DARDUINO_FQBN="esp32:esp32:esp32doit-devkit-v1:UploadSpeed=921600,FlashFreq=80,DebugLevel=none,EraseFlash=none"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 "@z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/defines" "-IZ:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo" -iprefix "Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/include/" "@z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/includes" "-IZ:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/dio_qspi/include" "-IZ:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\cores\esp32" "-IZ:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\variants\doitESP32devkitV1" "-Iz:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src" "-Iz:\Users\Jonathan\Desktop\Projets\libraries\Adafruit-GFX-Library" "-Iz:\Users\Jonathan\Desktop\Projets\libraries\Adafruit_BusIO" "-IZ:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\libraries\Wire\src" "-IZ:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\libraries\SPI\src" "@z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3/build_opt.h" "@z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3/file_opts" "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\sketch\FeatureDemo.ino.cpp" -o "Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\sketch\FeatureDemo.ino.cpp.o"
Utilisation du fichier déjà compilé: Z:\Users\Jonathan\AppData\Local\Temp\arduino\sketches\B4DD9C163FA908B4FF969381FD486CF3\sketch\colorwheel.c.o
In file included from Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\FeatureDemo.ino:35:
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixHardware_ESP32_V0.h:208:21: note: '#pragma message: MatrixHardware: ESP32 forum wiring'
208 | #pragma message "MatrixHardware: ESP32 forum wiring"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\examples\FeatureDemo\FeatureDemo.ino:37:
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/SmartMatrix.h:40:21: note: '#pragma message: SmartMatrix Library version 4.000.003'
40 | # pragma message "SmartMatrix Library version 4.000.003"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Scrolling.h:98,
from z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/SmartMatrix.h:53:
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Scrolling_Impl.h: In member function 'void SMLayerScrolling<RGB, optionFlags>::updateScrollingText()':
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Scrolling_Impl.h:273:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
273 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Scrolling_Impl.h:281:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
281 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Scrolling_Impl.h:289:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
289 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
In file included from z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Gfx_Mono.h:157,
from z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/SmartMatrix.h:60:
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Gfx_Mono_Impl.h: In member function 'void SMLayerGFXMono<RGB_API, RGB_STORAGE, optionFlags>::updateScrollingText()':
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Gfx_Mono_Impl.h:467:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
467 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Gfx_Mono_Impl.h:475:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
475 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/Layer_Gfx_Mono_Impl.h:483:36: warning: '--' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
483 | if (scrollcounter > 0) scrollcounter--;
| ^~~~~~~~~~~~~
In file included from z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/SmartMatrix.h:225:
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h: In static member function 'static void SmartMatrixHub75Refresh<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::begin(uint32_t)':
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:299:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
299 | gpio_pad_select_gpio(CLK_PIN);
| ^~~~~~~~~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:299:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:300:9: error: there are no arguments to 'gpio_set_direction' that depend on a template parameter, so a declaration of 'gpio_set_direction' must be available [-fpermissive]
300 | gpio_set_direction(CLK_PIN, GPIO_MODE_OUTPUT);
| ^~~~~~~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:305:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
305 | gpio_pad_select_gpio(LAT_PIN);
| ^~~~~~~~~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:306:9: error: there are no arguments to 'gpio_set_direction' that depend on a template parameter, so a declaration of 'gpio_set_direction' must be available [-fpermissive]
306 | gpio_set_direction(LAT_PIN, GPIO_MODE_OUTPUT);
| ^~~~~~~~~~~~~~~~~~
z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix\src/MatrixEsp32Hub75Refresh_Impl.h:307:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
307 | gpio_pad_select_gpio(OE_PIN);
| ^~~~~~~~~~~~~~~~~~~~

...
...
...

Plusieurs bibliothèque trouvées pour "Adafruit_GFX.h"
Utilisé: Z:\Users\Jonathan\Desktop\Projets\libraries\Adafruit-GFX-Library
Non utilisé: Z:\Users\Jonathan\Desktop\Projets\libraries\Adafruit_GFX_Library
Utilisation de la bibliothèque SmartMatrix version 4.0.3 dans le dossier: Z:\Users\Jonathan\Desktop\Projets\libraries\SmartMatrix
Utilisation de la bibliothèque Adafruit GFX Library version 1.11.9 dans le dossier: Z:\Users\Jonathan\Desktop\Projets\libraries\Adafruit-GFX-Library
Utilisation de la bibliothèque Adafruit BusIO version 1.16.1 dans le dossier: Z:\Users\Jonathan\Desktop\Projets\libraries\Adafruit_BusIO
Utilisation de la bibliothèque Wire version 2.0.0 dans le dossier: Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\libraries\Wire
Utilisation de la bibliothèque SPI version 2.0.0 dans le dossier: Z:\Users\Jonathan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1\libraries\SPI
exit status 1

Compilation error: exit status 1`

@davemaster
Copy link

lines up of <SmartMatrix.h> line, there are many "pin definitions"; I have the same board, so, do this:

imagen

Uncomment that line, and try again

@Jonahan06340
Copy link
Author

Jonahan06340 commented Jun 24, 2024

First of all thank you.
But I already uncommented this line in my "FeatureDemo" project !!!
And I even added this line at the top of my project: "#define GPIOPINOUT ESP32_FORUM_PINOUT".
I really don't understand where this problem comes from.

the problem starts here:

'MatrixEsp32Hub75Refresh_Impl.h:299:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
299 | gpio_pad_select_gpio(CLK_PIN);
| ^~~~~~~~~~~~~~~~~~~~'

@davemaster
Copy link

THEN, are You sure, You're selecting the right board? What version of ESP32 have in your Boards Manger?

Better a picture or video to diagnose the patient

@davemaster
Copy link

davemaster commented Jun 25, 2024

here, your error:

299 | gpio_pad_select_gpio(CLK_PIN);

Seems like You're not defining the CLK_PIN, if You customized the ESP32-HARDWARE-V0 (or whatever file) May be You committed a mistype..

ALSO, there is a problem with the Arduino IDE when the number of files in project are too long... so, for avoid PATH EXTENSION problem, put your folder in ROOT... for short the size of file paths

Best regards

@Jonahan06340
Copy link
Author

Jonahan06340 commented Jun 25, 2024

Thank you so much.
The problem is that I didn't customize anything !
I'll change the path and let you know if it works.
I'm using this ESP32
image
And i selected in Arduino IDE "DOIT ESP32 DEVKIT V1", may be it's not the right one!!
Thks

@davemaster
Copy link

I have that board too.

One more tip, about those libraries, Try (board manager) to downgrade the esp32 to 1.0.6 (yes, that old version) and compile all over again.

imagen

Best regards

@davemaster
Copy link

Also, this #175 for esp32, I try this with esp32 2.0.17 and works

imagen

@Jonahan06340
Copy link
Author

Thank you very much for your help, but the problem persists!
image

@davemaster
Copy link

But, You're trying using Arduino IDE 2.X
NO, use the 1.8.19 FIRST... try with that one.

@Jonahan06340
Copy link
Author

Jonahan06340 commented Jun 26, 2024

Finally I managed to compile the example provided in the library :)
As proposed by @davemaster I downgraded to esp32 => 2.0.17
However, I have some Warnings that I will put for you below.

image

@HorstBaerbel
Copy link

I have the same problem with the ESP32 board library 2.0.17 works, 3.0.4 doesn't.

@davemaster
Copy link

Finally I managed to compile the example provided in the library :) As proposed by @davemaster I downgraded to esp32 => 2.0.17 However, I have some Warnings that I will put for you below.

image

Can You share Your output (in panel(s))? Thanks in advance

@davemaster
Copy link

I will try with the 3.0.4 this night, later... keep in touch

@HorstBaerbel
Copy link

Finally I managed to compile the example provided in the library :) As proposed by @davemaster I downgraded to esp32 => 2.0.17 However, I have some Warnings that I will put for you below.
image

Can You share Your output (in panel(s))? Thanks in advance

Not right now, but the error is in _Impl.h files and always related to gpio_pad_select_gpio, as seen in the top posts

@HorstBaerbel
Copy link

Using SmartMatrix 4.0.3, Arduino IDE 2.3.2 and ESP32 3.0.4:
Compilation errors:
`In file included from /private/path/Project.ino:93:
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixHardware_ESP32_V0.h:208:21: note: '#pragma message: MatrixHardware: ESP32 forum wiring'
208 | #pragma message "MatrixHardware: ESP32 forum wiring"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /private/path/Project.ino:94:
/home/foo/Arduino/libraries/SmartMatrix/src/SmartMatrix.h:40:21: note: '#pragma message: SmartMatrix Library version 4.000.003'
40 | # pragma message "SmartMatrix Library version 4.000.003"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/foo/Arduino/libraries/SmartMatrix/src/SmartMatrix.h:225:
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h: In static member function 'static void SmartMatrixHub75Refresh<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::begin(uint32_t)':
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:299:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
299 | gpio_pad_select_gpio(CLK_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:299:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:305:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
305 | gpio_pad_select_gpio(LAT_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:307:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
307 | gpio_pad_select_gpio(OE_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:309:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
309 | gpio_pad_select_gpio(R1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:311:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
311 | gpio_pad_select_gpio(G1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:313:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
313 | gpio_pad_select_gpio(B1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:315:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
315 | gpio_pad_select_gpio(R2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:317:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
317 | gpio_pad_select_gpio(G2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:319:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
319 | gpio_pad_select_gpio(B2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:323:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
323 | gpio_pad_select_gpio(A_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:328:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
328 | gpio_pad_select_gpio(B_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:333:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
333 | gpio_pad_select_gpio(C_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:338:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
338 | gpio_pad_select_gpio(D_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:343:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
343 | gpio_pad_select_gpio(E_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:457:9: error: either all initializer clauses should be designated or none of them should be
457 | desccount,
| ^~~~~~~~~
In file included from /home/foo/Arduino/libraries/SmartMatrix/src/SmartMatrix.h:227:
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h: In member function 'void SmartMatrixHub75Refresh_NT::begin(uint32_t)':
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:291:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
291 | gpio_pad_select_gpio(CLK_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:297:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
297 | gpio_pad_select_gpio(LAT_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:299:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
299 | gpio_pad_select_gpio(OE_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:301:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
301 | gpio_pad_select_gpio(R1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:303:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
303 | gpio_pad_select_gpio(G1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:305:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
305 | gpio_pad_select_gpio(B1_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:307:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
307 | gpio_pad_select_gpio(R2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:309:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
309 | gpio_pad_select_gpio(G2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:311:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
311 | gpio_pad_select_gpio(B2_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:315:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
315 | gpio_pad_select_gpio(A_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:320:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
320 | gpio_pad_select_gpio(B_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:325:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
325 | gpio_pad_select_gpio(C_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:330:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
330 | gpio_pad_select_gpio(D_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:335:9: error: there are no arguments to 'gpio_pad_select_gpio' that depend on a template parameter, so a declaration of 'gpio_pad_select_gpio' must be available [-fpermissive]
335 | gpio_pad_select_gpio(E_PIN);
| ^~~~~~~~~~~~~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_NT_Impl.h:449:9: error: either all initializer clauses should be designated or none of them should be
449 | desccount,
| ^~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h: In instantiation of 'static void SmartMatrixHub75Refresh<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::begin(uint32_t) [with int refreshDepth = 24; int matrixWidth = 32; int matrixHeight = 32; unsigned char panelType = 1; long unsigned int optionFlags = 0; uint32_t = long unsigned int]':
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Calc_Impl.h:389:100: required from 'void SmartMatrixHub75Calc<refreshDepth, matrixWidth, matrixHeight, panelType, optionFlags>::begin(uint32_t) [with int refreshDepth = 24; int matrixWidth = 32; int matrixHeight = 32; unsigned char panelType = 1; long unsigned int optionFlags = 0; uint32_t = long unsigned int]'
/private/path/Project.ino:238:15: required from here
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:299:29: error: 'gpio_pad_select_gpio' was not declared in this scope; did you mean 'esp_rom_gpio_pad_select_gpio'?
299 | gpio_pad_select_gpio(CLK_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
| esp_rom_gpio_pad_select_gpio
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:305:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
305 | gpio_pad_select_gpio(LAT_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:307:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
307 | gpio_pad_select_gpio(OE_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:309:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
309 | gpio_pad_select_gpio(R1_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:311:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
311 | gpio_pad_select_gpio(G1_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:313:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
313 | gpio_pad_select_gpio(B1_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:315:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
315 | gpio_pad_select_gpio(R2_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:317:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
317 | gpio_pad_select_gpio(G2_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:319:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
319 | gpio_pad_select_gpio(B2_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:323:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
323 | gpio_pad_select_gpio(A_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:328:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
328 | gpio_pad_select_gpio(B_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:333:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
333 | gpio_pad_select_gpio(C_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:338:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
338 | gpio_pad_select_gpio(D_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/foo/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Refresh_Impl.h:343:29: error: 'gpio_pad_select_gpio' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
343 | gpio_pad_select_gpio(E_PIN);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~

exit status 1

Compilation error: exit status 1`

@davemaster
Copy link

Greetings,

Same errors like You. I'm very busy now, in a CNC Project... let me deep more in a couple of weeks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants