Code Monkey home page Code Monkey logo

Comments (2)

sudojobs avatar sudojobs commented on May 18, 2024

Arduino: 1.8.7 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 80MHz, 921600, None"

sketch_jul12b:413:23: error: variable or field 'rgb_print' declared void

static void rgb_print(dl_matrix3du_t *image_matrix, uint32_t color, const char * str){

                   ^

sketch_jul12b:413:23: error: 'dl_matrix3du_t' was not declared in this scope

sketch_jul12b:413:39: error: 'image_matrix' was not declared in this scope

static void rgb_print(dl_matrix3du_t *image_matrix, uint32_t color, const char * str){

                                   ^

sketch_jul12b:413:62: error: expected primary-expression before 'color'

static void rgb_print(dl_matrix3du_t *image_matrix, uint32_t color, const char * str){

                                                          ^

sketch_jul12b:413:69: error: expected primary-expression before 'const'

static void rgb_print(dl_matrix3du_t *image_matrix, uint32_t color, const char * str){

                                                                 ^

sketch_jul12b:424:23: error: 'dl_matrix3du_t' was not declared in this scope

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                   ^

sketch_jul12b:424:39: error: 'image_matrix' was not declared in this scope

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                   ^

sketch_jul12b:424:62: error: expected primary-expression before 'color'

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                                          ^

sketch_jul12b:424:69: error: expected primary-expression before 'const'

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                                                 ^

sketch_jul12b:424:89: error: expected primary-expression before '...' token

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                                                                     ^

sketch_jul12b:424:92: error: expression list treated as compound expression in initializer [-fpermissive]

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                                                                        ^

sketch_jul12b:450:29: error: variable or field 'draw_face_boxes' declared void

static void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_id){

                         ^

sketch_jul12b:450:29: error: 'dl_matrix3du_t' was not declared in this scope

sketch_jul12b:450:45: error: 'image_matrix' was not declared in this scope

static void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_id){

                                         ^

sketch_jul12b:450:59: error: 'box_array_t' was not declared in this scope

static void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_id){

                                                       ^

sketch_jul12b:450:72: error: 'boxes' was not declared in this scope

static void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_id){

                                                                    ^

sketch_jul12b:450:79: error: expected primary-expression before 'int'

static void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_id){

                                                                           ^

sketch_jul12b:526:33: error: 'dl_matrix3du_t' was not declared in this scope

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                             ^

sketch_jul12b:526:49: error: 'image_matrix' was not declared in this scope

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                                             ^

sketch_jul12b:526:63: error: 'box_array_t' was not declared in this scope

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                                                           ^

sketch_jul12b:526:76: error: 'net_boxes' was not declared in this scope

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                                                                        ^

sketch_jul12b:526:85: error: expression list treated as compound expression in initializer [-fpermissive]

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                                                                                 ^

sketch_jul12b:593:34: error: 'httpd_req_t' was not declared in this scope

static esp_err_t capture_handler(httpd_req_t *req){

                              ^

sketch_jul12b:593:47: error: 'req' was not declared in this scope

static esp_err_t capture_handler(httpd_req_t *req){

                                           ^

sketch_jul12b:683:33: error: 'httpd_req_t' was not declared in this scope

static esp_err_t stream_handler(httpd_req_t *req){

                             ^

sketch_jul12b:683:46: error: 'req' was not declared in this scope

static esp_err_t stream_handler(httpd_req_t *req){

                                          ^

sketch_jul12b:837:30: error: 'httpd_req_t' was not declared in this scope

static esp_err_t cmd_handler(httpd_req_t *req){

                          ^

sketch_jul12b:837:43: error: 'req' was not declared in this scope

static esp_err_t cmd_handler(httpd_req_t *req){

                                       ^

sketch_jul12b:969:33: error: 'httpd_req_t' was not declared in this scope

static esp_err_t status_handler(httpd_req_t *req){

                             ^

sketch_jul12b:969:46: error: 'req' was not declared in this scope

static esp_err_t status_handler(httpd_req_t *req){

                                          ^

sketch_jul12b:1583:32: error: 'httpd_req_t' was not declared in this scope

static esp_err_t index_handler(httpd_req_t *req){

                            ^

sketch_jul12b:1583:45: error: 'req' was not declared in this scope

static esp_err_t index_handler(httpd_req_t *req){

                                         ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'int rgb_printf(dl_matrix3du_t*, uint32_t, const char*, ...)':

sketch_jul12b:424:92: error: 'int rgb_printf(dl_matrix3du_t*, uint32_t, const char*, ...)' redeclared as different kind of symbol

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

                                                                                        ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:424:12: note: previous declaration 'int rgb_printf'

static int rgb_printf(dl_matrix3du_t *image_matrix, uint32_t color, const char *format, ...){

        ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'void faceRecognition()':

sketch_jul12b:515:51: error: 'run_face_recognition' cannot be used as a function

   run_face_recognition(image_matrix, net_boxes);  //執行人臉辨識

                                               ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'int run_face_recognition(dl_matrix3du_t*, box_array_t*)':

sketch_jul12b:526:85: error: 'int run_face_recognition(dl_matrix3du_t*, box_array_t*)' redeclared as different kind of symbol

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

                                                                                 ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:526:12: note: previous declaration 'int run_face_recognition'

static int run_face_recognition(dl_matrix3du_t *image_matrix, box_array_t *net_boxes){

        ^

sketch_jul12b:544:129: error: 'rgb_printf' cannot be used as a function

         rgb_printf(image_matrix, FACE_COLOR_CYAN, "ID[%u] Sample[%u]", id_list.tail, ENROLL_CONFIRM_TIMES - left_sample_face);

                                                                                                                             ^

sketch_jul12b:557:124: error: 'rgb_printf' cannot be used as a function

               rgb_printf(image_matrix, FACE_COLOR_GREEN, "[%u] %s", matched_id, recognize_face_matched_name[matched_id]);

                                                                                                                        ^

sketch_jul12b:560:88: error: 'rgb_printf' cannot be used as a function

               rgb_printf(image_matrix, FACE_COLOR_GREEN, "[%u] No Name", matched_id);

                                                                                    ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'esp_err_t capture_handler(httpd_req_t*)':

sketch_jul12b:593:50: error: 'esp_err_t capture_handler(httpd_req_t*)' redeclared as different kind of symbol

static esp_err_t capture_handler(httpd_req_t *req){

                                              ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:593:18: note: previous declaration 'esp_err_t capture_handler'

static esp_err_t capture_handler(httpd_req_t *req){

              ^

sketch_jul12b:659:67: error: 'run_face_recognition' cannot be used as a function

         face_id = run_face_recognition(image_matrix, net_boxes);  //執行人臉辨識

                                                               ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'esp_err_t stream_handler(httpd_req_t*)':

sketch_jul12b:683:49: error: 'esp_err_t stream_handler(httpd_req_t*)' redeclared as different kind of symbol

static esp_err_t stream_handler(httpd_req_t *req){

                                             ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:683:18: note: previous declaration 'esp_err_t stream_handler'

static esp_err_t stream_handler(httpd_req_t *req){

              ^

sketch_jul12b:762:91: error: 'run_face_recognition' cannot be used as a function

                                 face_id = run_face_recognition(image_matrix, net_boxes);  //執行人臉辨識

                                                                                       ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'esp_err_t cmd_handler(httpd_req_t*)':

sketch_jul12b:837:46: error: 'esp_err_t cmd_handler(httpd_req_t*)' redeclared as different kind of symbol

static esp_err_t cmd_handler(httpd_req_t *req){

                                          ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:837:18: note: previous declaration 'esp_err_t cmd_handler'

static esp_err_t cmd_handler(httpd_req_t *req){

              ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'esp_err_t status_handler(httpd_req_t*)':

sketch_jul12b:969:49: error: 'esp_err_t status_handler(httpd_req_t*)' redeclared as different kind of symbol

static esp_err_t status_handler(httpd_req_t *req){

                                             ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:969:18: note: previous declaration 'esp_err_t status_handler'

static esp_err_t status_handler(httpd_req_t *req){

              ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'esp_err_t index_handler(httpd_req_t*)':

sketch_jul12b:1583:48: error: 'esp_err_t index_handler(httpd_req_t*)' redeclared as different kind of symbol

static esp_err_t index_handler(httpd_req_t *req){

                                            ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino:1583:18: note: previous declaration 'esp_err_t index_handler'

static esp_err_t index_handler(httpd_req_t *req){

              ^

C:\Users\Shobhit\Documents\Arduino\sketch_jul12b\sketch_jul12b.ino: In function 'void startCameraServer()':

sketch_jul12b:1599:5: error: invalid conversion from 'esp_err_t {aka int}' to 'esp_err_t ()(httpd_req_t) {aka int ()(httpd_req)}' [-fpermissive]

 };

 ^

sketch_jul12b:1606:5: error: invalid conversion from 'esp_err_t {aka int}' to 'esp_err_t ()(httpd_req_t) {aka int ()(httpd_req)}' [-fpermissive]

 };

 ^

sketch_jul12b:1613:5: error: invalid conversion from 'esp_err_t {aka int}' to 'esp_err_t ()(httpd_req_t) {aka int ()(httpd_req)}' [-fpermissive]

 };

 ^

sketch_jul12b:1620:5: error: invalid conversion from 'esp_err_t {aka int}' to 'esp_err_t ()(httpd_req_t) {aka int ()(httpd_req)}' [-fpermissive]

 };

 ^

sketch_jul12b:1627:5: error: invalid conversion from 'esp_err_t {aka int}' to 'esp_err_t ()(httpd_req_t) {aka int ()(httpd_req)}' [-fpermissive]

 };

 ^

exit status 1
variable or field 'rgb_print' declared void

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

from arduino.

fustyles avatar fustyles commented on May 18, 2024

You need to update the ESP32 Core for Arduino IDE to version 1.0.6 .

from arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.