Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Errors during compiling
10-23-2016, 01:34 AM
Post: #1
Errors during compiling
Hello all!
My son put together BRobot and we try to compile the program. We got following messages:


[b][i]Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno"

BROBOT.ino: In function 'void __vector_11()':
BROBOT:262: error: 'PORTE' was not declared in this scope
BROBOT.ino:93:19: note: in definition of macro 'SET'
BROBOT.ino: In function 'void setMotorSpeedM2(int16_t)':
BROBOT:370: error: 'OCR3A' was not declared in this scope
BROBOT:372: error: 'TCNT3' was not declared in this scope
BROBOT.ino: In function 'void setup()':
BROBOT:645: error: 'TCCR3A' was not declared in this scope
BROBOT:646: error: 'TCCR3B' was not declared in this scope
BROBOT:646: error: 'WGM32' was not declared in this scope
BROBOT:646: error: 'CS31' was not declared in this scope
BROBOT:647: error: 'OCR3A' was not declared in this scope
BROBOT:649: error: 'TCNT3' was not declared in this scope
BROBOT:661: error: 'TIMSK3' was not declared in this scope
'PORTE' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
[/b][/i]



We tried different Arduino versions, same error messages.
Can you help us, please?
Find all posts by this user
Quote this message in a reply
10-23-2016, 01:32 PM (This post was last modified: 10-23-2016 01:33 PM by sasa999.)
Post: #2
RE: Errors during compiling
You compile for Arduino Uno board?
Find all posts by this user
Quote this message in a reply
12-11-2016, 04:55 PM
Post: #3
RE: Errors during compiling
(10-23-2016 01:34 AM)electron0101 Wrote:  Hello all!
My son put together BRobot and we try to compile the program. We got following messages:


[b][i]Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno"

BROBOT.ino: In function 'void __vector_11()':
BROBOT:262: error: 'PORTE' was not declared in this scope
BROBOT.ino:93:19: note: in definition of macro 'SET'
BROBOT.ino: In function 'void setMotorSpeedM2(int16_t)':
BROBOT:370: error: 'OCR3A' was not declared in this scope
BROBOT:372: error: 'TCNT3' was not declared in this scope
BROBOT.ino: In function 'void setup()':
BROBOT:645: error: 'TCCR3A' was not declared in this scope
BROBOT:646: error: 'TCCR3B' was not declared in this scope
BROBOT:646: error: 'WGM32' was not declared in this scope
BROBOT:646: error: 'CS31' was not declared in this scope
BROBOT:647: error: 'OCR3A' was not declared in this scope
BROBOT:649: error: 'TCNT3' was not declared in this scope
BROBOT:661: error: 'TIMSK3' was not declared in this scope
'PORTE' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
[/b][/i]



We tried different Arduino versions, same error messages.
Can you help us, please?

Did you ever get this resolved?
Find all posts by this user
Quote this message in a reply
12-12-2016, 09:52 AM
Post: #4
RE: Errors during compiling
Select the arduino LEONARDO Board instead any other.
Find all posts by this user
Quote this message in a reply
12-13-2016, 12:20 AM
Post: #5
RE: Errors during compiling
(12-12-2016 01:16 PM)gebeindia22 Wrote:  Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors in the code, or, more unusually, due to errors in the compiler itself. A compilation error message often helps programmers debugging the source code for possible errors.

Makes no Difference which Arduino I use. See attached.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
12-13-2016, 07:16 AM
Post: #6
RE: Errors during compiling
(10-23-2016 01:34 AM)electron0101 Wrote:  Hello all!
My son put together BRobot and we try to compile the program. We got following messages:


[b][i]Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno"

BROBOT.ino: In function 'void __vector_11()':
BROBOT:262: error: 'PORTE' was not declared in this scope
BROBOT.ino:93:19: note: in definition of macro 'SET'
BROBOT.ino: In function 'void setMotorSpeedM2(int16_t)':
BROBOT:370: error: 'OCR3A' was not declared in this scope
BROBOT:372: error: 'TCNT3' was not declared in this scope
BROBOT.ino: In function 'void setup()':
BROBOT:645: error: 'TCCR3A' was not declared in this scope
BROBOT:646: error: 'TCCR3B' was not declared in this scope
BROBOT:646: error: 'WGM32' was not declared in this scope
BROBOT:646: error: 'CS31' was not declared in this scope
BROBOT:647: error: 'OCR3A' was not declared in this scope
BROBOT:649: error: 'TCNT3' was not declared in this scope
BROBOT:661: error: 'TIMSK3' was not declared in this scope
'PORTE' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
[/b][/i]



We tried different Arduino versions, same error messages.
Can you help us, please?
Arduino/Genuino Uno is a microcontroller board based on the ATmega328P.
The Arduino Leonardo is a microcontroller board based on the ATmega32u4.
Spot the Differences!
–°hips have a different architecture. ATmega328P chip has no timer 3!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)