In trying to compile the latest Ver.2.4 with Arduino, I get an
error: BUZZERPIN_OFF was not declared in this scope.
This shows up in alamrms.cpp
void turnOff(uint8_t resource){
if (resource == 1) {
if (resourceIsOn[1]) {
BUZZERPIN_OFF;
resourceIsOn[1] = 0;
}
This error occurs whether BUZZER is defined or not.
I am using a RTFQ Black EZ3.0
I configured config.h exactly like my 2.3 version which flies great.
EDIT: I compiled this with Arduino 1.6.1, the latest. I went back and compiled my old MW2.3 and it gave the same error
message. Arduino 1.5 worked just fine with 2.3.
John
2.4 Compile error
-
- Posts: 15
- Joined: Sat Jul 05, 2014 9:44 pm
- Location: Rogers,Arkansas USA
Re: 2.4 Compile error
please use a compressor like zip and upload your config.h
-
- Posts: 15
- Joined: Sat Jul 05, 2014 9:44 pm
- Location: Rogers,Arkansas USA
Re: 2.4 Compile error
Here is the file. No other files were changed. I think the problem lies with the Arduino which may
have some files that somehow conflict. I tried to go back and compile with 1.5 Version, but it was
over written when I installed the 1.6 Ver. Other files were added for a teensy duino also.
John
have some files that somehow conflict. I tried to go back and compile with 1.5 Version, but it was
over written when I installed the 1.6 Ver. Other files were added for a teensy duino also.
John
- Attachments
-
- config.zip
- (21.1 KiB) Downloaded 146 times
-
- Posts: 15
- Joined: Sat Jul 05, 2014 9:44 pm
- Location: Rogers,Arkansas USA
Re: 2.4 Compile error
Well, I don't understand it, but the solution was to compile with the old Arduino 1.3 Ver. Versions 1.5, 1.5.6,1.61
all gave various errors and wouldn't verify or of course upload. The Multiwii win gui doesn't work, but 2.4 Config does.
John
all gave various errors and wouldn't verify or of course upload. The Multiwii win gui doesn't work, but 2.4 Config does.
John
- jaysonragasa
- Posts: 53
- Joined: Wed Jan 28, 2015 6:40 am
- Location: Philippines
- Contact:
Re: 2.4 Compile error
I am building my MultiWii version 2.3 and 2.4 in Arduino 1.01, works fine.
I moved to the latest version 1.6.1 and it worked as well.
I am now doing everything in Visual Studio 2013 which works pretty great.
Let me check your config.h and see how I can help
I moved to the latest version 1.6.1 and it worked as well.
I am now doing everything in Visual Studio 2013 which works pretty great.
Let me check your config.h and see how I can help
- jaysonragasa
- Posts: 53
- Joined: Wed Jan 28, 2015 6:40 am
- Location: Philippines
- Contact:
Re: 2.4 Compile error
I tried your config.h on an untouched MW2.4 and it compiled without a problem.
I used Arduino 1.6.1
I used Arduino 1.6.1
- Attachments
-
- 2015-03-27_2137.png
- (4.46 KiB) Not downloaded yet
-
- Posts: 15
- Joined: Sat Jul 05, 2014 9:44 pm
- Location: Rogers,Arkansas USA
Re: 2.4 Compile error
Thanks Jayson
I did as you did, downloaded another copy of 2.4.
Installed a new copy of Arduino 1.6.1, this time leaving out some of the options ie: associate ino files.
This time it compiled just fine. Again, can't explain it, but thanks for urging me to try again.
I did as you did, downloaded another copy of 2.4.
Installed a new copy of Arduino 1.6.1, this time leaving out some of the options ie: associate ino files.
This time it compiled just fine. Again, can't explain it, but thanks for urging me to try again.