You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libraries/esp32cam/esp32cam.cpp.o: In function esp32cam::CameraClass::begin(esp32cam::Config const&)': /home/khanh411/snap/arduino/50/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/unique_ptr.h:76: multiple definition of esp32cam::CameraClass::begin(esp32cam::Config const&)'
sketch/esp32cam.cpp.o:sketch/esp32cam.cpp:12: first defined here
libraries/esp32cam/esp32cam.cpp.o: In function esp32cam::CameraClass::end()': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass3endEv+0x0): multiple definition of esp32cam::CameraClass::end()'
sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass3endEv+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function esp32cam::CameraClass::changeResolution(esp32cam::Resolution const&, int)': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass16changeResolutionERKNS_10ResolutionEi+0x0): multiple definition of esp32cam::CameraClass::changeResolution(esp32cam::Resolution const&, int)'
sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass16changeResolutionERKNS_10ResolutionEi+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function esp32cam::CameraClass::capture()': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass7captureEv+0x0): multiple definition of esp32cam::CameraClass::capture()'
sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass7captureEv+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function esp32cam::CameraClass::streamMjpeg(Client&, esp32cam::CameraClass::StreamMjpegConfig const&)': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass11streamMjpegER6ClientRKNS0_17StreamMjpegConfigE+0x0): multiple definition of esp32cam::CameraClass::streamMjpeg(Client&, esp32cam::CameraClass::StreamMjpegConfig const&)'
sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass11streamMjpegER6ClientRKNS0_17StreamMjpegConfigE+0x0): first defined here
Multiple libraries were found for "WiFi.h"
Used: /home/khanh411/snap/arduino/50/.arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
libraries/esp32cam/esp32cam.cpp.o:(.bss._ZN8esp32cam6CameraE+0x0): multiple definition of esp32cam::Camera' Not used: /snap/arduino/50/libraries/WiFi sketch/esp32cam.cpp.o:(.bss._ZN8esp32cam6CameraE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::detail::convertJpegQuality(int)':
/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/config.cpp:12: multiple definition of esp32cam::detail::convertJpegQuality(int)' sketch/config.cpp.o:sketch/config.cpp:12: first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::Config()':
config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): multiple definition of esp32cam::Config::Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::Config()':
config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): multiple definition of esp32cam::Config::Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::~Config()':
config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): multiple definition of esp32cam::Config::~Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::~Config()':
config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): multiple definition of esp32cam::Config::~Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setPins(esp32cam::Pins const&)':
config.cpp:(.text._ZN8esp32cam6Config7setPinsERKNS_4PinsE+0x0): multiple definition of esp32cam::Config::setPins(esp32cam::Pins const&)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config7setPinsERKNS_4PinsE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setResolution(esp32cam::Resolution const&)':
config.cpp:(.text._ZN8esp32cam6Config13setResolutionERKNS_10ResolutionE+0x0): multiple definition of esp32cam::Config::setResolution(esp32cam::Resolution const&)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config13setResolutionERKNS_10ResolutionE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setBufferCount(int)':
config.cpp:(.text._ZN8esp32cam6Config14setBufferCountEi+0x0): multiple definition of esp32cam::Config::setBufferCount(int)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config14setBufferCountEi+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setRgb()':
config.cpp:(.text._ZN8esp32cam6Config6setRgbEv+0x0): multiple definition of esp32cam::Config::setRgb()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config6setRgbEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setYuv()':
config.cpp:(.text._ZN8esp32cam6Config6setYuvEv+0x0): multiple definition of esp32cam::Config::setYuv()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config6setYuvEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setGrayscale()':
config.cpp:(.text._ZN8esp32cam6Config12setGrayscaleEv+0x0): multiple definition of esp32cam::Config::setGrayscale()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config12setGrayscaleEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function esp32cam::Config::setJpeg(int)':
config.cpp:(.text._ZN8esp32cam6Config7setJpegEi+0x0): multiple definition of esp32cam::Config::setJpeg(int)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config7setJpegEi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::Frame()':
/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/frame.hpp:13: multiple definition of esp32cam::Frame::Frame()' sketch/frame.cpp.o:sketch/frame.hpp:13: first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::Frame()':
frame.cpp:(.text._ZN8esp32cam5FrameC2Ev+0x0): multiple definition of esp32cam::Frame::Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::Frame(void*)':
frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): multiple definition of esp32cam::Frame::Frame(void*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::Frame(void*)':
frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): multiple definition of esp32cam::Frame::Frame(void*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::releaseFb()':
frame.cpp:(.text._ZN8esp32cam5Frame9releaseFbEv+0x0): multiple definition of esp32cam::Frame::releaseFb()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame9releaseFbEv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::~Frame()':
frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): multiple definition of esp32cam::Frame::~Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::~Frame()':
frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): multiple definition of esp32cam::Frame::~Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::writeToImpl(Print&, int, Client*)':
frame.cpp:(.text._ZN8esp32cam5Frame11writeToImplER5PrintiP6Client+0x0): multiple definition of esp32cam::Frame::writeToImpl(Print&, int, Client*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame11writeToImplER5PrintiP6Client+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::writeTo(Print&, int)':
frame.cpp:(.text._ZN8esp32cam5Frame7writeToER5Printi+0x0): multiple definition of esp32cam::Frame::writeTo(Print&, int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame7writeToER5Printi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::writeTo(Client&, int)':
frame.cpp:(.text._ZN8esp32cam5Frame7writeToER6Clienti+0x0): multiple definition of esp32cam::Frame::writeTo(Client&, int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame7writeToER6Clienti+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::isJpeg() const':
frame.cpp:(.text._ZNK8esp32cam5Frame6isJpegEv+0x0): multiple definition of esp32cam::Frame::isJpeg() const' sketch/frame.cpp.o:frame.cpp:(.text._ZNK8esp32cam5Frame6isJpegEv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::toJpeg(int)':
frame.cpp:(.text._ZN8esp32cam5Frame6toJpegEi+0x0): multiple definition of esp32cam::Frame::toJpeg(int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame6toJpegEi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function esp32cam::Frame::toBmp()':
frame.cpp:(.text._ZN8esp32cam5Frame5toBmpEv+0x0): multiple definition of esp32cam::Frame::toBmp()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame5toBmpEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function esp32cam::Resolution::isValid() const':
/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/resolution.cpp:9: multiple definition of esp32cam::Resolution::isValid() const' sketch/resolution.cpp.o:sketch/resolution.cpp:9: first defined here libraries/esp32cam/internal/resolution.cpp.o: In function esp32cam::Resolution::getWidth() const':
resolution.cpp:(.text._ZNK8esp32cam10Resolution8getWidthEv+0x0): multiple definition of esp32cam::Resolution::getWidth() const' sketch/resolution.cpp.o:resolution.cpp:(.text._ZNK8esp32cam10Resolution8getWidthEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function esp32cam::Resolution::getHeight() const':
resolution.cpp:(.text._ZNK8esp32cam10Resolution9getHeightEv+0x0): multiple definition of esp32cam::Resolution::getHeight() const' sketch/resolution.cpp.o:resolution.cpp:(.text._ZNK8esp32cam10Resolution9getHeightEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function esp32cam::Resolution::find(int, int)':
resolution.cpp:(.text._ZN8esp32cam10Resolution4findEii+0x0): multiple definition of `esp32cam::Resolution::find(int, int)'
sketch/resolution.cpp.o:resolution.cpp:(.text._ZN8esp32cam10Resolution4findEii+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board AI Thinker ESP32-CAM.
The text was updated successfully, but these errors were encountered:
as I mentioned in #3 I did not used Arduino based FW for a while but I can give it a try again and check if it compiles OK with current versions of arduino/libz
Hi @BugerDread , when I compile your project, I get error here, Can you help me, plss ???
Arduino: 1.8.13 (Linux), Board: "AI Thinker ESP32-CAM
Error:
libraries/esp32cam/esp32cam.cpp.o: In function
esp32cam::CameraClass::begin(esp32cam::Config const&)': /home/khanh411/snap/arduino/50/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/unique_ptr.h:76: multiple definition of
esp32cam::CameraClass::begin(esp32cam::Config const&)'sketch/esp32cam.cpp.o:sketch/esp32cam.cpp:12: first defined here
libraries/esp32cam/esp32cam.cpp.o: In function
esp32cam::CameraClass::end()': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass3endEv+0x0): multiple definition of
esp32cam::CameraClass::end()'sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass3endEv+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function
esp32cam::CameraClass::changeResolution(esp32cam::Resolution const&, int)': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass16changeResolutionERKNS_10ResolutionEi+0x0): multiple definition of
esp32cam::CameraClass::changeResolution(esp32cam::Resolution const&, int)'sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass16changeResolutionERKNS_10ResolutionEi+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function
esp32cam::CameraClass::capture()': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass7captureEv+0x0): multiple definition of
esp32cam::CameraClass::capture()'sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass7captureEv+0x0): first defined here
libraries/esp32cam/esp32cam.cpp.o: In function
esp32cam::CameraClass::streamMjpeg(Client&, esp32cam::CameraClass::StreamMjpegConfig const&)': esp32cam.cpp:(.text._ZN8esp32cam11CameraClass11streamMjpegER6ClientRKNS0_17StreamMjpegConfigE+0x0): multiple definition of
esp32cam::CameraClass::streamMjpeg(Client&, esp32cam::CameraClass::StreamMjpegConfig const&)'sketch/esp32cam.cpp.o:esp32cam.cpp:(.text._ZN8esp32cam11CameraClass11streamMjpegER6ClientRKNS0_17StreamMjpegConfigE+0x0): first defined here
Multiple libraries were found for "WiFi.h"
Used: /home/khanh411/snap/arduino/50/.arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
libraries/esp32cam/esp32cam.cpp.o:(.bss._ZN8esp32cam6CameraE+0x0): multiple definition of
esp32cam::Camera' Not used: /snap/arduino/50/libraries/WiFi sketch/esp32cam.cpp.o:(.bss._ZN8esp32cam6CameraE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::detail::convertJpegQuality(int)':/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/config.cpp:12: multiple definition of
esp32cam::detail::convertJpegQuality(int)' sketch/config.cpp.o:sketch/config.cpp:12: first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::Config()':config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): multiple definition of
esp32cam::Config::Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::Config()':config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): multiple definition of
esp32cam::Config::Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigC2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::~Config()':config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): multiple definition of
esp32cam::Config::~Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::~Config()':config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): multiple definition of
esp32cam::Config::~Config()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6ConfigD2Ev+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setPins(esp32cam::Pins const&)':config.cpp:(.text._ZN8esp32cam6Config7setPinsERKNS_4PinsE+0x0): multiple definition of
esp32cam::Config::setPins(esp32cam::Pins const&)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config7setPinsERKNS_4PinsE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setResolution(esp32cam::Resolution const&)':config.cpp:(.text._ZN8esp32cam6Config13setResolutionERKNS_10ResolutionE+0x0): multiple definition of
esp32cam::Config::setResolution(esp32cam::Resolution const&)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config13setResolutionERKNS_10ResolutionE+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setBufferCount(int)':config.cpp:(.text._ZN8esp32cam6Config14setBufferCountEi+0x0): multiple definition of
esp32cam::Config::setBufferCount(int)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config14setBufferCountEi+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setRgb()':config.cpp:(.text._ZN8esp32cam6Config6setRgbEv+0x0): multiple definition of
esp32cam::Config::setRgb()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config6setRgbEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setYuv()':config.cpp:(.text._ZN8esp32cam6Config6setYuvEv+0x0): multiple definition of
esp32cam::Config::setYuv()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config6setYuvEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setGrayscale()':config.cpp:(.text._ZN8esp32cam6Config12setGrayscaleEv+0x0): multiple definition of
esp32cam::Config::setGrayscale()' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config12setGrayscaleEv+0x0): first defined here libraries/esp32cam/internal/config.cpp.o: In function
esp32cam::Config::setJpeg(int)':config.cpp:(.text._ZN8esp32cam6Config7setJpegEi+0x0): multiple definition of
esp32cam::Config::setJpeg(int)' sketch/config.cpp.o:config.cpp:(.text._ZN8esp32cam6Config7setJpegEi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::Frame()':/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/frame.hpp:13: multiple definition of
esp32cam::Frame::Frame()' sketch/frame.cpp.o:sketch/frame.hpp:13: first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::Frame()':frame.cpp:(.text._ZN8esp32cam5FrameC2Ev+0x0): multiple definition of
esp32cam::Frame::Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::Frame(void*)':frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): multiple definition of
esp32cam::Frame::Frame(void*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::Frame(void*)':frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): multiple definition of
esp32cam::Frame::Frame(void*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameC2EPv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::releaseFb()':frame.cpp:(.text._ZN8esp32cam5Frame9releaseFbEv+0x0): multiple definition of
esp32cam::Frame::releaseFb()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame9releaseFbEv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::~Frame()':frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): multiple definition of
esp32cam::Frame::~Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::~Frame()':frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): multiple definition of
esp32cam::Frame::~Frame()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5FrameD2Ev+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::writeToImpl(Print&, int, Client*)':frame.cpp:(.text._ZN8esp32cam5Frame11writeToImplER5PrintiP6Client+0x0): multiple definition of
esp32cam::Frame::writeToImpl(Print&, int, Client*)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame11writeToImplER5PrintiP6Client+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::writeTo(Print&, int)':frame.cpp:(.text._ZN8esp32cam5Frame7writeToER5Printi+0x0): multiple definition of
esp32cam::Frame::writeTo(Print&, int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame7writeToER5Printi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::writeTo(Client&, int)':frame.cpp:(.text._ZN8esp32cam5Frame7writeToER6Clienti+0x0): multiple definition of
esp32cam::Frame::writeTo(Client&, int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame7writeToER6Clienti+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::isJpeg() const':frame.cpp:(.text._ZNK8esp32cam5Frame6isJpegEv+0x0): multiple definition of
esp32cam::Frame::isJpeg() const' sketch/frame.cpp.o:frame.cpp:(.text._ZNK8esp32cam5Frame6isJpegEv+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::toJpeg(int)':frame.cpp:(.text._ZN8esp32cam5Frame6toJpegEi+0x0): multiple definition of
esp32cam::Frame::toJpeg(int)' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame6toJpegEi+0x0): first defined here libraries/esp32cam/internal/frame.cpp.o: In function
esp32cam::Frame::toBmp()':frame.cpp:(.text._ZN8esp32cam5Frame5toBmpEv+0x0): multiple definition of
esp32cam::Frame::toBmp()' sketch/frame.cpp.o:frame.cpp:(.text._ZN8esp32cam5Frame5toBmpEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function
esp32cam::Resolution::isValid() const':/home/khanh411/snap/arduino/current/Arduino/libraries/esp32cam/src/internal/resolution.cpp:9: multiple definition of
esp32cam::Resolution::isValid() const' sketch/resolution.cpp.o:sketch/resolution.cpp:9: first defined here libraries/esp32cam/internal/resolution.cpp.o: In function
esp32cam::Resolution::getWidth() const':resolution.cpp:(.text._ZNK8esp32cam10Resolution8getWidthEv+0x0): multiple definition of
esp32cam::Resolution::getWidth() const' sketch/resolution.cpp.o:resolution.cpp:(.text._ZNK8esp32cam10Resolution8getWidthEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function
esp32cam::Resolution::getHeight() const':resolution.cpp:(.text._ZNK8esp32cam10Resolution9getHeightEv+0x0): multiple definition of
esp32cam::Resolution::getHeight() const' sketch/resolution.cpp.o:resolution.cpp:(.text._ZNK8esp32cam10Resolution9getHeightEv+0x0): first defined here libraries/esp32cam/internal/resolution.cpp.o: In function
esp32cam::Resolution::find(int, int)':resolution.cpp:(.text._ZN8esp32cam10Resolution4findEii+0x0): multiple definition of `esp32cam::Resolution::find(int, int)'
sketch/resolution.cpp.o:resolution.cpp:(.text._ZN8esp32cam10Resolution4findEii+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board AI Thinker ESP32-CAM.
The text was updated successfully, but these errors were encountered: