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

Compiling error #18

Open
navdeepssidhu opened this issue Jul 5, 2022 · 4 comments
Open

Compiling error #18

navdeepssidhu opened this issue Jul 5, 2022 · 4 comments

Comments

@navdeepssidhu
Copy link

First of all, thanks for great code. I am getting error while compiling ESP32-CAM-Video-Recorder-junior-50x-lpmod.ino ( error: 'union arduino_event_info_t' has no member named 'disconnected'; did you mean 'eth_connected'? ) also when i run V58 sketch, its compiling fine and running well, but i am not able to change FPS and Length of video, by default cam is recording at fastest FPS and video length of 15 seconds. I tried to change the values in sketch and config.txt as well.
Can you please help.

@jameszah
Copy link
Owner

jameszah commented Jul 5, 2022

The arduino_event disconnected thing looks like you need to upgarde your arduino board library to esp32-arduino 2.0.2 (or more)

The defualts in code are not used -- you have to set it in config.txt. If you delete the config.txt it will create a new one with those default parameters. Try editing the config.txt with the sd card in a computer, and then look at the arduino serial output to see if your new parameters are echoed after the reboot. Or paste in your file below - it might be parsing it wrong?

@navdeepssidhu
Copy link
Author

I checked the board, it is esp32-arduino 2.0.3

@dizcza
Copy link

dizcza commented Feb 27, 2023

I also have this issue. Tried esp32-arduino 2.0.5 & 2.0.7, same story.

Tried v60 but got

crc32.h: No such file or directory

Found CRC32.h in v58 but got

crc32.h: No such file or directory

Please mind the case: on Linux systems CRC32.h != crc32.h.

After I changed the include to "CRC32.h", I was able to compile and run v58.

One question. If I use your one-click-solution and don't specify Wifi creds (remove ssid and password lines), the Wifi won't launch (won't even attempt to launch), right? This is important as I actually don't want any wifi features because the RF waves screw up my compass recordings. Even if Wifi connection failed but Wifi driver is still active and broadcasting packets, the RF emission is present.

@jameszah
Copy link
Owner

https://github.com/jameszah/ESP32-CAM-VideoCam/blob/62745b852d0812d3961a457de65939a1dfc67922/config.txt#L43

The no-wifi is an option here -- the one-click installer should create a config.txt as below, and the default wifi is ssid1234 which is no internet.

Looks like you have to edit the config.txt, as the default starts the hostmode (cinternet = 5)

I didn't know about the linux capitalization issue -- i'll correct that.

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