-
Notifications
You must be signed in to change notification settings - Fork 129
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 in library #43
Comments
Hi, Which example are you trying to compile? Please check you're using the las API v43. Regards |
Pretty much any piece of code that imports the library. For example: #include <WaspFrame.h>;
void setup() {}
void loop() {}
This might be it. Sorry for my ignorance, I'm just starting to develop with Waspmotes and Libelium. How can I make sure which version I'm running of how do I update to newer versions of the API? I downloaded the IDE a few days ago and I'm using it out of the box Thanks a lot for the reply |
Now I'm sure I'm running v43, I downloaded the source code of the API, copied the library to the same folder as my project (just for testing purposes) and I even made some modifications on it to make sure the compiler was using that file. The error persisted. I'm going to keep trying. |
Even this code gives the same error int len = 4;
char valC[len][2] = {}; |
Hi, please try to download the IDE again, it already contains the las API version, we tested with your same code and we don't get that error. Also please check it's not just a warning, File/Preferences/Compiler warnings -> None Moreover, if you can test with another computer to discard any problem with yours. Regards |
Thanks for the suggestions. However, none of those worked.
Nevertheless, I tried in a Linux machine (I'm using Windows) and it worked. Could it be that the problem is in Windows installations only? In what OS did you try? |
Hi jmezzera, It's weird, we tested the SmartDevice app Windows version some weeks ago. Please fill the RMA form with the characterístichs of your OS and screenshots of the error and we will contact you in order to solve the problems with the SmartDevice app Windows version. Regards |
Just to be sure, I'm not talking about the SmartDevice app, I'm trying to program a Waspmote PRO v1.5 board from the development kit through the Waspmote IDE. The error I'm getting is while compiling the code, code that compiles in the linux version of the IDE. Do you still want me to go through with the RMA? Thanks |
Hi, Please take a look in the following link where we explain the common issues to upload code with the IDE, If still not working please share with us some screenshot of the error. Regards |
Thank you for your suggestions. waspmoteapi/libraries/Frame/WaspFrame.cpp Line 3917 in 80e92fa
The error:
I tried some things:
This did not compile in the IDE. However, this does in fact compile in the Arduino IDE. I'm not sure if this has anything to do, just a fact.
Any thoughts on this matter? Can any of you confirm the code I posted in this comment does in fact compile on a Windows IDE? Thank you very much |
Hi, It's a weird issue. We have just tried to download the IDE in a Windows computer and compile a frame example and we haven't got a compiling error. Please try to download the IDE again from the following link and let us know if it works. Regards |
Hi,
I'm trying to compile an example sketch which uses the Frame library and I'm getting a compilation error in the following line:
waspmoteapi/libraries/Frame/WaspFrame.cpp
Line 3917 in 80e92fa
The error:
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: