s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
936 stars 216 forks source link

undefined reference to `relayPin' and `relayMode' #487

Closed daniel-frenkel closed 1 month ago

daniel-frenkel commented 2 months ago

When compiling using ESP ARDUINO 3.0.4, I receive the following errors, resulting in failure:

undefined reference to `relayPin'
undefined reference to `relayMode'

Looks like it may be related to the 10.2.1 update

deanfourie1 commented 1 month ago

Same for me.

/appdata/local/arduino15/packages/esp32/tools/esp-x32/2302/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: 
\AppData\Local\Temp\arduino\sketches\898FEF7A75B3FB13B3B7BCE41BF8A1F5\sketch\appSpecific.cpp.o:(.literal._Z9doAppPingv+0x8): undefined reference to `relayPin'
/appdata/local/arduino15/packages/esp32/tools/esp-x32/2302/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: 
\AppData\Local\Temp\arduino\sketches\898FEF7A75B3FB13B3B7BCE41BF8A1F5\sketch\appSpecific.cpp.o:(.literal._Z9doAppPingv+0xc): undefined reference to `relayMode'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1
s60sc commented 1 month ago

download latest and clean instal

deanfourie1 commented 1 month ago

Thanks that worked also using esp v 2.xx.xx