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

Error messages sometimes #4

Open
elosval31 opened this issue Apr 10, 2022 · 1 comment
Open

Error messages sometimes #4

elosval31 opened this issue Apr 10, 2022 · 1 comment

Comments

@elosval31
Copy link

Arduino: 1.8.18 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

In file included from C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\ukf.h:11:0,

             from C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\ukf.cpp:93:

C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\matrix.h: In member function 'void Matrix::vPrint()':

matrix.h:1291:13: error: 'Serial' was not declared in this scope

         Serial.print("[ ");

         ^

matrix.h:1298:9: error: 'Serial' was not declared in this scope

     Serial.println("");

     ^

C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\matrix.h: In member function 'void Matrix::vPrintFull()':

matrix.h:1303:13: error: 'Serial' was not declared in this scope

         Serial.print("[ ");

         ^

matrix.h:1310:9: error: 'Serial' was not declared in this scope

     Serial.println("");

     ^

In file included from C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\matrix.cpp:9:0:

C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\matrix.h: In member function 'void Matrix::vPrint()':

matrix.h:1291:13: error: 'Serial' was not declared in this scope

         Serial.print("[ ");

         ^

matrix.h:1298:9: error: 'Serial' was not declared in this scope

     Serial.println("");

     ^

C:\Users\OSVALDO'S PC\Downloads\Embedded_UKF_Library-master\ukf_example2_imu\ukf_imu_engl\matrix.h: In member function 'void Matrix::vPrintFull()':

matrix.h:1303:13: error: 'Serial' was not declared in this scope

         Serial.print("[ ");

         ^

matrix.h:1310:9: error: 'Serial' was not declared in this scope

     Serial.println("");

     ^

exit status 1

'Serial' was not declared in this scope

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

I keep having this error popping up. Not sure what to do.

@chaitanya-smartrotamac
Copy link

chaitanya-smartrotamac commented May 19, 2022

I am getting the same error

'Serial' was not declared in this scope

this occurs in Matrix.h file

I changed SYSTEM_IMPLEMENTATION_EMBEDDED_NO_PRINT in Kconfig.h resolved this error.
but is this correct?

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

2 participants