Forum Replies Created
-
AuthorPosts
-
I’m catching on to that! I’m now faced with a new series of errors – “expected constructor, destructor, or type conversion before ‘(‘ token” is coming up on several different lines. I attached the new error message.
It’s obvious that the code is just missing various braces, brackets, semicolons and the like. I was under the impression that I would be able to take the DRWI_CitSci code, edit in my unique values and I shouldn’t have to make much changes beyond that. I just don’t have the experience or know-how to understand what is missing or needs to be changed, even with the error messages. So sorry for the back and forth.
Should the loop function code go at the very end of my code after everything else?
Attachments:
Thank you Sarah, I managed to fix those issues.
I’ve attached the most recent error message and the code as it exists right now. The first “serial” that it mentions in the error on line 242 is the first “serial” under the Main Setup Function section of the code. It doesn’t look like I’m missing any closing braces so I’m not sure what the issue is here. Thanks again for your help.
Attachments:
For some reason I can’t leave a comment with more than one attachment.
Attachments:
Here are the attachments.
For some reason I haven’t gotten it into my head yet to just close the program and try again.
I did that, twice. The second time it seemed like it made some more progress before another error. So I closed the program and tried again and I think this time everything seemed to work. I’m not seeing any more errors and it looked like the libraries were installed correctly. I attached the contents of the terminal for you to verify that.
Seeming like there were no issues with the library this time I tried to build function again and this is what I am now met with (attached below as build_error).
Thanks Sara.
I ran that command in the PlatformIO terminal and was met with another error which I’ve attached here. Once again thanks for taking the time to walk me through this. Hopefully we’re near the end of troubleshooting!
Attachments:
That worked! I restarded VSCode and entered the command again and successfully installed the libraries.
I then went back and tried to “build” the program and ended up with a few errors. I’ve again attached the output in a txt file.
That’s alright, thanks for taking the time to walk me through this. I wish I had a bit more experience doing this kind of thing, but I’m learning along the way.
Attachments:
I did not add git to your path when I installed it, but I followed the instructions on the page you provided and added the location, which was C:\Program Files\Git\bin and I am still getting the same error.
Great, thank you! So far so good. The other step I’m hung up on now is installing the libraries through platformio. I’ve entered the command
pio lib -g install https://github.com/EnviroDIY/Libraries.git#platformio
into the platformio terminal, and have received this error: Error: Please install Git client from https://git-scm.com/downloads
I’ve installed the Git client but when entering the command I’m receiving the same error. Any clue what to do here?
Thanks Evan. I managed to enter the correct path and I’ve satisfied VScode for the time being. Not sure what I was doing wrong originally, but I try to not ask too many questions. Thanks!
-
AuthorPosts