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

Unable to build for ESP32 Dev Module #54

Open
Park0 opened this issue Nov 13, 2023 · 3 comments
Open

Unable to build for ESP32 Dev Module #54

Park0 opened this issue Nov 13, 2023 · 3 comments

Comments

@Park0
Copy link

Park0 commented Nov 13, 2023

I can't build minimal_parse in de arduino 1.8.19 IDE but also platformio gives the same error. For now i have no clue how to fix this.

error: 'identification' was not declared in this scope
@PolarGoose
Copy link

PolarGoose commented Nov 15, 2023

Hello Park0,
I double-checked the minimal_parse example compiled without problems.
Could you provide a complete build log?
image

@Park0
Copy link
Author

Park0 commented Nov 15, 2023

Install esp32 2.0.6

minimal_parse:28:16: error: 'identification' was not declared in this scope
   /* String */ identification,
                ^~~~~~~~~~~~~~
minimal_parse:29:20: error: 'power_delivered' was not declared in this scope
   /* FixedValue */ power_delivered
                    ^~~~~~~~~~~~~~~
minimal_parse:30:1: error: template argument 1 is invalid
 >;
 ^
minimal_parse:30:1: error: template argument 2 is invalid
Documents\Arduino\libraries\arduino-dsmr\examples\minimal_parse\minimal_parse.ino: In function 'void setup()':
minimal_parse:35:3: error: 'MyData' was not declared in this scope
   MyData data;
   ^~~~~~
minimal_parse:36:44: error: 'data' was not declared in this scope
   ParseResult<void> res = P1Parser::parse(&data, msg, lengthof(msg));
                                            ^~~~
Documents\Arduino\libraries\arduino-dsmr\examples\minimal_parse\minimal_parse.ino:36:44: note: suggested alternative: 'atan'
   ParseResult<void> res = P1Parser::parse(&data, msg, lengthof(msg));
                                            ^~~~
                                            atan

Also upgraded to the latest version.

@PolarGoose
Copy link

PolarGoose commented Nov 16, 2023

@Park0,
Could you contact me via my email [email protected]? we can arrange a call, and I can take a look at what is going on.

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