ESP32-CAM-Print-Monitor icon indicating copy to clipboard operation
ESP32-CAM-Print-Monitor copied to clipboard

undefined reference to `startCameraServer()'

Open stonez56 opened this issue 5 years ago • 4 comments

Hi, During the compiling, I encounter this error: undefined reference to `startCameraServer()' in function setup(), collect2.exe: error: ld returned 1 exit status

What could be the problem?

stonez56 avatar Dec 22 '19 13:12 stonez56

Hi, Are you using the code as-is or with modifications?

eben80 avatar Dec 23 '19 07:12 eben80

Hi, Thanks for reply. I use the code as it. only change SSID and Wi-Fi password.

Do you know where is the startCameraServer()? Maybe I can just include it into the sketch to make it work.

stonez56 avatar Dec 25 '19 07:12 stonez56

Hi, I found the cause!! It was me didn't copy "app_httpd.cpp" file into the same directory with esp32_CAM_Print_Monitor.

After I done that, the error went away and compiled successfully!

Thanks!

stonez56 avatar Dec 27 '19 14:12 stonez56

Glad you found it!

On Fri, 27 Dec 2019, 15:04 stonez56, [email protected] wrote:

Hi, I found the cause!! I was me didn't copy "app_httpd.cpp" file into the same directory with esp32_CAM_Print_Monitor.

After I did that, the error went away and compiled successfully!

Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eben80/ESP32-CAM-Print-Monitor/issues/3?email_source=notifications&email_token=AATNONDYSBFQTJGTACW4CVLQ2YDNJA5CNFSM4J6L2KUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHXHQZQ#issuecomment-569276518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATNONBWQYPQCYS4DMKYKK3Q2YDNJANCNFSM4J6L2KUA .

eben80 avatar Dec 27 '19 16:12 eben80