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

Compilation Error #51

Open
korn-M opened this issue Nov 10, 2024 · 18 comments
Open

Compilation Error #51

korn-M opened this issue Nov 10, 2024 · 18 comments

Comments

@korn-M
Copy link

korn-M commented Nov 10, 2024

Keep receiving the following error when trying to compile 1.3.3 EvilCrowRF-V2 using Ardiuno 2.3.3. Also using the additional board : https://espressif.github.io/arduino-esp32/package_esp32_index.json

D:\EvilCrowRF-V2-1.3.3\firmware\v1.3.3\EvilCrow-RFv2\EvilCrow-RFv2.ino:10:10: fatal error: SPIFFSEditor.h: No such file or directory
10 | #include <SPIFFSEditor.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: SPIFFSEditor.h: No such file or directory

I've followed all your steps, but I don't find the SPIFFSEditor.h in the path. Not sure why it is looking for it in EvilCrow-RFv2.ino, it is not like the file can be uploaded there. Right? Just a newbe obviously. Thanks in advance for any assistance.

@Leftfi3ld
Copy link

Leftfi3ld commented Nov 10, 2024

So I did two things, it looked like arduino IDE had been installed twice as there where library folders in 2 places. That fixed the spiffs error and then I just had to select the right USB port as I started using another

Its working good here

============================================
Im running into the same error trying to upload the sketchbook. Im using the 1.3.3 firmware with espressiff 3.0.5 and then all the libraries in the readme with the .h files updated in their .zips. here is the full error upon upload to the board.

/home/sdv/Desktop/EVILCROWWW/EvilCrowRF-V2-1.3.3/firmware/v1.3.3/EvilCrow-RFv2/EvilCrow-RFv2.ino:14:10: fatal error: SPIFFSEditor.h: No such file or directory
14 | #include <SPIFFSEditor.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: SPIFFSEditor.h: No such file or directory

@Korthon
Copy link

Korthon commented Nov 11, 2024

Thank you for the feedback. I checked it’s not in two places. I’m still having the issue.

@Korthon
Copy link

Korthon commented Nov 11, 2024

Has the developer abandoned this program? I'm sure you're not the only one that's read this. It's very strange that all files are downloaded. SP web server has spiff editor, but Arduino can't find file or directory. Very strange.

@Leftfi3ld
Copy link

No the developer is still here he just updated the firmware like 2 weeks ago to fix it for us all.

Post your error. I found my lack in arduino/c+ experience was responsible for my problems. Compiling and uploading.

@Korthon
Copy link

Korthon commented Nov 13, 2024

I have no C+ experience so this is the error that I get and I don’t understand why it can’t find the spiffs editor because it’s in the library. I feel that I’ve done everything in the list correctly. But obviously not. I guess maybe I need a more step-by-step detail for my lack of experience. Thanks again for your feedback. Totally appreciated.

home/sdv/Desktop/EVILCROWWW/EvilCrowRF-V2-1.3.3/firmware/v1.3.3/EvilCrow-RFv2/EvilCrow-RFv2.ino:14:10: fatal error: SPIFFSEditor.h: No such file or directory
14 | #include <SPIFFSEditor.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: SPIFFSEditor.h: No such file or directory

compilation terminated.
exit status 1

@joelsernamoreno
Copy link
Owner

Hello

Your error indicates that the SPIFFSEditor.h file does not exist

SPIFFSEditor.h is a component of the ESPAsyncWebServer library. You have to download the ESPAsyncWebServer library in your Arduino library directory as indicated in the documentation of the repository

@Korthon
Copy link

Korthon commented Nov 23, 2024

Thanks for the info, ESPAasyncwebserver 3.3.22 is installed.

@SoLongSidekick
Copy link

As to why you and I were missing the library file I don't know, but if you google the filename and download the SPIFFSEditor.h file you can manually move it into your EvilCrowv2 folder inside your Arduino folder.

I mean, I'm also hitting a compilation error (in case you run into it and I've solved it by then, it's "Compilation error: 'virtual bool SPIFFSEditor::canHandle(AsyncWebServerRequest*)' marked 'override', but does not override") but I got past the one you're running into by doing the above.

@Korthon
Copy link

Korthon commented Nov 24, 2024

OK, I'll give that a try. Thanks for the info. Appreciate that.

@Korthon
Copy link

Korthon commented Nov 25, 2024

I’ve completed numerous projects without encountering any issues. However, this particular project presents a significant challenge for me.

@joelsernamoreno
Copy link
Owner

Hello @Korthon

Can you attach an image of your arduino library directory and an image of the ESPAsyncWebServer library contents?

@Korthon
Copy link

Korthon commented Nov 25, 2024

image

@Korthon
Copy link

Korthon commented Nov 25, 2024

image

@Korthon
Copy link

Korthon commented Nov 25, 2024

image

@Korthon
Copy link

Korthon commented Nov 25, 2024

Sorry I couldn't get a snapshot with my laptop. I opened up the SRC and couldn't find spiffs in there.

@Leftfi3ld
Copy link

I would recommend adding as many of the libraries possible with the library manager. Screenshot_20241128_185828_Chrome.jpg

@Korthon
Copy link

Korthon commented Dec 1, 2024

I downloaded as many as I could. no luck. Thank you for the suggestion.

@Leftfi3ld
Copy link

Leftfi3ld commented Dec 2, 2024 via email

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

5 participants