-
Notifications
You must be signed in to change notification settings - Fork 162
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
Comments
First of all thank you. 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] |
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 |
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 |
Also, this #175 for esp32, I try this with esp32 2.0.17 and works |
But, You're trying using Arduino IDE 2.X |
Finally I managed to compile the example provided in the library :) |
I have the same problem with the ESP32 board library 2.0.17 works, 3.0.4 doesn't. |
Can You share Your output (in panel(s))? Thanks in advance |
I will try with the 3.0.4 this night, later... keep in touch |
Not right now, but the error is in _Impl.h files and always related to |
Using SmartMatrix 4.0.3, Arduino IDE 2.3.2 and ESP32 3.0.4: exit status 1 Compilation error: exit status 1` |
Greetings, Same errors like You. I'm very busy now, in a CNC Project... let me deep more in a couple of weeks... |
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`
The text was updated successfully, but these errors were encountered: