thelastoutpostworkshop / gpio_viewer

GPIOViewer Arduino Library to see live GPIO Pins on ESP32 boards
https://youtu.be/JJzRXcQrl3I
MIT License
1.07k stars 110 forks source link

Newbie here and getting the following errors when trying to compile #60

Closed thelastoutpostworkshop closed 10 months ago

thelastoutpostworkshop commented 10 months ago
          Newbie here and getting the following errors when trying to compile

In file included from C:\Users\rober\AppData\Local\Temp.arduinoIDE-unsaved202406-12528-1d9cd3.mz2qk\gpioviewer\gpioviewer.ino:34: C:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory 11 | #include | ^~~~~ compilation terminated.

exit status 1

Compilation error: exit status 1

_Originally posted by @rescalle83 in https://github.com/thelastoutpostworkshop/gpio_viewer/issues/58#issuecomment-1879755572_

thelastoutpostworkshop commented 10 months ago

@rescalle83 did you include the ESPAsyncWebServer ?

rescalle83 commented 10 months ago

Yes


From: thelastoutpostworkshop @.> Sent: Saturday, January 6, 2024 12:03:15 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

@rescalle83https://github.com/rescalle83 did you include the ESPAsyncWebServer ?

— Reply to this email directly, view it on GitHubhttps://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1879769926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALY7EJINXHNGSHGP3FHP4NDYNGGWHAVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG43DSOJSGY. You are receiving this because you were mentioned.Message ID: @.***>

thelastoutpostworkshop commented 10 months ago

The library ESPAsyncWebServer is not installed, recheck. Try some examples that comes with the ESPAsyncWebServer.

rescalle83 commented 10 months ago

I have installed and uninstalled several times but will try again. I can see the folder and files in libraries


From: thelastoutpostworkshop @.> Sent: Saturday, January 6, 2024 2:42:31 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

The library ESPAsyncWebServer is not installed, recheck. Try some examples that comes with the ESPAsyncWebServer.

— Reply to this email directly, view it on GitHubhttps://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1879823108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALY7EJPLCOHH4XVG3TP4IF3YNGZLPAVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHAZDGMJQHA. You are receiving this because you were mentioned.Message ID: @.***>

rescalle83 commented 10 months ago

ESPAsyncWebServer works great from one of the examples like simple server. But when I try and use the GPIOViewer example, I get the error below. I have tried this on multiple machines and not sure what the issue is.

In file included from C:\Users\rober\AppData\Local\Temp.arduinoIDE-unsaved202406-5396-y313rb.c4qme\gpioviewer\gpioviewer.ino:8:

c:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory

11 | #include

  |          ^~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Compilation error: exit status 1

From: thelastoutpostworkshop @.> Sent: Saturday, January 6, 2024 2:43 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

The library ESPAsyncWebServer is not installed, recheck. Try some examples that comes with the ESPAsyncWebServer.

— Reply to this email directly, view it on GitHub https://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1879823108 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7EJPLCOHH4XVG3TP4IF3YNGZLPAVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHAZDGMJQHA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ALY7EJNXNRRBOM2FE34AS7DYNGZLPA5CNFSM6AAAAABBPWQW7WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTQBPJQI.gif Message ID: @. @.> >

thelastoutpostworkshop commented 10 months ago

@rescalle83 you may have problems in your Arduino IDE setup. If your are getting this message :

c:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory

It is because the ESPAsyncWebServer cannot be found in the project where you are using the GPIOViewer library.

rescalle83 commented 10 months ago

Not sure what different settings I can use. I can compile everything except GPIO. I even changed from DEV board to stable and loaded 2.0.14 and still have the same issue.

I can uninstall again and try to install it again. Not sure what I am doing wrong … odd

From: thelastoutpostworkshop @.> Sent: Saturday, January 6, 2024 4:37 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

@rescalle83 https://github.com/rescalle83 you may have problems in your Arduino IDE setup. If your are getting this message :

c:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory

It is because the ESPAsyncWebServer cannot be found in the project where you are using the GPIOViewer library.

— Reply to this email directly, view it on GitHub https://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1879861702 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7EJO6WTL4TJEUYKGDC4TYNHGW7AVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHA3DCNZQGI . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ALY7EJOG2ZQ2RG7NDEHVF4DYNHGW7A5CNFSM6AAAAABBPWQW7WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTQBRU4M.gif Message ID: @. @.> >

felipedsouza commented 10 months ago

I have an error related to that:

Installed the FreeRTOS Library but didn't work

Arduino\libraries\GPIOViewer\src/gpio_viewer.h:17:10: fatal error: FreeRTOS.h: No such file or directory 17 | #include | ^~~~ compilation terminated.

exit status 1

Compilation error: exit status 1

thelastoutpostworkshop commented 10 months ago

See the troubleshooting section : https://github.com/thelastoutpostworkshop/gpio_viewer#troubleshooting

rescalle83 commented 10 months ago

Thanks. Followed this and no issues compiling without GPIOViewer. Once I add and try to compile, I get the same error. It may be I am using the C6 devkit. I have tried everything and the only variable that prevents compile is GPIOViewer. I will try again at some point when C6 is supported.

Thanks.


From: thelastoutpostworkshop @.> Sent: Sunday, January 7, 2024 3:06:56 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

See the troubleshooting section : https://github.com/thelastoutpostworkshop/gpio_viewer#troubleshooting

— Reply to this email directly, view it on GitHubhttps://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1880171946, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALY7EJNCRTCTNOA347S4IJTYNME7BAVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGE3TCOJUGY. You are receiving this because you were mentioned.Message ID: @.***>

thelastoutpostworkshop commented 10 months ago

Please add print screen of your boards version and boards selected, like this: image image

thelastoutpostworkshop commented 10 months ago

I dot not see your print screens, maybe they do not show up when your answer by email. Go to github and add them in this issue.

rescalle83 commented 10 months ago

Arduino_Board_Package Arduino_Board

thelastoutpostworkshop commented 10 months ago

I have tested it only on stable release 2.011 - 2.014

rescalle83 commented 10 months ago

Thanks. Hopefully there will be support for C6 and the latest board package. I will continue to watch for future support.

The board I need support for is the ESP32-C6-DevKitC-1

From: thelastoutpostworkshop @.> Sent: Monday, January 8, 2024 3:50 PM To: thelastoutpostworkshop/gpio_viewer @.> Cc: rescalle83 @.>; Mention @.> Subject: Re: [thelastoutpostworkshop/gpio_viewer] Newbie here and getting the following errors when trying to compile (Issue #60)

I have tested it only on stable release 2.011 - 2.014

— Reply to this email directly, view it on GitHub https://github.com/thelastoutpostworkshop/gpio_viewer/issues/60#issuecomment-1881876074 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7EJOOLN73U27MFZMOWBTYNRSZBAVCNFSM6AAAAABBPWQW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHA3TMMBXGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ALY7EJL7UXPRYWOM2ZTI5Z3YNRSZBA5CNFSM6AAAAABBPWQW7WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTQFMTGU.gif Message ID: @. @.> >