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

Errors during installation #6

Open
i50fwe opened this issue Jul 30, 2020 · 0 comments
Open

Errors during installation #6

i50fwe opened this issue Jul 30, 2020 · 0 comments

Comments

@i50fwe
Copy link

i50fwe commented Jul 30, 2020

When I verify the code I get below errors. What am I doing wrong? Thanks . Fred

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

DCCpp_Controller:81:1: error: 'import' does not name a type; did you mean 'qsort'?

import processing.serial.*;

^~~~~~

qsort

DCCpp_Controller:82:1: error: 'import' does not name a type; did you mean 'qsort'?

import processing.net.*;

^~~~~~

qsort

DCCpp_Controller:83:1: error: 'import' does not name a type; did you mean 'qsort'?

import java.util.regex.Pattern;

^~~~~~

qsort

DCCpp_Controller:84:1: error: 'import' does not name a type; did you mean 'qsort'?

import java.util.regex.Matcher;

^~~~~~

qsort

DCCpp_Controller:85:1: error: 'import' does not name a type; did you mean 'qsort'?

import java.util.*;

^~~~~~

qsort

DCCpp_Controller:87:1: error: 'final' does not name a type

final String CONTROLLER_VERSION = "3.0";

^~~~~

DCCpp_Controller:88:1: error: 'final' does not name a type

final int BASE_BAUD = 115200;

^~~~~

DCCpp_Controller:89:1: error: 'final' does not name a type

final int SCREEN_WIDTH = 1366;

^~~~~

DCCpp_Controller:90:1: error: 'final' does not name a type

final int SCREEN_HEIGHT = 768;

^~~~~

DCCpp_Controller:91:1: error: 'final' does not name a type

final String STATUS_FILE = "dccStatus.xml";

^~~~~

eventHandlers:63:18: error: variable or field 'serialEvent' declared void

void serialEvent(Serial p){

              ^~~~~~

eventHandlers:63:25: error: expected ')' before 'p'

void serialEvent(Serial p){

                     ^

eventHandlers:69:18: error: variable or field 'clientEvent' declared void

void clientEvent(Client c){

              ^~~~~~

eventHandlers:69:18: error: 'Client' was not declared in this scope

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:69:18: note: suggested alternative: 'Print'

void clientEvent(Client c){

              ^~~~~~

              Print

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino: In function 'void settings()':

DCCpp_Controller:96:8: error: 'SCREEN_WIDTH' was not declared in this scope

size(SCREEN_WIDTH,SCREEN_HEIGHT);

    ^~~~~~~~~~~~

DCCpp_Controller:96:21: error: 'SCREEN_HEIGHT' was not declared in this scope

size(SCREEN_WIDTH,SCREEN_HEIGHT);

                 ^~~~~~~~~~~~~

DCCpp_Controller:96:3: error: 'size' was not declared in this scope

size(SCREEN_WIDTH,SCREEN_HEIGHT);

^~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:96:3: note: suggested alternative: 'size_t'

size(SCREEN_WIDTH,SCREEN_HEIGHT);

^~~~

size_t

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino: In function 'void draw()':

DCCpp_Controller:109:14: error: 'backgroundColor' was not declared in this scope

background(backgroundColor);

          ^~~~~~~~~~~~~~~

DCCpp_Controller:109:3: error: 'background' was not declared in this scope

background(backgroundColor);

^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:109:3: note: suggested alternative: 'round'

background(backgroundColor);

^~~~~~~~~~

round

DCCpp_Controller:111:7: error: 'DccComponent' was not declared in this scope

for(DccComponent dcc : dccComponents)

   ^~~~~~~~~~~~

DCCpp_Controller:114:3: error: expected primary-expression before 'if'

if(frameCount==1) // if this is the first frame, just display components and return (otherwise user stare at a blank screen while serial is opening

^~

DCCpp_Controller:114:3: error: expected ';' before 'if'

DCCpp_Controller:114:3: error: expected primary-expression before 'if'

DCCpp_Controller:114:3: error: expected ')' before 'if'

DCCpp_Controller:114:6: error: 'frameCount' was not declared in this scope

if(frameCount==1) // if this is the first frame, just display components and return (otherwise user stare at a blank screen while serial is opening

  ^~~~~~~~~~

DCCpp_Controller:117:6: error: 'frameCount' was not declared in this scope

if(frameCount==2) // is this is the second frame, open the serial port --- screen will have already been displayed in prior frame

  ^~~~~~~~~~

DCCpp_Controller:118:5: error: 'aPort' was not declared in this scope

 aPort.open(arduinoPortXML.getContent());

 ^~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:118:5: note: suggested alternative: 'abort'

 aPort.open(arduinoPortXML.getContent());

 ^~~~~

 abort

DCCpp_Controller:118:16: error: 'arduinoPortXML' was not declared in this scope

 aPort.open(arduinoPortXML.getContent());

            ^~~~~~~~~~~~~~

DCCpp_Controller:120:13: error: 'buttonQueue2' was not declared in this scope

for(int i=buttonQueue2.size()-1;i>=0;i--){

         ^~~~~~~~~~~~

DCCpp_Controller:125:13: error: 'buttonQueue' was not declared in this scope

for(int i=buttonQueue.size()-1;i>=0;i--){

         ^~~~~~~~~~~

DCCpp_Controller:126:5: error: 'buttonQueue2' was not declared in this scope

 buttonQueue2.add(buttonQueue.get(i));;

 ^~~~~~~~~~~~

DCCpp_Controller:131:5: error: 'cursorType' was not declared in this scope

 cursorType=ARROW;

 ^~~~~~~~~~

DCCpp_Controller:131:16: error: 'ARROW' was not declared in this scope

 cursorType=ARROW;

            ^~~~~

DCCpp_Controller:132:5: error: 'previousComponent' was not declared in this scope

 previousComponent=selectedComponent;

 ^~~~~~~~~~~~~~~~~

DCCpp_Controller:132:23: error: 'selectedComponent' was not declared in this scope

 previousComponent=selectedComponent;

                   ^~~~~~~~~~~~~~~~~

DCCpp_Controller:133:23: error: 'null' was not declared in this scope

 selectedComponent=null;

                   ^~~~

DCCpp_Controller:135:23: error: 'dccComponents' was not declared in this scope

 int nComponents = dccComponents.size();

                   ^~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:135:23: note: suggested alternative: 'nComponents'

 int nComponents = dccComponents.size();

                   ^~~~~~~~~~~~~

                   nComponents

DCCpp_Controller:140:5: error: 'cursor' was not declared in this scope

 cursor(cursorType);

 ^~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:140:5: note: suggested alternative: 'perror'

 cursor(cursorType);

 ^~~~~~

 perror

DCCpp_Controller:144:8: error: 'lastTime' was not declared in this scope

if(m-lastTime>250 && aPort!=null && currentMeter.isOn){

    ^~~~~~~~

DCCpp_Controller:144:24: error: 'aPort' was not declared in this scope

if(m-lastTime>250 && aPort!=null && currentMeter.isOn){

                    ^~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:144:24: note: suggested alternative: 'abort'

if(m-lastTime>250 && aPort!=null && currentMeter.isOn){

                    ^~~~~

                    abort

DCCpp_Controller:144:31: error: 'null' was not declared in this scope

if(m-lastTime>250 && aPort!=null && currentMeter.isOn){

                           ^~~~

DCCpp_Controller:144:39: error: 'currentMeter' was not declared in this scope

if(m-lastTime>250 && aPort!=null && currentMeter.isOn){

                                   ^~~~~~~~~~~~

DCCpp_Controller:149:3: error: 'msgBoxClock' was not declared in this scope

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

^~~~~~~~~~~

DCCpp_Controller:149:29: error: 'hour' was not declared in this scope

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                         ^~~~

DCCpp_Controller:149:26: error: 'nf' was not declared in this scope

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                      ^~

DCCpp_Controller:149:46: error: 'minute' was not declared in this scope

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                                          ^~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:149:46: note: suggested alternative: 'init'

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                                          ^~~~~~

                                          init

DCCpp_Controller:149:65: error: 'second' was not declared in this scope

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                                                             ^~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:149:65: note: suggested alternative: 'rewind'

msgBoxClock.setMessage(nf(hour(),2)+":"+nf(minute(),2)+":"+nf(second(),2));

                                                             ^~~~~~

                                                             rewind

DCCpp_Controller:151:6: error: 'saveXMLFlag' was not declared in this scope

if(saveXMLFlag){

  ^~~~~~~~~~~

DCCpp_Controller:153:15: error: 'dccStatusXML' was not declared in this scope

   saveXML(dccStatusXML,STATUS_FILE);

           ^~~~~~~~~~~~

DCCpp_Controller:153:28: error: 'STATUS_FILE' was not declared in this scope

   saveXML(dccStatusXML,STATUS_FILE);

                        ^~~~~~~~~~~

DCCpp_Controller:153:7: error: 'saveXML' was not declared in this scope

   saveXML(dccStatusXML,STATUS_FILE);

   ^~~~~~~

DCCpp_Controller:155:13: error: 'Exception' does not name a type

 } catch(Exception e){

         ^~~~~~~~~

DCCpp_Controller:155:23: error: exception handling disabled, use -fexceptions to enable

 } catch(Exception e){

                   ^

DCCpp_Controller:156:7: error: 'println' was not declared in this scope

   println("Couldn't save. Will retry");

   ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino:156:7: note: suggested alternative: 'printf'

   println("Couldn't save. Will retry");

   ^~~~~~~

   printf

DCCpp_Controller:160:3: error: 'autoPilot' was not declared in this scope

autoPilot.safetyCheck();

^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\DCCpp_Controller.ino: At global scope:

DCCpp_Controller:166:1: error: 'abstract' does not name a type; did you mean 'struct'?

abstract class DccComponent{

^~~~~~~~

struct

DCCpp_Controller:194:1: error: 'interface' does not name a type

interface CallBack{

^~~~~~~~~

controllerConfig:16:3: error: 'PApplet' does not name a type

PApplet Applet = this; // Refers to this program --- needed for Serial class

^~~~~~~

controllerConfig:23:3: error: 'PFont' does not name a type; did you mean 'Print'?

PFont throttleFont, messageFont, buttonFont;

^~~~~

Print

controllerConfig:24:3: error: 'color' does not name a type

color backgroundColor;

^~~~~

controllerConfig:25:3: error: 'XML' does not name a type; did you mean 'XL'?

XML dccStatusXML, arduinoPortXML, sensorButtonsXML, autoPilotXML, cabDefaultsXML, serverListXML;

^~~

XL

controllerConfig:27:3: error: 'DccComponent' does not name a type

DccComponent selectedComponent, previousComponent;

^~~~~~~~~~~~

controllerConfig:28:3: error: 'ArrayList' does not name a type

ArrayList dccComponents = new ArrayList();

^~~~~~~~~

controllerConfig:29:3: error: 'ArrayList' does not name a type

ArrayList cabButtons = new ArrayList();

^~~~~~~~~

controllerConfig:30:3: error: 'ArrayList' does not name a type

ArrayList callBacks = new ArrayList();

^~~~~~~~~

controllerConfig:31:3: error: 'ArrayList' does not name a type

ArrayList buttonQueue = new ArrayList();

^~~~~~~~~

controllerConfig:32:3: error: 'ArrayList' does not name a type

ArrayList buttonQueue2 = new ArrayList();

^~~~~~~~~

controllerConfig:33:3: error: 'HashMap' does not name a type

HashMap<Integer,EllipseButton> remoteButtonsHM = new HashMap<Integer,EllipseButton>();

^~~~~~~

controllerConfig:34:3: error: 'ArrayList' does not name a type

ArrayList msgAutoCab = new ArrayList();

^~~~~~~~~

controllerConfig:35:3: error: 'HashMap' does not name a type

HashMap<Integer,TrackSensor> sensorsHM = new HashMap<Integer,TrackSensor>();

^~~~~~~

controllerConfig:36:3: error: 'HashMap' does not name a type

HashMap<String,CabButton> cabsHM = new HashMap<String,CabButton>();

^~~~~~~

controllerConfig:37:3: error: 'HashMap' does not name a type

HashMap<Integer,TrackButton> trackButtonsHM = new HashMap<Integer,TrackButton>();

^~~~~~~

controllerConfig:39:3: error: 'ArduinoPort' does not name a type; did you mean 'Arduino_h'?

ArduinoPort aPort;

^~~~~~~~~~~

Arduino_h

controllerConfig:40:3: error: 'PowerButton' does not name a type

PowerButton powerButton;

^~~~~~~~~~~

controllerConfig:41:3: error: 'AutoPilotButton' does not name a type

AutoPilotButton autoPilot;

^~~~~~~~~~~~~~~

controllerConfig:42:3: error: 'CleaningCarButton' does not name a type

CleaningCarButton cleaningCab;

^~~~~~~~~~~~~~~~~

controllerConfig:43:3: error: 'Throttle' does not name a type

Throttle throttleA;

^~~~~~~~

controllerConfig:44:3: error: 'Layout' does not name a type; did you mean 'abort'?

Layout layout,layout2,layoutBridge;

^~~~~~

abort

controllerConfig:45:3: error: 'MessageBox' does not name a type

MessageBox msgBoxMain, msgBoxDiagIn, msgBoxDiagOut, msgBoxClock;

^~~~~~~~~~

controllerConfig:46:3: error: 'CurrentMeter' does not name a type

CurrentMeter currentMeter;

^~~~~~~~~~~~

controllerConfig:47:3: error: 'Window' does not name a type; did you mean 'random'?

Window mainWindow, accWindow, progWindow, portWindow, extrasWindow, opWindow, diagWindow, autoWindow, sensorWindow, ledWindow;

^~~~~~

random

controllerConfig:48:3: error: 'ImageWindow' does not name a type

ImageWindow imageWindow;

^~~~~~~~~~~

controllerConfig:49:3: error: 'JPGWindow' does not name a type

JPGWindow helpWindow;

^~~~~~~~~

controllerConfig:50:3: error: 'MessageBox' does not name a type

MessageBox msgAutoState, msgAutoTimer;

^~~~~~~~~~

controllerConfig:51:3: error: 'InputBox' does not name a type

InputBox activeInputBox;

^~~~~~~~

controllerConfig:52:3: error: 'InputBox' does not name a type

InputBox accAddInput, accSubAddInput;

^~~~~~~~

controllerConfig:53:3: error: 'InputBox' does not name a type

InputBox progCVInput, progHEXInput, progDECInput, progBINInput;

^~~~~~~~

controllerConfig:54:3: error: 'InputBox' does not name a type

InputBox opCabInput, opCVInput, opHEXInput, opDECInput, opBINInput, opBitInput;

^~~~~~~~

controllerConfig:55:3: error: 'InputBox' does not name a type

InputBox shortAddInput, longAddInput;

^~~~~~~~

controllerConfig:56:3: error: 'MessageBox' does not name a type

MessageBox activeAddBox;

^~~~~~~~~~

controllerConfig:57:3: error: 'MessageBox' does not name a type

MessageBox portBox, portNumBox;

^~~~~~~~~~

controllerConfig:58:3: error: 'MessageBox' does not name a type

MessageBox ledHueMsg, ledSatMsg, ledValMsg, ledRedMsg, ledGreenMsg, ledBlueMsg;

^~~~~~~~~~

controllerConfig:59:3: error: 'PortScanButton' does not name a type

PortScanButton portScanButton;

^~~~~~~~~~~~~~

controllerConfig:60:3: error: 'LEDColorButton' does not name a type

LEDColorButton ledColorButton;

^~~~~~~~~~~~~~

controllerConfig:64:3: error: 'TrackButton' does not name a type

TrackButton tButton1,tButton2,tButton3,tButton4,tButton5;

^~~~~~~~~~~

controllerConfig:65:3: error: 'TrackButton' does not name a type

TrackButton tButton6,tButton7,tButton8,tButton9,tButton10;

^~~~~~~~~~~

controllerConfig:66:3: error: 'TrackButton' does not name a type

TrackButton tButton20,tButton30,tButton40,tButton50;

^~~~~~~~~~~

controllerConfig:68:3: error: 'RouteButton' does not name a type

RouteButton rButton1,rButton2,rButton3,rButton4,rButton5,rButton6,rButton7;

^~~~~~~~~~~

controllerConfig:69:3: error: 'RouteButton' does not name a type

RouteButton rButton10,rButton11,rButton12,rButton13,rButton14;

^~~~~~~~~~~

controllerConfig:70:3: error: 'RouteButton' does not name a type

RouteButton rButtonR1,rButtonR2,rButton15,rButton16,rButton17,rButtonSpiral,rButtonReset,rButtonBridge;

^~~~~~~~~~~

controllerConfig:72:3: error: 'CabButton' does not name a type

CabButton cab8601,cab54,cab1202,cab1506,cab622,cab2004,cab6021;

^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino: In function 'void Initialize()':

controllerConfig:79:15: error: 'RGB' was not declared in this scope

 colorMode(RGB,255);

           ^~~

controllerConfig:79:5: error: 'colorMode' was not declared in this scope

 colorMode(RGB,255);

 ^~~~~~~~~

controllerConfig:80:5: error: 'throttleFont' was not declared in this scope

 throttleFont=loadFont("OCRAExtended-26.vlw");

 ^~~~~~~~~~~~

controllerConfig:80:18: error: 'loadFont' was not declared in this scope

 throttleFont=loadFont("OCRAExtended-26.vlw");

              ^~~~~~~~

controllerConfig:81:5: error: 'messageFont' was not declared in this scope

 messageFont=loadFont("LucidaConsole-18.vlw");

 ^~~~~~~~~~~

controllerConfig:82:5: error: 'buttonFont' was not declared in this scope

 buttonFont=loadFont("LucidaConsole-18.vlw");

 ^~~~~~~~~~

controllerConfig:83:14: error: 'CENTER' was not declared in this scope

 rectMode(CENTER);

          ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:83:14: note: suggested alternative: 'EULER'

 rectMode(CENTER);

          ^~~~~~

          EULER

controllerConfig:83:5: error: 'rectMode' was not declared in this scope

 rectMode(CENTER);

 ^~~~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:83:5: note: suggested alternative: 'remove'

 rectMode(CENTER);

 ^~~~~~~~

 remove

controllerConfig:84:5: error: 'textAlign' was not declared in this scope

 textAlign(CENTER,CENTER);

 ^~~~~~~~~

controllerConfig:85:5: error: 'backgroundColor' was not declared in this scope

 backgroundColor=color(50,50,60);

 ^~~~~~~~~~~~~~~

controllerConfig:85:21: error: 'color' was not declared in this scope

 backgroundColor=color(50,50,60);

                 ^~~~~

controllerConfig:87:5: error: 'aPort' was not declared in this scope

 aPort=new ArduinoPort();

 ^~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:87:5: note: suggested alternative: 'abort'

 aPort=new ArduinoPort();

 ^~~~~

 abort

controllerConfig:87:15: error: expected type-specifier before 'ArduinoPort'

 aPort=new ArduinoPort();

           ^~~~~~~~~~~

controllerConfig:91:5: error: 'dccStatusXML' was not declared in this scope

 dccStatusXML=loadXML(STATUS_FILE);

 ^~~~~~~~~~~~

controllerConfig:91:26: error: 'STATUS_FILE' was not declared in this scope

 dccStatusXML=loadXML(STATUS_FILE);

                      ^~~~~~~~~~~

controllerConfig:91:18: error: 'loadXML' was not declared in this scope

 dccStatusXML=loadXML(STATUS_FILE);

              ^~~~~~~

controllerConfig:92:22: error: 'null' was not declared in this scope

 if(dccStatusXML==null){

                  ^~~~

controllerConfig:93:24: error: expected type-specifier before 'XML'

   dccStatusXML=new XML("dccStatus");

                    ^~~

controllerConfig:96:5: error: 'arduinoPortXML' was not declared in this scope

 arduinoPortXML=dccStatusXML.getChild("arduinoPort");

 ^~~~~~~~~~~~~~

controllerConfig:97:24: error: 'null' was not declared in this scope

 if(arduinoPortXML==null){

                    ^~~~

controllerConfig:102:5: error: 'serverListXML' was not declared in this scope

 serverListXML=dccStatusXML.getChild("serverList");

 ^~~~~~~~~~~~~

controllerConfig:103:23: error: 'null' was not declared in this scope

 if(serverListXML==null){

                   ^~~~

controllerConfig:108:5: error: 'sensorButtonsXML' was not declared in this scope

 sensorButtonsXML=dccStatusXML.getChild("sensorButtons");

 ^~~~~~~~~~~~~~~~

controllerConfig:109:26: error: 'null' was not declared in this scope

 if(sensorButtonsXML==null){

                      ^~~~

controllerConfig:113:5: error: 'autoPilotXML' was not declared in this scope

 autoPilotXML=dccStatusXML.getChild("autoPilot");

 ^~~~~~~~~~~~

controllerConfig:114:22: error: 'null' was not declared in this scope

 if(autoPilotXML==null){

                  ^~~~

controllerConfig:118:5: error: 'cabDefaultsXML' was not declared in this scope

 cabDefaultsXML=dccStatusXML.getChild("cabDefaults");

 ^~~~~~~~~~~~~~

controllerConfig:119:24: error: 'null' was not declared in this scope

 if(cabDefaultsXML==null){

                    ^~~~

controllerConfig:127:5: error: 'accWindow' was not declared in this scope

 accWindow = new Window(500,200,300,160,color(200,200,200),color(200,50,50));

 ^~~~~~~~~

controllerConfig:127:21: error: expected type-specifier before 'Window'

 accWindow = new Window(500,200,300,160,color(200,200,200),color(200,50,50));

                 ^~~~~~

controllerConfig:128:9: error: expected type-specifier before 'DragBar'

 new DragBar(accWindow,0,0,300,10,color(200,50,50));

     ^~~~~~~

controllerConfig:129:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(accWindow,288,0,10,10,color(200,50,50),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:130:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(accWindow,150,22,0,0,color(200,200,200),20,"Accessory Control",color(200,50,50));

     ^~~~~~~~~~

controllerConfig:131:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(accWindow,20,60,-1,0,color(200,200,200),16,"Acc Address (0-511):",color(200,50,50));

     ^~~~~~~~~~

controllerConfig:132:5: error: 'accAddInput' was not declared in this scope

 accAddInput = new InputBox(accWindow,230,60,16,color(200,200,200),color(50,50,200),3,InputType.DEC);

 ^~~~~~~~~~~

controllerConfig:132:23: error: expected type-specifier before 'InputBox'

 accAddInput = new InputBox(accWindow,230,60,16,color(200,200,200),color(50,50,200),3,InputType.DEC);

                   ^~~~~~~~

controllerConfig:133:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(accWindow,20,90,-1,0,color(200,200,200),16,"Sub Address   (0-3):",color(200,50,50));

     ^~~~~~~~~~

controllerConfig:134:5: error: 'accSubAddInput' was not declared in this scope

 accSubAddInput = new InputBox(accWindow,230,90,16,color(200,200,200),color(50,50,200),1,InputType.DEC);

 ^~~~~~~~~~~~~~

controllerConfig:134:26: error: expected type-specifier before 'InputBox'

 accSubAddInput = new InputBox(accWindow,230,90,16,color(200,200,200),color(50,50,200),1,InputType.DEC);

                      ^~~~~~~~

controllerConfig:135:9: error: expected type-specifier before 'AccessoryButton'

 new AccessoryButton(accWindow,90,130,55,25,100,18,"ON",accAddInput,accSubAddInput);

     ^~~~~~~~~~~~~~~

controllerConfig:136:9: error: expected type-specifier before 'AccessoryButton'

 new AccessoryButton(accWindow,210,130,55,25,0,18,"OFF",accAddInput,accSubAddInput);

     ^~~~~~~~~~~~~~~

controllerConfig:142:5: error: 'portWindow' was not declared in this scope

 portWindow = new Window(500,200,500,170,color(200,200,200),color(200,50,50));

 ^~~~~~~~~~

controllerConfig:142:22: error: expected type-specifier before 'Window'

 portWindow = new Window(500,200,500,170,color(200,200,200),color(200,50,50));

                  ^~~~~~

controllerConfig:143:9: error: expected type-specifier before 'DragBar'

 new DragBar(portWindow,0,0,500,10,color(200,50,50));

     ^~~~~~~

controllerConfig:144:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(portWindow,488,0,10,10,color(200,50,50),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:145:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(portWindow,250,22,0,0,color(200,200,200),20,"Select Arduino Port",color(200,50,50));

     ^~~~~~~~~~

controllerConfig:146:5: error: 'portScanButton' was not declared in this scope

 portScanButton = new PortScanButton(portWindow,100,60,85,20,100,18,"SCAN");

 ^~~~~~~~~~~~~~

controllerConfig:146:26: error: expected type-specifier before 'PortScanButton'

 portScanButton = new PortScanButton(portWindow,100,60,85,20,100,18,"SCAN");

                      ^~~~~~~~~~~~~~

controllerConfig:147:9: error: expected type-specifier before 'PortScanButton'

 new PortScanButton(portWindow,400,60,85,20,0,18,"CONNECT");

     ^~~~~~~~~~~~~~

controllerConfig:148:9: error: expected type-specifier before 'PortScanButton'

 new PortScanButton(portWindow,120,140,15,20,120,18,"<");

     ^~~~~~~~~~~~~~

controllerConfig:149:9: error: expected type-specifier before 'PortScanButton'

 new PortScanButton(portWindow,380,140,15,20,120,18,">");

     ^~~~~~~~~~~~~~

controllerConfig:150:5: error: 'portBox' was not declared in this scope

 portBox = new MessageBox(portWindow,250,100,380,25,color(250,250,250),20,"",color(50,150,50));

 ^~~~~~~

controllerConfig:150:19: error: expected type-specifier before 'MessageBox'

 portBox = new MessageBox(portWindow,250,100,380,25,color(250,250,250),20,"",color(50,150,50));

               ^~~~~~~~~~

controllerConfig:152:5: error: 'portNumBox' was not declared in this scope

 portNumBox = new MessageBox(portWindow,250,140,0,0,color(200,200,200),20,"",color(50,50,50));

 ^~~~~~~~~~

controllerConfig:152:22: error: expected type-specifier before 'MessageBox'

 portNumBox = new MessageBox(portWindow,250,140,0,0,color(200,200,200),20,"",color(50,50,50));

                  ^~~~~~~~~~

controllerConfig:156:5: error: 'progWindow' was not declared in this scope

 progWindow = new Window(500,100,500,400,color(200,180,200),color(50,50,200));

 ^~~~~~~~~~

controllerConfig:156:22: error: expected type-specifier before 'Window'

 progWindow = new Window(500,100,500,400,color(200,180,200),color(50,50,200));

                  ^~~~~~

controllerConfig:157:9: error: expected type-specifier before 'DragBar'

 new DragBar(progWindow,0,0,500,10,color(50,50,200));

     ^~~~~~~

controllerConfig:158:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(progWindow,488,0,10,10,color(50,50,200),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:159:9: error: expected type-specifier before 'RectButton'

 new RectButton(progWindow,250,30,210,30,40,color(0),18,"Programming Track",ButtonType.TI_COMMAND,101);

     ^~~~~~~~~~

controllerConfig:161:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,90,-1,0,color(200,180,200),16,"CV (1-1024):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:162:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,130,-1,0,color(200,180,200),16,"Value (HEX):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:163:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,160,-1,0,color(200,180,200),16,"Value (DEC):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:164:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,190,-1,0,color(200,180,200),16,"Value (BIN):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:165:5: error: 'progCVInput' was not declared in this scope

 progCVInput = new InputBox(progWindow,150,90,16,color(200,180,200),color(200,50,50),4,InputType.DEC);

 ^~~~~~~~~~~

controllerConfig:165:23: error: expected type-specifier before 'InputBox'

 progCVInput = new InputBox(progWindow,150,90,16,color(200,180,200),color(200,50,50),4,InputType.DEC);

                   ^~~~~~~~

controllerConfig:166:5: error: 'progHEXInput' was not declared in this scope

 progHEXInput = new InputBox(progWindow,150,130,16,color(200,180,200),color(200,50,50),2,InputType.HEX);

 ^~~~~~~~~~~~

controllerConfig:166:24: error: expected type-specifier before 'InputBox'

 progHEXInput = new InputBox(progWindow,150,130,16,color(200,180,200),color(200,50,50),2,InputType.HEX);

                    ^~~~~~~~

controllerConfig:167:5: error: 'progDECInput' was not declared in this scope

 progDECInput = new InputBox(progWindow,150,160,16,color(200,180,200),color(200,50,50),3,InputType.DEC);

 ^~~~~~~~~~~~

controllerConfig:167:24: error: expected type-specifier before 'InputBox'

 progDECInput = new InputBox(progWindow,150,160,16,color(200,180,200),color(200,50,50),3,InputType.DEC);

                    ^~~~~~~~

controllerConfig:168:5: error: 'progBINInput' was not declared in this scope

 progBINInput = new InputBox(progWindow,150,190,16,color(200,180,200),color(200,50,50),8,InputType.BIN);

 ^~~~~~~~~~~~

controllerConfig:168:24: error: expected type-specifier before 'InputBox'

 progBINInput = new InputBox(progWindow,150,190,16,color(200,180,200),color(200,50,50),8,InputType.BIN);

                    ^~~~~~~~

controllerConfig:175:9: error: expected type-specifier before 'ProgWriteReadButton'

 new ProgWriteReadButton(progWindow,300,90,65,25,100,14,"READ",progCVInput,progHEXInput);

     ^~~~~~~~~~~~~~~~~~~

controllerConfig:176:9: error: expected type-specifier before 'ProgWriteReadButton'

 new ProgWriteReadButton(progWindow,390,90,65,25,0,14,"WRITE",progCVInput,progHEXInput);

     ^~~~~~~~~~~~~~~~~~~

controllerConfig:178:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,240,-1,0,color(200,180,200),16,"ENGINE ADDRESSES",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:179:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,280,-1,0,color(200,180,200),16,"Short  (1-127):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:180:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,310,-1,0,color(200,180,200),16,"Long (0-10239):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:181:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(progWindow,20,340,-1,0,color(200,180,200),16,"Active        :",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:182:5: error: 'shortAddInput' was not declared in this scope

 shortAddInput = new InputBox(progWindow,190,280,16,color(200,180,200),color(200,50,50),3,InputType.DEC);

 ^~~~~~~~~~~~~

controllerConfig:182:25: error: expected type-specifier before 'InputBox'

 shortAddInput = new InputBox(progWindow,190,280,16,color(200,180,200),color(200,50,50),3,InputType.DEC);

                     ^~~~~~~~

controllerConfig:183:5: error: 'longAddInput' was not declared in this scope

 longAddInput = new InputBox(progWindow,190,310,16,color(200,180,200),color(200,50,50),5,InputType.DEC);

 ^~~~~~~~~~~~

controllerConfig:183:24: error: expected type-specifier before 'InputBox'

 longAddInput = new InputBox(progWindow,190,310,16,color(200,180,200),color(200,50,50),5,InputType.DEC);

                    ^~~~~~~~

controllerConfig:184:5: error: 'activeAddBox' was not declared in this scope

 activeAddBox = new MessageBox(progWindow,190,340,-1,0,color(200,180,200),16,"?",color(200,50,50));

 ^~~~~~~~~~~~

controllerConfig:184:24: error: expected type-specifier before 'MessageBox'

 activeAddBox = new MessageBox(progWindow,190,340,-1,0,color(200,180,200),16,"?",color(200,50,50));

                    ^~~~~~~~~~

controllerConfig:185:9: error: expected type-specifier before 'ProgAddReadButton'

 new ProgAddReadButton(progWindow,300,240,65,25,100,14,"READ",shortAddInput,longAddInput,activeAddBox);

     ^~~~~~~~~~~~~~~~~

controllerConfig:186:9: error: expected type-specifier before 'ProgShortAddWriteButton'

 new ProgShortAddWriteButton(progWindow,300,280,65,25,0,14,"WRITE",shortAddInput);

     ^~~~~~~~~~~~~~~~~~~~~~~

controllerConfig:187:9: error: expected type-specifier before 'ProgLongAddWriteButton'

 new ProgLongAddWriteButton(progWindow,300,310,65,25,0,14,"WRITE",longAddInput);

     ^~~~~~~~~~~~~~~~~~~~~~

controllerConfig:188:9: error: expected type-specifier before 'ProgLongShortButton'

 new ProgLongShortButton(progWindow,300,340,65,25,0,14,"Long",activeAddBox);

     ^~~~~~~~~~~~~~~~~~~

controllerConfig:189:9: error: expected type-specifier before 'ProgLongShortButton'

 new ProgLongShortButton(progWindow,390,340,65,25,0,14,"Short",activeAddBox);

     ^~~~~~~~~~~~~~~~~~~

controllerConfig:193:5: error: 'opWindow' was not declared in this scope

 opWindow = new Window(500,100,500,300,color(220,200,200),color(50,50,200));

 ^~~~~~~~

controllerConfig:193:20: error: expected type-specifier before 'Window'

 opWindow = new Window(500,100,500,300,color(220,200,200),color(50,50,200));

                ^~~~~~

controllerConfig:194:9: error: expected type-specifier before 'DragBar'

 new DragBar(opWindow,0,0,500,10,color(50,50,200));

     ^~~~~~~

controllerConfig:195:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(opWindow,488,0,10,10,color(50,50,200),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:196:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,250,30,0,0,color(220,200,200),20,"Operations Programming",color(50,100,50));

     ^~~~~~~~~~

controllerConfig:197:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,90,-1,0,color(220,200,200),16,"Cab Number :",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:198:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,120,-1,0,color(220,200,200),16,"CV (1-1024):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:199:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,160,-1,0,color(220,200,200),16,"Value (HEX):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:200:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,190,-1,0,color(220,200,200),16,"Value (DEC):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:201:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,220,-1,0,color(220,200,200),16,"Value (BIN):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:202:5: error: 'opCabInput' was not declared in this scope

 opCabInput = new InputBox(opWindow,150,90,16,color(220,200,200),color(200,50,50),5,InputType.DEC);

 ^~~~~~~~~~

controllerConfig:202:22: error: expected type-specifier before 'InputBox'

 opCabInput = new InputBox(opWindow,150,90,16,color(220,200,200),color(200,50,50),5,InputType.DEC);

                  ^~~~~~~~

controllerConfig:203:5: error: 'opCVInput' was not declared in this scope

 opCVInput = new InputBox(opWindow,150,120,16,color(220,200,200),color(200,50,50),4,InputType.DEC);

 ^~~~~~~~~

controllerConfig:203:21: error: expected type-specifier before 'InputBox'

 opCVInput = new InputBox(opWindow,150,120,16,color(220,200,200),color(200,50,50),4,InputType.DEC);

                 ^~~~~~~~

controllerConfig:204:5: error: 'opHEXInput' was not declared in this scope

 opHEXInput = new InputBox(opWindow,150,160,16,color(220,200,200),color(200,50,50),2,InputType.HEX);

 ^~~~~~~~~~

controllerConfig:204:22: error: expected type-specifier before 'InputBox'

 opHEXInput = new InputBox(opWindow,150,160,16,color(220,200,200),color(200,50,50),2,InputType.HEX);

                  ^~~~~~~~

controllerConfig:205:5: error: 'opDECInput' was not declared in this scope

 opDECInput = new InputBox(opWindow,150,190,16,color(220,200,200),color(200,50,50),3,InputType.DEC);

 ^~~~~~~~~~

controllerConfig:205:22: error: expected type-specifier before 'InputBox'

 opDECInput = new InputBox(opWindow,150,190,16,color(220,200,200),color(200,50,50),3,InputType.DEC);

                  ^~~~~~~~

controllerConfig:206:5: error: 'opBINInput' was not declared in this scope

 opBINInput = new InputBox(opWindow,150,220,16,color(220,200,200),color(200,50,50),8,InputType.BIN);

 ^~~~~~~~~~

controllerConfig:206:22: error: expected type-specifier before 'InputBox'

 opBINInput = new InputBox(opWindow,150,220,16,color(220,200,200),color(200,50,50),8,InputType.BIN);

                  ^~~~~~~~

controllerConfig:213:9: error: expected type-specifier before 'OpWriteButton'

 new OpWriteButton(opWindow,300,90,65,25,0,14,"WRITE",opCVInput,opHEXInput);

     ^~~~~~~~~~~~~

controllerConfig:214:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(opWindow,20,260,-1,0,color(220,200,200),16,"  Bit (0-7):",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:215:5: error: 'opBitInput' was not declared in this scope

 opBitInput = new InputBox(opWindow,150,260,16,color(220,200,200),color(200,50,50),1,InputType.DEC);

 ^~~~~~~~~~

controllerConfig:215:22: error: expected type-specifier before 'InputBox'

 opBitInput = new InputBox(opWindow,150,260,16,color(220,200,200),color(200,50,50),1,InputType.DEC);

                  ^~~~~~~~

controllerConfig:216:9: error: expected type-specifier before 'OpWriteButton'

 new OpWriteButton(opWindow,300,260,65,25,50,14,"SET",opCVInput,opBitInput);

     ^~~~~~~~~~~~~

controllerConfig:217:9: error: expected type-specifier before 'OpWriteButton'

 new OpWriteButton(opWindow,390,260,65,25,150,14,"CLEAR",opCVInput,opBitInput);

     ^~~~~~~~~~~~~

controllerConfig:221:5: error: 'diagWindow' was not declared in this scope

 diagWindow = new Window(400,300,500,120,color(175),color(50,200,50));

 ^~~~~~~~~~

controllerConfig:221:22: error: expected type-specifier before 'Window'

 diagWindow = new Window(400,300,500,120,color(175),color(50,200,50));

                  ^~~~~~

controllerConfig:222:9: error: expected type-specifier before 'DragBar'

 new DragBar(diagWindow,0,0,500,10,color(50,200,50));

     ^~~~~~~

controllerConfig:223:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(diagWindow,488,0,10,10,color(50,200,50),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:224:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(diagWindow,250,20,0,0,color(175),18,"Diagnostics Window",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:225:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(diagWindow,10,60,-1,0,color(175),18,"Sent:",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:226:5: error: 'msgBoxDiagOut' was not declared in this scope

 msgBoxDiagOut=new MessageBox(diagWindow,250,60,0,0,color(175),18,"---",color(50,50,200));

 ^~~~~~~~~~~~~

controllerConfig:226:23: error: expected type-specifier before 'MessageBox'

 msgBoxDiagOut=new MessageBox(diagWindow,250,60,0,0,color(175),18,"---",color(50,50,200));

                   ^~~~~~~~~~

controllerConfig:227:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(diagWindow,10,90,-1,0,color(175),18,"Proc:",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:228:5: error: 'msgBoxDiagIn' was not declared in this scope

 msgBoxDiagIn=new MessageBox(diagWindow,250,90,0,0,color(175),18,"---",color(50,50,200));

 ^~~~~~~~~~~~

controllerConfig:228:22: error: expected type-specifier before 'MessageBox'

 msgBoxDiagIn=new MessageBox(diagWindow,250,90,0,0,color(175),18,"---",color(50,50,200));

                  ^~~~~~~~~~

controllerConfig:232:5: error: 'autoWindow' was not declared in this scope

 autoWindow = new Window(400,300,500,330,color(175),color(50,200,50));

 ^~~~~~~~~~

controllerConfig:232:22: error: expected type-specifier before 'Window'

 autoWindow = new Window(400,300,500,330,color(175),color(50,200,50));

                  ^~~~~~

controllerConfig:233:9: error: expected type-specifier before 'DragBar'

 new DragBar(autoWindow,0,0,500,10,color(50,200,50));

     ^~~~~~~

controllerConfig:234:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(autoWindow,488,0,10,10,color(50,200,50),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:235:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(autoWindow,250,20,0,0,color(175),18,"AutoPilot Window",color(50,50,150));

     ^~~~~~~~~~

controllerConfig:236:5: error: 'msgAutoState' was not declared in this scope

 msgAutoState=new MessageBox(autoWindow,0,180,-1,0,color(175),18,"?",color(50,50,250));

 ^~~~~~~~~~~~

controllerConfig:236:22: error: expected type-specifier before 'MessageBox'

 msgAutoState=new MessageBox(autoWindow,0,180,-1,0,color(175),18,"?",color(50,50,250));

                  ^~~~~~~~~~

controllerConfig:237:5: error: 'msgAutoTimer' was not declared in this scope

 msgAutoTimer=new MessageBox(autoWindow,55,310,-1,0,color(175),18,"Timer =",color(50,50,250));

 ^~~~~~~~~~~~

controllerConfig:237:22: error: expected type-specifier before 'MessageBox'

 msgAutoTimer=new MessageBox(autoWindow,55,310,-1,0,color(175),18,"Timer =",color(50,50,250));

                  ^~~~~~~~~~

controllerConfig:241:5: error: 'sensorWindow' was not declared in this scope

 sensorWindow = new Window(400,300,500,350,color(175),color(50,200,50));

 ^~~~~~~~~~~~

controllerConfig:241:24: error: expected type-specifier before 'Window'

 sensorWindow = new Window(400,300,500,350,color(175),color(50,200,50));

                    ^~~~~~

controllerConfig:242:9: error: expected type-specifier before 'DragBar'

 new DragBar(sensorWindow,0,0,500,10,color(50,200,50));

     ^~~~~~~

controllerConfig:243:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(sensorWindow,488,0,10,10,color(50,200,50),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:244:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(sensorWindow,250,20,0,0,color(175),18,"Sensors Window",color(50,50,150));

     ^~~~~~~~~~

controllerConfig:248:3: error: 'helpWindow' was not declared in this scope

helpWindow=new JPGWindow("helpMenu.jpg",1000,650,100,50,color(0,100,0));

^~~~~~~~~~

controllerConfig:248:18: error: expected type-specifier before 'JPGWindow'

helpWindow=new JPGWindow("helpMenu.jpg",1000,650,100,50,color(0,100,0));

              ^~~~~~~~~

controllerConfig:252:5: error: 'extrasWindow' was not declared in this scope

 extrasWindow = new Window(500,200,500,250,color(255,255,175),color(100,100,200));

 ^~~~~~~~~~~~

controllerConfig:252:24: error: expected type-specifier before 'Window'

 extrasWindow = new Window(500,200,500,250,color(255,255,175),color(100,100,200));

                    ^~~~~~

controllerConfig:253:9: error: expected type-specifier before 'DragBar'

 new DragBar(extrasWindow,0,0,500,10,color(100,100,200));

     ^~~~~~~

controllerConfig:254:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(extrasWindow,488,0,10,10,color(100,100,200),color(255,255,255));

     ^~~~~~~~~~~

controllerConfig:255:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(extrasWindow,250,20,0,0,color(175),18,"Extra Functions",color(50,50,200));

     ^~~~~~~~~~

controllerConfig:260:5: error: 'ledWindow' was not declared in this scope

 ledWindow = new Window(500,200,550,425,color(0),color(0,0,200));

 ^~~~~~~~~

controllerConfig:260:21: error: expected type-specifier before 'Window'

 ledWindow = new Window(500,200,550,425,color(0),color(0,0,200));

                 ^~~~~~

controllerConfig:261:9: error: expected type-specifier before 'DragBar'

 new DragBar(ledWindow,0,0,550,10,color(0,0,200));

     ^~~~~~~

controllerConfig:262:9: error: expected type-specifier before 'CloseButton'

 new CloseButton(ledWindow,538,0,10,10,color(0,0,200),color(200,200,200));

     ^~~~~~~~~~~

controllerConfig:263:9: error: expected type-specifier before 'MessageBox'

 new MessageBox(ledWindow,275,20,0,0,color(175),18,"LED Light Strip",color(200,200,200));

     ^~~~~~~~~~

controllerConfig:264:5: error: 'ledColorButton' was not declared in this scope

 ledColorButton=new LEDColorButton(ledWindow,310,175,30,201,0.0,0.0,1.0);

 ^~~~~~~~~~~~~~

controllerConfig:264:24: error: expected type-specifier before 'LEDColorButton'

 ledColorButton=new LEDColorButton(ledWindow,310,175,30,201,0.0,0.0,1.0);

                    ^~~~~~~~~~~~~~

controllerConfig:265:9: error: expected type-specifier before 'LEDColorSelector'

 new LEDColorSelector(ledWindow,150,175,100,ledColorButton);

     ^~~~~~~~~~~~~~~~

controllerConfig:266:9: error: expected type-specifier before 'LEDValSelector'

 new LEDValSelector(ledWindow,50,330,200,30,ledColorButton);

     ^~~~~~~~~~~~~~

controllerConfig:267:5: error: 'ledHueMsg' was not declared in this scope

 ledHueMsg = new MessageBox(ledWindow,360,80,-1,0,color(175),18,"Hue:   -",color(200,200,200));

 ^~~~~~~~~

controllerConfig:267:21: error: expected type-specifier before 'MessageBox'

 ledHueMsg = new MessageBox(ledWindow,360,80,-1,0,color(175),18,"Hue:   -",color(200,200,200));

                 ^~~~~~~~~~

controllerConfig:268:5: error: 'ledSatMsg' was not declared in this scope

 ledSatMsg = new MessageBox(ledWindow,360,115,-1,0,color(175),18,"Sat:   -",color(200,200,200));

 ^~~~~~~~~

controllerConfig:268:21: error: expected type-specifier before 'MessageBox'

 ledSatMsg = new MessageBox(ledWindow,360,115,-1,0,color(175),18,"Sat:   -",color(200,200,200));

                 ^~~~~~~~~~

controllerConfig:269:5: error: 'ledValMsg' was not declared in this scope

 ledValMsg = new MessageBox(ledWindow,360,150,-1,0,color(175),18,"Val:   -",color(200,200,200));

 ^~~~~~~~~

controllerConfig:269:21: error: expected type-specifier before 'MessageBox'

 ledValMsg = new MessageBox(ledWindow,360,150,-1,0,color(175),18,"Val:   -",color(200,200,200));

                 ^~~~~~~~~~

controllerConfig:270:5: error: 'ledRedMsg' was not declared in this scope

 ledRedMsg = new MessageBox(ledWindow,360,185,-1,0,color(175),18,"Red:   -",color(200,200,200));

 ^~~~~~~~~

controllerConfig:270:21: error: expected type-specifier before 'MessageBox'

 ledRedMsg = new MessageBox(ledWindow,360,185,-1,0,color(175),18,"Red:   -",color(200,200,200));

                 ^~~~~~~~~~

controllerConfig:271:5: error: 'ledGreenMsg' was not declared in this scope

 ledGreenMsg = new MessageBox(ledWindow,360,220,-1,0,color(175),18,"Green: -",color(200,200,200));

 ^~~~~~~~~~~

controllerConfig:271:23: error: expected type-specifier before 'MessageBox'

 ledGreenMsg = new MessageBox(ledWindow,360,220,-1,0,color(175),18,"Green: -",color(200,200,200));

                   ^~~~~~~~~~

controllerConfig:272:5: error: 'ledBlueMsg' was not declared in this scope

 ledBlueMsg = new MessageBox(ledWindow,360,255,-1,0,color(175),18,"Blue:  -",color(200,200,200));

 ^~~~~~~~~~

controllerConfig:272:22: error: expected type-specifier before 'MessageBox'

 ledBlueMsg = new MessageBox(ledWindow,360,255,-1,0,color(175),18,"Blue:  -",color(200,200,200));

                  ^~~~~~~~~~

controllerConfig:276:5: error: 'msgBoxMain' was not declared in this scope

 msgBoxMain=new MessageBox(width/2,12,width,25,color(200),20,"Searching for Base Station: "+arduinoPortXML.getContent(),color(30,30,150));

 ^~~~~~~~~~

controllerConfig:276:20: error: expected type-specifier before 'MessageBox'

 msgBoxMain=new MessageBox(width/2,12,width,25,color(200),20,"Searching for Base Station: "+arduinoPortXML.getContent(),color(30,30,150));

                ^~~~~~~~~~

controllerConfig:277:9: error: expected type-specifier before 'HelpButton'

 new HelpButton(width-50,12,22,22,150,20,"?");

     ^~~~~~~~~~

controllerConfig:281:5: error: 'msgBoxClock' was not declared in this scope

 msgBoxClock=new MessageBox(30,700,-100,30,backgroundColor,30,"00:00:00",color(255,255,255));

 ^~~~~~~~~~~

controllerConfig:281:21: error: expected type-specifier before 'MessageBox'

 msgBoxClock=new MessageBox(30,700,-100,30,backgroundColor,30,"00:00:00",color(255,255,255));

                 ^~~~~~~~~~

controllerConfig:285:5: error: 'powerButton' was not declared in this scope

 powerButton=new PowerButton(75,475,100,30,100,18,"POWER");

 ^~~~~~~~~~~

controllerConfig:285:21: error: expected type-specifier before 'PowerButton'

 powerButton=new PowerButton(75,475,100,30,100,18,"POWER");

                 ^~~~~~~~~~~

controllerConfig:286:9: error: expected type-specifier before 'QuitButton'

 new QuitButton(200,475,100,30,250,18,"QUIT");

     ^~~~~~~~~~

controllerConfig:287:5: error: 'currentMeter' was not declared in this scope

 currentMeter = new CurrentMeter(25,550,150,100,675,5);

 ^~~~~~~~~~~~

controllerConfig:287:24: error: expected type-specifier before 'CurrentMeter'

 currentMeter = new CurrentMeter(25,550,150,100,675,5);

                    ^~~~~~~~~~~~

controllerConfig:296:5: error: 'throttleA' was not declared in this scope

 throttleA=new Throttle(tAx,tAy,1.3);

 ^~~~~~~~~

controllerConfig:296:19: error: expected type-specifier before 'Throttle'

 throttleA=new Throttle(tAx,tAy,1.3);

               ^~~~~~~~

controllerConfig:298:5: error: 'cab2004' was not declared in this scope

 cab2004 = new CabButton(tAx-125,tAy-150,50,30,150,15,2004,throttleA);

 ^~~~~~~

controllerConfig:298:19: error: expected type-specifier before 'CabButton'

 cab2004 = new CabButton(tAx-125,tAy-150,50,30,150,15,2004,throttleA);

               ^~~~~~~~~

controllerConfig:301:57: error: 'ButtonType' was not declared in this scope

 cab2004.setFunction(35,15,60,22,60,10,0,"Headlight",ButtonType.NORMAL,CabFunction.F_LIGHT);

                                                     ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:301:57: note: suggested alternative: 'cursorType'

 cab2004.setFunction(35,15,60,22,60,10,0,"Headlight",ButtonType.NORMAL,CabFunction.F_LIGHT);

                                                     ^~~~~~~~~~

                                                     cursorType

controllerConfig:301:75: error: 'CabFunction' was not declared in this scope

 cab2004.setFunction(35,15,60,22,60,10,0,"Headlight",ButtonType.NORMAL,CabFunction.F_LIGHT);

                                                                       ^~~~~~~~~~~

controllerConfig:304:5: error: 'cab622' was not declared in this scope

 cab622 = new CabButton(tAx-125,tAy-100,50,30,150,15,622,throttleA);

 ^~~~~~

controllerConfig:304:18: error: expected type-specifier before 'CabButton'

 cab622 = new CabButton(tAx-125,tAy-100,50,30,150,15,622,throttleA);

              ^~~~~~~~~

controllerConfig:310:5: error: 'cab8601' was not declared in this scope

 cab8601 = new CabButton(tAx-125,tAy-50,50,30,150,15,8601,throttleA);

 ^~~~~~~

controllerConfig:310:19: error: expected type-specifier before 'CabButton'

 cab8601 = new CabButton(tAx-125,tAy-50,50,30,150,15,8601,throttleA);

               ^~~~~~~~~

controllerConfig:315:5: error: 'cab6021' was not declared in this scope

 cab6021 = new CabButton(tAx-125,tAy,50,30,150,15,6021,throttleA);

 ^~~~~~~

controllerConfig:315:19: error: expected type-specifier before 'CabButton'

 cab6021 = new CabButton(tAx-125,tAy,50,30,150,15,6021,throttleA);

               ^~~~~~~~~

controllerConfig:321:5: error: 'cab54' was not declared in this scope

 cab54 = new CabButton(tAx-125,tAy+50,50,30,150,15,54,throttleA);

 ^~~~~

controllerConfig:321:17: error: expected type-specifier before 'CabButton'

 cab54 = new CabButton(tAx-125,tAy+50,50,30,150,15,54,throttleA);

             ^~~~~~~~~

controllerConfig:349:5: error: 'cab1202' was not declared in this scope

 cab1202 = new CabButton(tAx-125,tAy+100,50,30,150,15,1202,throttleA);

 ^~~~~~~

controllerConfig:349:19: error: expected type-specifier before 'CabButton'

 cab1202 = new CabButton(tAx-125,tAy+100,50,30,150,15,1202,throttleA);

               ^~~~~~~~~

controllerConfig:355:5: error: 'cab1506' was not declared in this scope

 cab1506 = new CabButton(tAx-125,tAy+150,50,30,150,15,1506,throttleA);

 ^~~~~~~

controllerConfig:355:19: error: expected type-specifier before 'CabButton'

 cab1506 = new CabButton(tAx-125,tAy+150,50,30,150,15,1506,throttleA);

               ^~~~~~~~~

controllerConfig:364:5: error: 'imageWindow' was not declared in this scope

 imageWindow=new ImageWindow(throttleA,975,450,200,50,color(200,50,50));

 ^~~~~~~~~~~

controllerConfig:364:21: error: expected type-specifier before 'ImageWindow'

 imageWindow=new ImageWindow(throttleA,975,450,200,50,color(200,50,50));

                 ^~~~~~~~~~~

controllerConfig:368:5: error: 'autoPilot' was not declared in this scope

 autoPilot=new AutoPilotButton(325,550,100,50,30,18,"AUTO\nPILOT");

 ^~~~~~~~~

controllerConfig:368:19: error: expected type-specifier before 'AutoPilotButton'

 autoPilot=new AutoPilotButton(325,550,100,50,30,18,"AUTO\nPILOT");

               ^~~~~~~~~~~~~~~

controllerConfig:369:5: error: 'cleaningCab' was not declared in this scope

 cleaningCab=new CleaningCarButton(extrasWindow,28,80,80,120,50,40,16,"Cleaning\nCar");

 ^~~~~~~~~~~

controllerConfig:369:21: error: expected type-specifier before 'CleaningCarButton'

 cleaningCab=new CleaningCarButton(extrasWindow,28,80,80,120,50,40,16,"Cleaning\nCar");

                 ^~~~~~~~~~~~~~~~~

controllerConfig:373:5: error: 'layout' was not declared in this scope

 layout=new Layout(325,50,1000,80*25.4,36*25.4);

 ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:373:5: note: suggested alternative: 'abort'

 layout=new Layout(325,50,1000,80*25.4,36*25.4);

 ^~~~~~

 abort

controllerConfig:373:16: error: expected type-specifier before 'Layout'

 layout=new Layout(325,50,1000,80*25.4,36*25.4);

            ^~~~~~

controllerConfig:375:5: error: 'Track' was not declared in this scope

 Track bridgeA = new Track(layout,20,450,62,90);

 ^~~~~

controllerConfig:376:11: error: expected ';' before 'bridgeB'

 Track bridgeB = new Track(bridgeA,1,348,-90);

       ^~~~~~~

controllerConfig:377:11: error: expected ';' before 'bridgeC'

 Track bridgeC = new Track(bridgeB,1,399);

       ^~~~~~~

controllerConfig:378:11: error: expected ';' before 't5A'

 Track t5A = new Track(bridgeC,1,126);

       ^~~

controllerConfig:379:11: error: expected ';' before 'loop3A'

 Track loop3A = new Track(t5A,1,682);

       ^~~~~~

controllerConfig:380:11: error: expected ';' before 'loop3B'

 Track loop3B = new Track(loop3A,1,381,-180);

       ^~~~~~

controllerConfig:381:11: error: expected ';' before 'loop3C'

 Track loop3C = new Track(loop3B,1,124);

       ^~~~~~

controllerConfig:382:11: error: expected ';' before 't20A2'

 Track t20A2 = new Track(loop3C,1,126);

       ^~~~~

controllerConfig:383:11: error: expected ';' before 't20B2'

 Track t20B2 = new Track(loop3C,1,481,15);

       ^~~~~

controllerConfig:384:11: error: expected ';' before 't20B1'

 Track t20B1 = new Track(t20B2,1,481,-15);

       ^~~~~

controllerConfig:385:11: error: expected ';' before 'loop2A3A'

 Track loop2A3A = new Track(t20A2,1,120);

       ^~~~~~~~

controllerConfig:386:11: error: expected ';' before 't30A1'

 Track t30A1 = new Track(loop2A3A,1,126);

       ^~~~~

controllerConfig:387:11: error: expected ';' before 't30A2'

 Track t30A2 = new Track(t30A1,1,126);

       ^~~~~

controllerConfig:388:11: error: expected ';' before 't30B1'

 Track t30B1 = new Track(loop2A3A,1,481,-15);

       ^~~~~

controllerConfig:389:11: error: expected ';' before 't30B4'

 Track t30B4 = new Track(t30B1,1,481,15);

       ^~~~~

controllerConfig:390:11: error: expected ';' before 'loop2C'

 Track loop2C = new Track(t30A2,1,122);

       ^~~~~~

controllerConfig:391:11: error: expected ';' before 't10A3'

 Track t10A3 = new Track(loop2C,1,126);

       ^~~~~

controllerConfig:392:11: error: expected ';' before 't10B3'

 Track t10B3 = new Track(loop2C,1,481,15);

       ^~~~~

controllerConfig:393:11: error: expected ';' before 't10A4'

 Track t10A4 = new Track(t10A3,1,126);

       ^~~~~

controllerConfig:394:11: error: expected ';' before 't10B2'

 Track t10B2 = new Track(t10B3,1,481,-15);

       ^~~~~

controllerConfig:395:11: error: expected ';' before 'loop2D'

 Track loop2D = new Track(t10A4,1,62);

       ^~~~~~

controllerConfig:396:11: error: expected ';' before 'loop2E'

 Track loop2E = new Track(loop2D,1,315,-165);

       ^~~~~~

controllerConfig:397:11: error: expected ';' before 'loop2F'

 Track loop2F = new Track(loop2E,1,128);

       ^~~~~~

controllerConfig:398:11: error: expected ';' before 'loop2G'

 Track loop2G = new Track(loop2F,1,315,-15);

       ^~~~~~

controllerConfig:399:11: error: expected ';' before 'loop2H'

 Track loop2H = new Track(loop2G,1,742);

       ^~~~~~

controllerConfig:400:11: error: expected ';' before 't50A2'

 Track t50A2 = new Track(loop2H,1,126);

       ^~~~~

controllerConfig:401:11: error: expected ';' before 'loop2A'

 Track loop2A = new Track(t50A2,1,315,-180);

       ^~~~~~

controllerConfig:402:11: error: expected ';' before 'loop2B'

 Track loop2B = new Track(loop2A,1,308);

       ^~~~~~

controllerConfig:403:11: error: expected ';' before 't30A3'

 Track t30A3 = new Track(loop2B,1,126);

       ^~~~~

controllerConfig:404:11: error: expected ';' before 't30A4'

 Track t30A4 = new Track(t30A3,1,126);

       ^~~~~

controllerConfig:405:11: error: expected ';' before 't30B3'

 Track t30B3 = new Track(loop2B,1,481,15);

       ^~~~~

controllerConfig:406:11: error: expected ';' before 't30B2'

 Track t30B2 = new Track(t30B3,1,481,-15);

       ^~~~~

controllerConfig:407:11: error: expected ';' before 'loop1A2A'

 Track loop1A2A = new Track(t30A4,1,60);

       ^~~~~~~~

controllerConfig:408:11: error: expected ';' before 't40A1'

 Track t40A1 = new Track(loop1A2A,1,126);

       ^~~~~

controllerConfig:409:11: error: expected ';' before 'loop1B'

 Track loop1B = new Track(t40A1,1,248);

       ^~~~~~

controllerConfig:410:11: error: expected ';' before 'loop1C'

 Track loop1C = new Track(loop1B,1,282,-165);

       ^~~~~~

controllerConfig:411:11: error: expected ';' before 'loop1D'

 Track loop1D = new Track(loop1C,1,128);

       ^~~~~~

controllerConfig:412:11: error: expected ';' before 'loop1E'

 Track loop1E = new Track(loop1D,1,282,-15);

       ^~~~~~

controllerConfig:413:11: error: expected ';' before 't4A'

 Track t4A = new Track(loop1E,1,126);

       ^~~

controllerConfig:414:11: error: expected ';' before 't4B'

 Track t4B = new Track(loop1E,1,481,-15);

       ^~~

controllerConfig:415:11: error: expected ';' before 'loop1F'

 Track loop1F = new Track(t4A,1,494);

       ^~~~~~

controllerConfig:416:11: error: expected ';' before 't50A1'

 Track t50A1 = new Track(loop1F,1,126);

       ^~~~~

controllerConfig:417:11: error: expected ';' before 't50B1'

 Track t50B1 = new Track(loop1F,1,481,15);

       ^~~~~

controllerConfig:418:11: error: expected ';' before 't50B2'

 Track t50B2 = new Track(t50B1,1,481,-15);

       ^~~~~

controllerConfig:419:11: error: expected ';' before 'loop1G'

 Track loop1G = new Track(t50A1,1,122);

       ^~~~~~

controllerConfig:420:11: error: expected ';' before 'loop1H'

 Track loop1H = new Track(loop1G,1,282,-180);

       ^~~~~~

controllerConfig:421:11: error: expected ';' before 'loop1I'

 Track loop1I = new Track(loop1H,1,62);

       ^~~~~~

controllerConfig:422:11: error: expected ';' before 't1A'

 Track t1A = new Track(loop1I,1,126);

       ^~~

controllerConfig:423:11: error: expected ';' before 't1B'

 Track t1B = new Track(loop1I,1,481,-15);

       ^~~

controllerConfig:424:11: error: expected ';' before 'loop1A'

 Track loop1A = new Track(t1A,1,308);

       ^~~~~~

controllerConfig:425:11: error: expected ';' before 't40A2'

 Track t40A2 = new Track(loop1A,1,126);

       ^~~~~

controllerConfig:426:11: error: expected ';' before 't40B2'

 Track t40B2 = new Track(loop1A,1,481,15);

       ^~~~~

controllerConfig:427:11: error: expected ';' before 't40B1'

 Track t40B1 = new Track(t40B2,1,481,-15);

       ^~~~~

controllerConfig:428:11: error: expected ';' before 's1A'

 Track s1A = new Track(t40A2,1,60);

       ^~~

controllerConfig:429:11: error: expected ';' before 's1B'

 Track s1B = new Track(s1A,1,481,-15);

       ^~~

controllerConfig:430:11: error: expected ';' before 's1C'

 Track s1C = new Track(s1B,1,339);

       ^~~

controllerConfig:431:11: error: expected ';' before 's1'

 Track s1 = new Track(s1C,1,50);

       ^~

controllerConfig:432:11: error: expected ';' before 'loop3D'

 Track loop3D = new Track(t20B1,1,370);

       ^~~~~~

controllerConfig:433:11: error: expected ';' before 't20A1'

 Track t20A1 = new Track(loop3D,0,126);

       ^~~~~

controllerConfig:434:11: error: expected ';' before 't10A1'

 Track t10A1 = new Track(loop3D,1,126);

       ^~~~~

controllerConfig:435:11: error: expected ';' before 't10B1'

 Track t10B1 = new Track(loop3D,1,481,-15);

       ^~~~~

controllerConfig:436:11: error: expected ';' before 't10B4'

 Track t10B4 = new Track(t10B1,1,481,15);

       ^~~~~

controllerConfig:437:11: error: expected ';' before 't10A2'

 Track t10A2 = new Track(t10A1,1,126);

       ^~~~~

controllerConfig:438:11: error: expected ';' before 'loop3E'

 Track loop3E = new Track(t10A2,1,62);

       ^~~~~~

controllerConfig:439:11: error: expected ';' before 'loop3F'

 Track loop3F = new Track(loop3E,1,381,-180);

       ^~~~~~

controllerConfig:440:11: error: expected ';' before 'loop3G'

 Track loop3G = new Track(loop3F,1,124);

       ^~~~~~

controllerConfig:441:11: error: expected ';' before 'loop3H'

 Track loop3H = new Track(loop3G,1,481,15);

       ^~~~~~

controllerConfig:442:11: error: expected ';' before 't5B'

 Track t5B = new Track(loop3H,1,481,-15);

       ^~~

controllerConfig:443:11: error: expected ';' before 's7A'

 Track s7A = new Track(t20A1,1,337);

       ^~~

controllerConfig:444:11: error: expected ';' before 's7B'

 Track s7B = new Track(s7A,1,348,90);

       ^~~

controllerConfig:445:11: error: expected ';' before 's7C'

 Track s7C = new Track(s7B,1,124);

       ^~~

controllerConfig:446:11: error: expected ';' before 's7D'

 Track s7D = new Track(s7C,1,481,15);

       ^~~

controllerConfig:447:11: error: expected ';' before 's7E'

 Track s7E = new Track(s7D,1,124);

       ^~~

controllerConfig:448:11: error: expected ';' before 's7'

 Track s7 = new Track(s7E,1,62);

       ^~

controllerConfig:449:11: error: expected ';' before 't2A'

 Track t2A = new Track(t1B,1,126);

       ^~~

controllerConfig:450:11: error: expected ';' before 't2B'

 Track t2B = new Track(t1B,1,481,-15);

       ^~~

controllerConfig:451:11: error: expected ';' before 's2_3_4_5A'

 Track s2_3_4_5A = new Track(t2A,1,64);

       ^~~~~~~~~

controllerConfig:452:11: error: expected ';' before 't3A'

 Track t3A = new Track(s2_3_4_5A,1,126);

       ^~~

controllerConfig:453:11: error: expected ';' before 't3B'

 Track t3B = new Track(s2_3_4_5A,1,481,15);

       ^~~

controllerConfig:454:11: error: expected ';' before 's2A'

 Track s2A = new Track(t3B,1,30);

       ^~~

controllerConfig:455:11: error: expected ';' before 's2B'

 Track s2B = new Track(s2A,1,481,15);

       ^~~

controllerConfig:456:11: error: expected ';' before 's2C'

 Track s2C = new Track(s2B,1,481,-30);

       ^~~

controllerConfig:457:11: error: expected ';' before 's2D'

 Track s2D = new Track(s2C,1,248);

       ^~~

controllerConfig:458:11: error: expected ';' before 's2'

 Track s2 = new Track(s2D,1,50);

       ^~

controllerConfig:459:11: error: expected ';' before 't6A'

 Track t6A = new Track(t3A,1,126);

       ^~~

controllerConfig:460:11: error: expected ';' before 't6B'

 Track t6B = new Track(t3A,1,481,-15);

       ^~~

controllerConfig:461:11: error: expected ';' before 's3A'

 Track s3A = new Track(t6A,1,556);

       ^~~

controllerConfig:462:11: error: expected ';' before 's3'

 Track s3 = new Track(s3A,1,50);

       ^~

controllerConfig:463:11: error: expected ';' before 't9A'

 Track t9A = new Track(t6B,1,126);

       ^~~

controllerConfig:464:11: error: expected ';' before 't9B'

 Track t9B = new Track(t6B,1,481,15);

       ^~~

controllerConfig:465:11: error: expected ';' before 's4A'

 Track s4A = new Track(t9B,1,479);

       ^~~

controllerConfig:466:11: error: expected ';' before 's4'

 Track s4 = new Track(s4A,1,50);

       ^~

controllerConfig:467:11: error: expected ';' before 's5A'

 Track s5A = new Track(t9A,1,481,15);

       ^~~

controllerConfig:468:11: error: expected ';' before 's5B'

 Track s5B = new Track(s5A,1,341);

       ^~~

controllerConfig:469:11: error: expected ';' before 's5'

 Track s5 = new Track(s5B,1,50);

       ^~

controllerConfig:470:11: error: expected ';' before 'rLoopA'

 Track rLoopA = new Track(t4B,1,282,-45);

       ^~~~~~

controllerConfig:471:11: error: expected ';' before 'rLoopB'

 Track rLoopB = new Track(rLoopA,1,87);

       ^~~~~~

controllerConfig:472:11: error: expected ';' before 't7A'

 Track t7A = new Track(rLoopB,1,126);

       ^~~

controllerConfig:473:11: error: expected ';' before 't7B'

 Track t7B = new Track(rLoopB,1,481,15);

       ^~~

controllerConfig:474:11: error: expected ';' before 'rLoopC'

 Track rLoopC = new Track(t7A,1,481,15);

       ^~~~~~

controllerConfig:475:11: error: expected ';' before 'rLoopD'

 Track rLoopD = new Track(rLoopC,1,425,15);

       ^~~~~~

controllerConfig:476:11: error: expected ';' before 's6A'

 Track s6A = new Track(t7B,1,60);

       ^~~

controllerConfig:477:11: error: expected ';' before 's6B'

 Track s6B = new Track(s6A,1,282,45);

       ^~~

controllerConfig:478:11: error: expected ';' before 's6C'

 Track s6C = new Track(s6B,1,481,30);

       ^~~

controllerConfig:479:11: error: expected ';' before 's6D'

 Track s6D = new Track(s6C,1,188);

       ^~~

controllerConfig:480:11: error: expected ';' before 's6'

 Track s6 = new Track(s6D,1,50);

       ^~

controllerConfig:481:11: error: expected ';' before 'bridgeD'

 Track bridgeD = new Track(bridgeA,0,348,60);

       ^~~~~~~

controllerConfig:485:5: error: 'layout2' was not declared in this scope

 layout2=new Layout(325,500,400,80*25.4,36*25.4);

 ^~~~~~~

controllerConfig:485:17: error: expected type-specifier before 'Layout'

 layout2=new Layout(325,500,400,80*25.4,36*25.4);

             ^~~~~~

controllerConfig:486:5: error: 'layoutBridge' was not declared in this scope

 layoutBridge=new Layout(layout2);

 ^~~~~~~~~~~~

controllerConfig:486:22: error: expected type-specifier before 'Layout'

 layoutBridge=new Layout(layout2);

                  ^~~~~~

controllerConfig:488:11: error: expected ';' before 'bridgeE'

 Track bridgeE = new Track(bridgeD,1,348,60,layoutBridge);

       ^~~~~~~

controllerConfig:489:11: error: expected ';' before 'bridgeF'

 Track bridgeF = new Track(bridgeE,1,248);

       ^~~~~~~

controllerConfig:490:11: error: expected ';' before 't8A'

 Track t8A = new Track(bridgeF,1,200);

       ^~~

controllerConfig:491:11: error: expected ';' before 't8B'

 Track t8B = new Track(bridgeF,1,400,-35);

       ^~~

controllerConfig:492:11: error: expected ';' before 'bridgeG'

 Track bridgeG = new Track(t8A,1,618);

       ^~~~~~~

controllerConfig:493:11: error: expected ';' before 'bridgeH'

 Track bridgeH = new Track(bridgeG,1,282,-226);

       ^~~~~~~

controllerConfig:494:11: error: expected ';' before 'bridgeI'

 Track bridgeI = new Track(bridgeH,1,558);

       ^~~~~~~

controllerConfig:498:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(loop3B,1,30,20,20,1,false);          // mappings from Sensor numbers (1..N) to Arduino Pins

     ^~~~~~~~~~~

controllerConfig:499:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(t50A2,1,315,-174,20,20,2,false);

     ^~~~~~~~~~~

controllerConfig:500:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(loop2D,1,315,-47,20,20,3,false);

     ^~~~~~~~~~~

controllerConfig:501:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(loop1B,1,282,-45,20,20,4,false);

     ^~~~~~~~~~~

controllerConfig:502:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(loop3E,1,381,-45,20,20,5,false);

     ^~~~~~~~~~~

controllerConfig:503:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(bridgeA,1,348,-10,20,20,6,false);

     ^~~~~~~~~~~

controllerConfig:504:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(s1A,1,481,-5,20,20,7,true);

     ^~~~~~~~~~~

controllerConfig:505:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(s2B,1,481,-5,20,20,8,true);

     ^~~~~~~~~~~

controllerConfig:506:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(t6A,1,175,20,20,9,true);

     ^~~~~~~~~~~

controllerConfig:507:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(s6A,1,282,10,20,20,10,true);

     ^~~~~~~~~~~

controllerConfig:508:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(loop1G,1,282,-137,20,20,11,false);

     ^~~~~~~~~~~

controllerConfig:509:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(t9B,1,100,20,20,12,true);

     ^~~~~~~~~~~

controllerConfig:510:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(s5A,1,30,20,20,13,true);

     ^~~~~~~~~~~

controllerConfig:511:9: error: expected type-specifier before 'TrackSensor'

 new TrackSensor(s7A,1,348,50,20,20,14,true);

     ^~~~~~~~~~~

controllerConfig:515:5: error: 'tButton1' was not declared in this scope

 tButton1 = new TrackButton(20,20,1);

 ^~~~~~~~

controllerConfig:515:20: error: expected type-specifier before 'TrackButton'

 tButton1 = new TrackButton(20,20,1);

                ^~~~~~~~~~~

controllerConfig:516:23: error: 't1A' was not declared in this scope

 tButton1.addTrack(t1A,0);

                   ^~~

controllerConfig:517:23: error: 't1B' was not declared in this scope

 tButton1.addTrack(t1B,1);

                   ^~~

controllerConfig:519:5: error: 'tButton2' was not declared in this scope

 tButton2 = new TrackButton(20,82,2);

 ^~~~~~~~

controllerConfig:519:20: error: expected type-specifier before 'TrackButton'

 tButton2 = new TrackButton(20,82,2);

                ^~~~~~~~~~~

controllerConfig:520:23: error: 't2A' was not declared in this scope

 tButton2.addTrack(t2A,0);

                   ^~~

controllerConfig:521:23: error: 't2B' was not declared in this scope

 tButton2.addTrack(t2B,1);

                   ^~~

controllerConfig:523:5: error: 'tButton3' was not declared in this scope

 tButton3 = new TrackButton(20,20,3);

 ^~~~~~~~

controllerConfig:523:20: error: expected type-specifier before 'TrackButton'

 tButton3 = new TrackButton(20,20,3);

                ^~~~~~~~~~~

controllerConfig:524:23: error: 't3A' was not declared in this scope

 tButton3.addTrack(t3A,0);

                   ^~~

controllerConfig:525:23: error: 't3B' was not declared in this scope

 tButton3.addTrack(t3B,1);

                   ^~~

controllerConfig:527:5: error: 'tButton4' was not declared in this scope

 tButton4 = new TrackButton(20,20,4);

 ^~~~~~~~

controllerConfig:527:20: error: expected type-specifier before 'TrackButton'

 tButton4 = new TrackButton(20,20,4);

                ^~~~~~~~~~~

controllerConfig:528:23: error: 't4A' was not declared in this scope

 tButton4.addTrack(t4A,0);

                   ^~~

controllerConfig:529:23: error: 't4B' was not declared in this scope

 tButton4.addTrack(t4B,1);

                   ^~~

controllerConfig:531:5: error: 'tButton5' was not declared in this scope

 tButton5 = new TrackButton(20,20,5);

 ^~~~~~~~

controllerConfig:531:20: error: expected type-specifier before 'TrackButton'

 tButton5 = new TrackButton(20,20,5);

                ^~~~~~~~~~~

controllerConfig:532:23: error: 't5A' was not declared in this scope

 tButton5.addTrack(t5A,0);

                   ^~~

controllerConfig:533:23: error: 't5B' was not declared in this scope

 tButton5.addTrack(t5B,1);

                   ^~~

controllerConfig:535:5: error: 'tButton6' was not declared in this scope

 tButton6 = new TrackButton(20,20,6);

 ^~~~~~~~

controllerConfig:535:20: error: expected type-specifier before 'TrackButton'

 tButton6 = new TrackButton(20,20,6);

                ^~~~~~~~~~~

controllerConfig:536:23: error: 't6A' was not declared in this scope

 tButton6.addTrack(t6A,0);

                   ^~~

controllerConfig:537:23: error: 't6B' was not declared in this scope

 tButton6.addTrack(t6B,1);

                   ^~~

controllerConfig:539:5: error: 'tButton7' was not declared in this scope

 tButton7 = new TrackButton(20,20,7);

 ^~~~~~~~

controllerConfig:539:20: error: expected type-specifier before 'TrackButton'

 tButton7 = new TrackButton(20,20,7);

                ^~~~~~~~~~~

controllerConfig:540:23: error: 't7A' was not declared in this scope

 tButton7.addTrack(t7A,0);

                   ^~~

controllerConfig:541:23: error: 't7B' was not declared in this scope

 tButton7.addTrack(t7B,1);

                   ^~~

controllerConfig:543:5: error: 'tButton8' was not declared in this scope

 tButton8 = new TrackButton(20,20,8);

 ^~~~~~~~

controllerConfig:543:20: error: expected type-specifier before 'TrackButton'

 tButton8 = new TrackButton(20,20,8);

                ^~~~~~~~~~~

controllerConfig:544:23: error: 't8A' was not declared in this scope

 tButton8.addTrack(t8A,0);

                   ^~~

controllerConfig:545:23: error: 't8B' was not declared in this scope

 tButton8.addTrack(t8B,1);

                   ^~~

controllerConfig:547:5: error: 'tButton9' was not declared in this scope

 tButton9 = new TrackButton(20,20,9);

 ^~~~~~~~

controllerConfig:547:20: error: expected type-specifier before 'TrackButton'

 tButton9 = new TrackButton(20,20,9);

                ^~~~~~~~~~~

controllerConfig:548:23: error: 't9A' was not declared in this scope

 tButton9.addTrack(t9A,0);

                   ^~~

controllerConfig:549:23: error: 't9B' was not declared in this scope

 tButton9.addTrack(t9B,1);

                   ^~~

controllerConfig:551:5: error: 'tButton10' was not declared in this scope

 tButton10 = new TrackButton(20,20,10);

 ^~~~~~~~~

controllerConfig:551:21: error: expected type-specifier before 'TrackButton'

 tButton10 = new TrackButton(20,20,10);

                 ^~~~~~~~~~~

controllerConfig:552:24: error: 't10A1' was not declared in this scope

 tButton10.addTrack(t10A1,0);

                    ^~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:552:24: note: suggested alternative: 'B101'

 tButton10.addTrack(t10A1,0);

                    ^~~~~

                    B101

controllerConfig:553:24: error: 't10A2' was not declared in this scope

 tButton10.addTrack(t10A2,0);

                    ^~~~~

controllerConfig:554:24: error: 't10A3' was not declared in this scope

 tButton10.addTrack(t10A3,0);

                    ^~~~~

controllerConfig:555:24: error: 't10A4' was not declared in this scope

 tButton10.addTrack(t10A4,0);

                    ^~~~~

controllerConfig:556:24: error: 't10B1' was not declared in this scope

 tButton10.addTrack(t10B1,1);

                    ^~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:556:24: note: suggested alternative: 'B101'

 tButton10.addTrack(t10B1,1);

                    ^~~~~

                    B101

controllerConfig:557:24: error: 't10B2' was not declared in this scope

 tButton10.addTrack(t10B2,1);

                    ^~~~~

controllerConfig:558:24: error: 't10B3' was not declared in this scope

 tButton10.addTrack(t10B3,1);

                    ^~~~~

controllerConfig:559:24: error: 't10B4' was not declared in this scope

 tButton10.addTrack(t10B4,1);

                    ^~~~~

controllerConfig:561:5: error: 'tButton20' was not declared in this scope

 tButton20 = new TrackButton(20,20,20);

 ^~~~~~~~~

controllerConfig:561:21: error: expected type-specifier before 'TrackButton'

 tButton20 = new TrackButton(20,20,20);

                 ^~~~~~~~~~~

controllerConfig:562:24: error: 't20A1' was not declared in this scope

 tButton20.addTrack(t20A1,0);

                    ^~~~~

controllerConfig:563:24: error: 't20A2' was not declared in this scope

 tButton20.addTrack(t20A2,0);

                    ^~~~~

controllerConfig:564:24: error: 't20B1' was not declared in this scope

 tButton20.addTrack(t20B1,1);

                    ^~~~~

controllerConfig:565:24: error: 't20B2' was not declared in this scope

 tButton20.addTrack(t20B2,1);

                    ^~~~~

controllerConfig:567:5: error: 'tButton30' was not declared in this scope

 tButton30 = new TrackButton(20,20,30);

 ^~~~~~~~~

controllerConfig:567:21: error: expected type-specifier before 'TrackButton'

 tButton30 = new TrackButton(20,20,30);

                 ^~~~~~~~~~~

controllerConfig:568:24: error: 't30A1' was not declared in this scope

 tButton30.addTrack(t30A1,0);

                    ^~~~~

controllerConfig:569:24: error: 't30A2' was not declared in this scope

 tButton30.addTrack(t30A2,0);

                    ^~~~~

controllerConfig:570:24: error: 't30A3' was not declared in this scope

 tButton30.addTrack(t30A3,0);

                    ^~~~~

controllerConfig:571:24: error: 't30A4' was not declared in this scope

 tButton30.addTrack(t30A4,0);

                    ^~~~~

controllerConfig:572:24: error: 't30B1' was not declared in this scope

 tButton30.addTrack(t30B1,1);

                    ^~~~~

controllerConfig:573:24: error: 't30B2' was not declared in this scope

 tButton30.addTrack(t30B2,1);

                    ^~~~~

controllerConfig:574:24: error: 't30B3' was not declared in this scope

 tButton30.addTrack(t30B3,1);

                    ^~~~~

controllerConfig:575:24: error: 't30B4' was not declared in this scope

 tButton30.addTrack(t30B4,1);

                    ^~~~~

controllerConfig:577:5: error: 'tButton40' was not declared in this scope

 tButton40 = new TrackButton(20,20,40);

 ^~~~~~~~~

controllerConfig:577:21: error: expected type-specifier before 'TrackButton'

 tButton40 = new TrackButton(20,20,40);

                 ^~~~~~~~~~~

controllerConfig:578:24: error: 't40A1' was not declared in this scope

 tButton40.addTrack(t40A1,0);

                    ^~~~~

controllerConfig:579:24: error: 't40A2' was not declared in this scope

 tButton40.addTrack(t40A2,0);

                    ^~~~~

controllerConfig:580:24: error: 't40B1' was not declared in this scope

 tButton40.addTrack(t40B1,1);

                    ^~~~~

controllerConfig:581:24: error: 't40B2' was not declared in this scope

 tButton40.addTrack(t40B2,1);

                    ^~~~~

controllerConfig:583:5: error: 'tButton50' was not declared in this scope

 tButton50 = new TrackButton(20,20,50);

 ^~~~~~~~~

controllerConfig:583:21: error: expected type-specifier before 'TrackButton'

 tButton50 = new TrackButton(20,20,50);

                 ^~~~~~~~~~~

controllerConfig:584:24: error: 't50A1' was not declared in this scope

 tButton50.addTrack(t50A1,0);

                    ^~~~~

controllerConfig:585:24: error: 't50A2' was not declared in this scope

 tButton50.addTrack(t50A2,0);

                    ^~~~~

controllerConfig:586:24: error: 't50B1' was not declared in this scope

 tButton50.addTrack(t50B1,1);

                    ^~~~~

controllerConfig:587:24: error: 't50B2' was not declared in this scope

 tButton50.addTrack(t50B2,1);

                    ^~~~~

controllerConfig:591:5: error: 'rButton1' was not declared in this scope

 rButton1 = new RouteButton(s1,20,20);

 ^~~~~~~~

controllerConfig:591:20: error: expected type-specifier before 'RouteButton'

 rButton1 = new RouteButton(s1,20,20);

                ^~~~~~~~~~~

controllerConfig:595:23: error: 'loop1A' was not declared in this scope

 rButton1.addTrack(loop1A);

                   ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:595:23: note: suggested alternative: 'loop'

 rButton1.addTrack(loop1A);

                   ^~~~~~

                   loop

controllerConfig:597:23: error: 's1A' was not declared in this scope

 rButton1.addTrack(s1A);

                   ^~~

controllerConfig:598:23: error: 's1B' was not declared in this scope

 rButton1.addTrack(s1B);

                   ^~~

controllerConfig:599:23: error: 's1C' was not declared in this scope

 rButton1.addTrack(s1C);

                   ^~~

controllerConfig:600:23: error: 's1' was not declared in this scope

 rButton1.addTrack(s1);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:600:23: note: suggested alternative: 'A1'

 rButton1.addTrack(s1);

                   ^~

                   A1

controllerConfig:602:5: error: 'rButton2' was not declared in this scope

 rButton2 = new RouteButton(s2,20,20);

 ^~~~~~~~

controllerConfig:602:20: error: expected type-specifier before 'RouteButton'

 rButton2 = new RouteButton(s2,20,20);

                ^~~~~~~~~~~

controllerConfig:608:23: error: 's2_3_4_5A' was not declared in this scope

 rButton2.addTrack(s2_3_4_5A);

                   ^~~~~~~~~

controllerConfig:610:23: error: 's2A' was not declared in this scope

 rButton2.addTrack(s2A);

                   ^~~

controllerConfig:611:23: error: 's2B' was not declared in this scope

 rButton2.addTrack(s2B);

                   ^~~

controllerConfig:612:23: error: 's2C' was not declared in this scope

 rButton2.addTrack(s2C);

                   ^~~

controllerConfig:613:23: error: 's2D' was not declared in this scope

 rButton2.addTrack(s2D);

                   ^~~

controllerConfig:614:23: error: 's2' was not declared in this scope

 rButton2.addTrack(s2);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:614:23: note: suggested alternative: 'A2'

 rButton2.addTrack(s2);

                   ^~

                   A2

controllerConfig:616:5: error: 'rButton3' was not declared in this scope

 rButton3 = new RouteButton(s3,20,20);

 ^~~~~~~~

controllerConfig:616:20: error: expected type-specifier before 'RouteButton'

 rButton3 = new RouteButton(s3,20,20);

                ^~~~~~~~~~~

controllerConfig:626:23: error: 's3A' was not declared in this scope

 rButton3.addTrack(s3A);

                   ^~~

controllerConfig:627:23: error: 's3' was not declared in this scope

 rButton3.addTrack(s3);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:627:23: note: suggested alternative: 'A3'

 rButton3.addTrack(s3);

                   ^~

                   A3

controllerConfig:629:5: error: 'rButton4' was not declared in this scope

 rButton4 = new RouteButton(s4,20,20);

 ^~~~~~~~

controllerConfig:629:20: error: expected type-specifier before 'RouteButton'

 rButton4 = new RouteButton(s4,20,20);

                ^~~~~~~~~~~

controllerConfig:641:23: error: 's4A' was not declared in this scope

 rButton4.addTrack(s4A);

                   ^~~

controllerConfig:642:23: error: 's4' was not declared in this scope

 rButton4.addTrack(s4);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:642:23: note: suggested alternative: 'A4'

 rButton4.addTrack(s4);

                   ^~

                   A4

controllerConfig:644:5: error: 'rButton5' was not declared in this scope

 rButton5 = new RouteButton(s5,20,20);

 ^~~~~~~~

controllerConfig:644:20: error: expected type-specifier before 'RouteButton'

 rButton5 = new RouteButton(s5,20,20);

                ^~~~~~~~~~~

controllerConfig:656:23: error: 's5A' was not declared in this scope

 rButton5.addTrack(s5A);

                   ^~~

controllerConfig:657:23: error: 's5B' was not declared in this scope

 rButton5.addTrack(s5B);

                   ^~~

controllerConfig:658:23: error: 's5' was not declared in this scope

 rButton5.addTrack(s5);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:658:23: note: suggested alternative: 'A5'

 rButton5.addTrack(s5);

                   ^~

                   A5

controllerConfig:660:5: error: 'rButton6' was not declared in this scope

 rButton6 = new RouteButton(s6,20,20);

 ^~~~~~~~

controllerConfig:660:20: error: expected type-specifier before 'RouteButton'

 rButton6 = new RouteButton(s6,20,20);

                ^~~~~~~~~~~

controllerConfig:665:23: error: 'rLoopA' was not declared in this scope

 rButton6.addTrack(rLoopA);

                   ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:665:23: note: suggested alternative: 'loop'

 rButton6.addTrack(rLoopA);

                   ^~~~~~

                   loop

controllerConfig:666:23: error: 'rLoopB' was not declared in this scope

 rButton6.addTrack(rLoopB);

                   ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:666:23: note: suggested alternative: 'loop'

 rButton6.addTrack(rLoopB);

                   ^~~~~~

                   loop

controllerConfig:667:23: error: 's6A' was not declared in this scope

 rButton6.addTrack(s6A);

                   ^~~

controllerConfig:668:23: error: 's6B' was not declared in this scope

 rButton6.addTrack(s6B);

                   ^~~

controllerConfig:669:23: error: 's6C' was not declared in this scope

 rButton6.addTrack(s6C);

                   ^~~

controllerConfig:670:23: error: 's6D' was not declared in this scope

 rButton6.addTrack(s6D);

                   ^~~

controllerConfig:671:23: error: 's6' was not declared in this scope

 rButton6.addTrack(s6);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:671:23: note: suggested alternative: 'A6'

 rButton6.addTrack(s6);

                   ^~

                   A6

controllerConfig:673:5: error: 'rButton7' was not declared in this scope

 rButton7 = new RouteButton(s7,20,20);

 ^~~~~~~~

controllerConfig:673:20: error: expected type-specifier before 'RouteButton'

 rButton7 = new RouteButton(s7,20,20);

                ^~~~~~~~~~~

controllerConfig:679:23: error: 's7A' was not declared in this scope

 rButton7.addTrack(s7A);

                   ^~~

controllerConfig:680:23: error: 's7B' was not declared in this scope

 rButton7.addTrack(s7B);

                   ^~~

controllerConfig:681:23: error: 's7C' was not declared in this scope

 rButton7.addTrack(s7C);

                   ^~~

controllerConfig:682:23: error: 's7D' was not declared in this scope

 rButton7.addTrack(s7D);

                   ^~~

controllerConfig:683:23: error: 's7E' was not declared in this scope

 rButton7.addTrack(s7E);

                   ^~~

controllerConfig:684:23: error: 's7' was not declared in this scope

 rButton7.addTrack(s7);

                   ^~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:684:23: note: suggested alternative: 'A7'

 rButton7.addTrack(s7);

                   ^~

                   A7

controllerConfig:685:23: error: 'loop3D' was not declared in this scope

 rButton7.addTrack(loop3D);

                   ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:685:23: note: suggested alternative: 'loop'

 rButton7.addTrack(loop3D);

                   ^~~~~~

                   loop

controllerConfig:687:5: error: 'rButton10' was not declared in this scope

 rButton10 = new RouteButton(rX,rY,80,40,"Inner\nLoop");

 ^~~~~~~~~

controllerConfig:687:21: error: expected type-specifier before 'RouteButton'

 rButton10 = new RouteButton(rX,rY,80,40,"Inner\nLoop");

                 ^~~~~~~~~~~

controllerConfig:698:24: error: 'loop1B' was not declared in this scope

 rButton10.addTrack(loop1B);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:698:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1B);

                    ^~~~~~

                    loop

controllerConfig:699:24: error: 'loop1C' was not declared in this scope

 rButton10.addTrack(loop1C);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:699:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1C);

                    ^~~~~~

                    loop

controllerConfig:700:24: error: 'loop1D' was not declared in this scope

 rButton10.addTrack(loop1D);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:700:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1D);

                    ^~~~~~

                    loop

controllerConfig:701:24: error: 'loop1E' was not declared in this scope

 rButton10.addTrack(loop1E);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:701:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1E);

                    ^~~~~~

                    loop

controllerConfig:702:24: error: 'loop1F' was not declared in this scope

 rButton10.addTrack(loop1F);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:702:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1F);

                    ^~~~~~

                    loop

controllerConfig:703:24: error: 'loop1G' was not declared in this scope

 rButton10.addTrack(loop1G);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:703:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1G);

                    ^~~~~~

                    loop

controllerConfig:704:24: error: 'loop1H' was not declared in this scope

 rButton10.addTrack(loop1H);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:704:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1H);

                    ^~~~~~

                    loop

controllerConfig:705:24: error: 'loop1I' was not declared in this scope

 rButton10.addTrack(loop1I);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:705:24: note: suggested alternative: 'loop'

 rButton10.addTrack(loop1I);

                    ^~~~~~

                    loop

controllerConfig:707:5: error: 'rButton11' was not declared in this scope

 rButton11 = new RouteButton(rX+200,rY,80,40,"Middle\nLoop");

 ^~~~~~~~~

controllerConfig:707:21: error: expected type-specifier before 'RouteButton'

 rButton11 = new RouteButton(rX+200,rY,80,40,"Middle\nLoop");

                 ^~~~~~~~~~~

controllerConfig:716:24: error: 'loop2A' was not declared in this scope

 rButton11.addTrack(loop2A);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:716:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2A);

                    ^~~~~~

                    loop

controllerConfig:717:24: error: 'loop2B' was not declared in this scope

 rButton11.addTrack(loop2B);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:717:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2B);

                    ^~~~~~

                    loop

controllerConfig:718:24: error: 'loop2C' was not declared in this scope

 rButton11.addTrack(loop2C);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:718:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2C);

                    ^~~~~~

                    loop

controllerConfig:719:24: error: 'loop2D' was not declared in this scope

 rButton11.addTrack(loop2D);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:719:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2D);

                    ^~~~~~

                    loop

controllerConfig:720:24: error: 'loop2E' was not declared in this scope

 rButton11.addTrack(loop2E);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:720:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2E);

                    ^~~~~~

                    loop

controllerConfig:721:24: error: 'loop2F' was not declared in this scope

 rButton11.addTrack(loop2F);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:721:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2F);

                    ^~~~~~

                    loop

controllerConfig:722:24: error: 'loop2G' was not declared in this scope

 rButton11.addTrack(loop2G);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:722:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2G);

                    ^~~~~~

                    loop

controllerConfig:723:24: error: 'loop2H' was not declared in this scope

 rButton11.addTrack(loop2H);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:723:24: note: suggested alternative: 'loop'

 rButton11.addTrack(loop2H);

                    ^~~~~~

                    loop

controllerConfig:725:5: error: 'rButton12' was not declared in this scope

 rButton12 = new RouteButton(rX+400,rY,80,40,"Outer\nLoop");

 ^~~~~~~~~

controllerConfig:725:21: error: expected type-specifier before 'RouteButton'

 rButton12 = new RouteButton(rX+400,rY,80,40,"Outer\nLoop");

                 ^~~~~~~~~~~

controllerConfig:734:24: error: 'loop3A' was not declared in this scope

 rButton12.addTrack(loop3A);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:734:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3A);

                    ^~~~~~

                    loop

controllerConfig:735:24: error: 'loop3B' was not declared in this scope

 rButton12.addTrack(loop3B);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:735:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3B);

                    ^~~~~~

                    loop

controllerConfig:736:24: error: 'loop3C' was not declared in this scope

 rButton12.addTrack(loop3C);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:736:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3C);

                    ^~~~~~

                    loop

controllerConfig:738:24: error: 'loop3E' was not declared in this scope

 rButton12.addTrack(loop3E);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:738:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3E);

                    ^~~~~~

                    loop

controllerConfig:739:24: error: 'loop3F' was not declared in this scope

 rButton12.addTrack(loop3F);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:739:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3F);

                    ^~~~~~

                    loop

controllerConfig:740:24: error: 'loop3G' was not declared in this scope

 rButton12.addTrack(loop3G);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:740:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3G);

                    ^~~~~~

                    loop

controllerConfig:741:24: error: 'loop3H' was not declared in this scope

 rButton12.addTrack(loop3H);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:741:24: note: suggested alternative: 'loop'

 rButton12.addTrack(loop3H);

                    ^~~~~~

                    loop

controllerConfig:743:5: error: 'rButton13' was not declared in this scope

 rButton13 = new RouteButton(rX+100,rY,80,40,"Inner/Mid");

 ^~~~~~~~~

controllerConfig:743:21: error: expected type-specifier before 'RouteButton'

 rButton13 = new RouteButton(rX+100,rY,80,40,"Inner/Mid");

                 ^~~~~~~~~~~

controllerConfig:761:24: error: 'loop1A2A' was not declared in this scope

 rButton13.addTrack(loop1A2A);

                    ^~~~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:761:24: note: suggested alternative: 'loop'

 rButton13.addTrack(loop1A2A);

                    ^~~~~~~~

                    loop

controllerConfig:763:5: error: 'rButton14' was not declared in this scope

 rButton14 = new RouteButton(rX+300,rY,80,40,"Mid/Outer");

 ^~~~~~~~~

controllerConfig:763:21: error: expected type-specifier before 'RouteButton'

 rButton14 = new RouteButton(rX+300,rY,80,40,"Mid/Outer");

                 ^~~~~~~~~~~

controllerConfig:773:24: error: 'loop2A3A' was not declared in this scope

 rButton14.addTrack(loop2A3A);

                    ^~~~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:773:24: note: suggested alternative: 'loop'

 rButton14.addTrack(loop2A3A);

                    ^~~~~~~~

                    loop

controllerConfig:784:5: error: 'rButtonR1' was not declared in this scope

 rButtonR1 = new RouteButton(rX,rY+60,80,40,"Reverse+");

 ^~~~~~~~~

controllerConfig:784:21: error: expected type-specifier before 'RouteButton'

 rButtonR1 = new RouteButton(rX,rY+60,80,40,"Reverse+");

                 ^~~~~~~~~~~

controllerConfig:794:5: error: 'rButtonR2' was not declared in this scope

 rButtonR2 = new RouteButton(rX+100,rY+60,80,40,"Reverse-");

 ^~~~~~~~~

controllerConfig:794:21: error: expected type-specifier before 'RouteButton'

 rButtonR2 = new RouteButton(rX+100,rY+60,80,40,"Reverse-");

                 ^~~~~~~~~~~

controllerConfig:801:24: error: 'rLoopC' was not declared in this scope

 rButtonR2.addTrack(rLoopC);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:801:24: note: suggested alternative: 'loop'

 rButtonR2.addTrack(rLoopC);

                    ^~~~~~

                    loop

controllerConfig:802:24: error: 'rLoopD' was not declared in this scope

 rButtonR2.addTrack(rLoopD);

                    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\controllerConfig.ino:802:24: note: suggested alternative: 'loop'

 rButtonR2.addTrack(rLoopD);

                    ^~~~~~

                    loop

controllerConfig:804:5: error: 'rButton15' was not declared in this scope

 rButton15 = new RouteButton(rX+200,rY+60,80,40,"Mid+Outer");

 ^~~~~~~~~

controllerConfig:804:21: error: expected type-specifier before 'RouteButton'

 rButton15 = new RouteButton(rX+200,rY+60,80,40,"Mid+Outer");

                 ^~~~~~~~~~~

controllerConfig:837:5: error: 'rButton16' was not declared in this scope

 rButton16 = new RouteButton(rX+300,rY+60,80,40,"In+Outer");

 ^~~~~~~~~

controllerConfig:837:21: error: expected type-specifier before 'RouteButton'

 rButton16 = new RouteButton(rX+300,rY+60,80,40,"In+Outer");

                 ^~~~~~~~~~~

controllerConfig:875:5: error: 'rButton17' was not declared in this scope

 rButton17 = new RouteButton(rX,rY+120,80,40,"Double X");

 ^~~~~~~~~

controllerConfig:875:21: error: expected type-specifier before 'RouteButton'

 rButton17 = new RouteButton(rX,rY+120,80,40,"Double X");

                 ^~~~~~~~~~~

controllerConfig:908:24: error: 'bridgeA' was not declared in this scope

 rButton17.addTrack(bridgeA);

                    ^~~~~~~

controllerConfig:909:24: error: 'bridgeB' was not declared in this scope

 rButton17.addTrack(bridgeB);

                    ^~~~~~~

controllerConfig:910:24: error: 'bridgeC' was not declared in this scope

 rButton17.addTrack(bridgeC);

                    ^~~~~~~

controllerConfig:911:24: error: 'bridgeD' was not declared in this scope

 rButton17.addTrack(bridgeD);

                    ^~~~~~~

controllerConfig:912:24: error: 'bridgeE' was not declared in this scope

 rButton17.addTrack(bridgeE);

                    ^~~~~~~

controllerConfig:913:24: error: 'bridgeF' was not declared in this scope

 rButton17.addTrack(bridgeF);

                    ^~~~~~~

controllerConfig:914:24: error: 'bridgeG' was not declared in this scope

 rButton17.addTrack(bridgeG);

                    ^~~~~~~

controllerConfig:915:24: error: 'bridgeH' was not declared in this scope

 rButton17.addTrack(bridgeH);

                    ^~~~~~~

controllerConfig:916:24: error: 'bridgeI' was not declared in this scope

 rButton17.addTrack(bridgeI);

                    ^~~~~~~

controllerConfig:918:5: error: 'rButtonSpiral' was not declared in this scope

 rButtonSpiral = new RouteButton(rX+100,rY+120,80,40,"Spiral");

 ^~~~~~~~~~~~~

controllerConfig:918:25: error: expected type-specifier before 'RouteButton'

 rButtonSpiral = new RouteButton(rX+100,rY+120,80,40,"Spiral");

                     ^~~~~~~~~~~

controllerConfig:975:5: error: 'rButtonReset' was not declared in this scope

 rButtonReset = new RouteButton(rX+400,rY+120,80,40,"RESET");

 ^~~~~~~~~~~~

controllerConfig:975:24: error: expected type-specifier before 'RouteButton'

 rButtonReset = new RouteButton(rX+400,rY+120,80,40,"RESET");

                    ^~~~~~~~~~~

controllerConfig:1014:5: error: 'rButtonBridge' was not declared in this scope

 rButtonBridge = new RouteButton(bridgeA,20,20);

 ^~~~~~~~~~~~~

controllerConfig:1014:25: error: expected type-specifier before 'RouteButton'

 rButtonBridge = new RouteButton(bridgeA,20,20);

                     ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\coreComponents.ino: At global scope:

coreComponents:40:27: error: expected initializer before 'RectButton'

class PowerButton extends RectButton{

                       ^~~~~~~~~~

coreComponents:75:28: error: expected initializer before 'DccComponent'

class CurrentMeter extends DccComponent{

                        ^~~~~~~~~~~~

coreComponents:138:31: error: expected initializer before 'EllipseButton'

class AccessoryButton extends EllipseButton{

                           ^~~~~~~~~~~~~

coreComponents:171:26: error: expected initializer before 'RectButton'

class QuitButton extends RectButton{

                      ^~~~~~~~~~

coreComponents:194:26: error: expected initializer before 'EllipseButton'

class HelpButton extends EllipseButton{

                      ^~~~~~~~~~~~~

coreComponents:217:33: error: expected initializer before 'RectButton'

class CleaningCarButton extends RectButton{

                             ^~~~~~~~~~

coreComponents:258:30: error: expected initializer before 'DccComponent'

class LEDColorButton extends DccComponent{

                          ^~~~~~~~~~~~

coreComponents:309:30: error: expected initializer before 'DccComponent'

class LEDValSelector extends DccComponent{

                          ^~~~~~~~~~~~

coreComponents:392:32: error: expected initializer before 'DccComponent'

class LEDColorSelector extends DccComponent{

                            ^~~~~~~~~~~~

dCabs:67:24: error: expected initializer before 'DccComponent'

class Throttle extends DccComponent{

                    ^~~~~~~~~~~~

dCabs:192:25: error: expected initializer before 'RectButton'

class CabButton extends RectButton{

                     ^~~~~~~~~~

dCabs:386:30: error: expected initializer before 'RectButton'

class FunctionButton extends RectButton{

                          ^~~~~~~~~~

dCabs:511:35: error: expected initializer before 'RectButton'

class NextFunctionsButton extends RectButton{

                               ^~~~~~~~~~

dRoutes:21:27: error: expected initializer before 'DccComponent'

class RouteButton extends DccComponent{

                       ^~~~~~~~~~~~

dSensors:28:31: error: expected initializer before 'RectButton'

class AutoPilotButton extends RectButton{

                           ^~~~~~~~~~

dSensors:710:27: error: expected initializer before 'Track'

class TrackSensor extends Track{

                       ^~~~~

dTracks:25:23: error: invalid constructor; you probably meant 'Layout (const Layout&)'

Layout(Layout layout){

                   ^

dTracks:41:2: error: expected ';' after class definition

} // Layout Class

^

;

C:\Users\i50fw\DCCpp_Controller\dTracks.ino: In constructor 'Layout::Layout(int, int, int, float, float)':

dTracks:20:10: error: request for member 'xCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 this.xCorner=xCorner;

      ^~~~~~~

dTracks:21:10: error: request for member 'yCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 this.yCorner=yCorner;

      ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\dTracks.ino: In member function 'void Layout::copy(Layout)':

dTracks:32:10: error: request for member 'xCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 this.xCorner=layout.xCorner;

      ^~~~~~~

dTracks:33:10: error: request for member 'yCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 this.yCorner=layout.yCorner;

      ^~~~~~~

dTracks:34:10: error: request for member 'sFactor' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 this.sFactor=layout.sFactor;

      ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\dTracks.ino: In member function 'boolean Layout::equals(Layout)':

dTracks:38:18: error: request for member 'xCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 return((this.xCorner==layout.xCorner)&&(this.yCorner==layout.yCorner)&&(this.sFactor==layout.sFactor));

              ^~~~~~~

dTracks:38:50: error: request for member 'yCorner' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 return((this.xCorner==layout.xCorner)&&(this.yCorner==layout.yCorner)&&(this.sFactor==layout.sFactor));

                                              ^~~~~~~

dTracks:38:82: error: request for member 'sFactor' in '(Layout*)this', which is of pointer type 'Layout*' (maybe you meant to use '->' ?)

 return((this.xCorner==layout.xCorner)&&(this.yCorner==layout.yCorner)&&(this.sFactor==layout.sFactor));

                                                                              ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\dTracks.ino: At global scope:

dTracks:45:21: error: expected initializer before 'DccComponent'

class Track extends DccComponent{

                 ^~~~~~~~~~~~

dTurnouts:46:27: error: expected initializer before 'DccComponent'

class TrackButton extends DccComponent{

                       ^~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void mouseDragged()':

eventHandlers:11:6: error: 'selectedComponent' was not declared in this scope

if(selectedComponent!=null)

  ^~~~~~~~~~~~~~~~~

eventHandlers:11:25: error: 'null' was not declared in this scope

if(selectedComponent!=null)

                     ^~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void mousePressed()':

eventHandlers:19:6: error: 'activeInputBox' was not declared in this scope

if(activeInputBox!=null){

  ^~~~~~~~~~~~~~

eventHandlers:19:22: error: 'null' was not declared in this scope

if(activeInputBox!=null){

                  ^~~~

eventHandlers:20:9: error: 'InputBox' was not declared in this scope

 for(InputBox inputBox : activeInputBox.linkedBoxes)

     ^~~~~~~~

eventHandlers:22:3: error: expected primary-expression before '}' token

}

^

eventHandlers:22:3: error: expected ';' before '}' token

eventHandlers:22:3: error: expected primary-expression before '}' token

eventHandlers:22:3: error: expected ')' before '}' token

eventHandlers:22:3: error: expected primary-expression before '}' token

eventHandlers:24:3: error: 'activeInputBox' was not declared in this scope

activeInputBox=null;

^~~~~~~~~~~~~~

eventHandlers:24:18: error: 'null' was not declared in this scope

activeInputBox=null;

              ^~~~

eventHandlers:25:6: error: 'selectedComponent' was not declared in this scope

if(selectedComponent!=null){

  ^~~~~~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:26:23: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]

 if (keyPressed == true && key == CODED){

                   ^~~~

eventHandlers:26:31: error: 'key' was not declared in this scope

 if (keyPressed == true && key == CODED){

                           ^~~

eventHandlers:26:38: error: 'CODED' was not declared in this scope

 if (keyPressed == true && key == CODED){

                                  ^~~~~

eventHandlers:27:10: error: 'keyCode' was not declared in this scope

   if(keyCode == SHIFT){

      ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:27:10: note: suggested alternative: 'keyHold'

   if(keyCode == SHIFT){

      ^~~~~~~

      keyHold

eventHandlers:27:21: error: 'SHIFT' was not declared in this scope

   if(keyCode == SHIFT){

                 ^~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:27:21: note: suggested alternative: 'SPIF'

   if(keyCode == SHIFT){

                 ^~~~~

                 SPIF

eventHandlers:29:28: error: 'CONTROL' was not declared in this scope

   } else if(keyCode == CONTROL){

                        ^~~~~~~

eventHandlers:30:11: error: 'msgBoxMain' was not declared in this scope

       msgBoxMain.setMessage("Component Name: "+selectedComponent.componentName,color(30,30,150));

       ^~~~~~~~~~

eventHandlers:30:84: error: 'color' was not declared in this scope

       msgBoxMain.setMessage("Component Name: "+selectedComponent.componentName,color(30,30,150));

                                                                                ^~~~~

eventHandlers:33:13: error: 'mouseButton' was not declared in this scope

 else if(mouseButton==LEFT){

         ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:33:13: note: suggested alternative: 'RouteButton'

 else if(mouseButton==LEFT){

         ^~~~~~~~~~~

         RouteButton

eventHandlers:33:26: error: 'LEFT' was not declared in this scope

 else if(mouseButton==LEFT){

                      ^~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void mouseReleased()':

eventHandlers:45:6: error: 'selectedComponent' was not declared in this scope

if(selectedComponent!=null)

  ^~~~~~~~~~~~~~~~~

eventHandlers:45:25: error: 'null' was not declared in this scope

if(selectedComponent!=null)

                     ^~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void keyPressed()':

eventHandlers:52:14: error: 'key' was not declared in this scope

keyCommand(key, keyCode);

          ^~~

eventHandlers:52:19: error: 'keyCode' was not declared in this scope

keyCommand(key, keyCode);

               ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:52:19: note: suggested alternative: 'keyHold'

keyCommand(key, keyCode);

               ^~~~~~~

               keyHold

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void keyReleased()':

eventHandlers:58:22: error: 'key' was not declared in this scope

keyCommandReleased(key, keyCode);

                  ^~~

eventHandlers:58:27: error: 'keyCode' was not declared in this scope

keyCommandReleased(key, keyCode);

                       ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:58:27: note: suggested alternative: 'keyHold'

keyCommandReleased(key, keyCode);

                       ^~~~~~~

                       keyHold

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: At global scope:

eventHandlers:63:18: error: variable or field 'serialEvent' declared void

void serialEvent(Serial p){

              ^~~~~~

eventHandlers:63:25: error: expected ')' before 'p'

void serialEvent(Serial p){

                     ^

eventHandlers:69:18: error: variable or field 'clientEvent' declared void

void clientEvent(Client c){

              ^~~~~~

eventHandlers:69:18: error: 'Client' was not declared in this scope

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:69:18: note: suggested alternative: 'Print'

void clientEvent(Client c){

              ^~~~~~

              Print

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void receivedString(String)':

eventHandlers:88:9: error: 'msgBoxMain' was not declared in this scope

     msgBoxMain.setMessage("Found "+baseID,color(0,150,0));

     ^~~~~~~~~~

eventHandlers:88:47: error: 'color' was not declared in this scope

     msgBoxMain.setMessage("Found "+baseID,color(0,150,0));

                                           ^~~~~

eventHandlers:92:9: error: 'msgBoxDiagIn' was not declared in this scope

     msgBoxDiagIn.setMessage(c,color(30,30,150));

     ^~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:96:15: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     String[] cs=splitTokens(c,"|");

           ^

eventHandlers:96:15: error: decomposition declaration cannot be declared with type 'String'

     String[] cs=splitTokens(c,"|");

           ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:96:15: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

eventHandlers:96:15: error: empty decomposition declaration

eventHandlers:96:18: error: expected initializer before 'cs'

     String[] cs=splitTokens(c,"|");

              ^~

eventHandlers:97:9: error: 'callBacks' was not declared in this scope

     callBacks.get(int(cs[0])).execute(int(cs[1]),cs[2]);

     ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:97:9: note: suggested alternative: 'calloc'

     callBacks.get(int(cs[0])).execute(int(cs[1]),cs[2]);

     ^~~~~~~~~

     calloc

eventHandlers:97:27: error: 'cs' was not declared in this scope

     callBacks.get(int(cs[0])).execute(int(cs[1]),cs[2]);

                       ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:97:27: note: suggested alternative: 'c'

     callBacks.get(int(cs[0])).execute(int(cs[1]),cs[2]);

                       ^~

                       c

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:101:12: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     int[] n=int(splitTokens(c));

        ^

eventHandlers:101:12: error: decomposition declaration cannot be declared with type 'int'

     int[] n=int(splitTokens(c));

        ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:101:12: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

eventHandlers:101:12: error: empty decomposition declaration

eventHandlers:101:15: error: expected initializer before 'n'

     int[] n=int(splitTokens(c));

           ^

eventHandlers:102:12: error: 'n' was not declared in this scope

     if(n[0]>cabButtons.size())

        ^

eventHandlers:102:17: error: 'cabButtons' was not declared in this scope

     if(n[0]>cabButtons.size())

             ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:102:17: note: suggested alternative: 'CabButton'

     if(n[0]>cabButtons.size())

             ^~~~~~~~~~

             CabButton

eventHandlers:104:19: error: variable 'CabButton t' has initializer but incomplete type

     CabButton t=cabButtons.get(n[0]-1);

               ^

eventHandlers:104:21: error: 'cabButtons' was not declared in this scope

     CabButton t=cabButtons.get(n[0]-1);

                 ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:104:21: note: suggested alternative: 'CabButton'

     CabButton t=cabButtons.get(n[0]-1);

                 ^~~~~~~~~~

                 CabButton

eventHandlers:104:36: error: 'n' was not declared in this scope

     CabButton t=cabButtons.get(n[0]-1);

                                ^

eventHandlers:112:12: error: 'sensorsHM' was not declared in this scope

     if(sensorsHM.get(int(c))!=null){

        ^~~~~~~~~

eventHandlers:112:31: error: invalid cast from type 'String' to type 'int'

     if(sensorsHM.get(int(c))!=null){

                           ^

eventHandlers:112:35: error: 'null' was not declared in this scope

     if(sensorsHM.get(int(c))!=null){

                               ^~~~

eventHandlers:113:30: error: invalid cast from type 'String' to type 'int'

       sensorsHM.get(int(c)).pressed();

                          ^

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:118:12: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     int[] h1=int(splitTokens(c));

        ^

eventHandlers:118:12: error: decomposition declaration cannot be declared with type 'int'

     int[] h1=int(splitTokens(c));

        ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:118:12: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

eventHandlers:118:12: error: empty decomposition declaration

eventHandlers:118:15: error: expected initializer before 'h1'

     int[] h1=int(splitTokens(c));

           ^~

eventHandlers:119:12: error: 'remoteButtonsHM' was not declared in this scope

     if(remoteButtonsHM.get(h1[0])!=null){

        ^~~~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:119:12: note: suggested alternative: 'RouteButton'

     if(remoteButtonsHM.get(h1[0])!=null){

        ^~~~~~~~~~~~~~~

        RouteButton

eventHandlers:119:32: error: 'h1' was not declared in this scope

     if(remoteButtonsHM.get(h1[0])!=null){

                            ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:119:32: note: suggested alternative: 'A1'

     if(remoteButtonsHM.get(h1[0])!=null){

                            ^~

                            A1

eventHandlers:119:40: error: 'null' was not declared in this scope

     if(remoteButtonsHM.get(h1[0])!=null){

                                    ^~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:128:12: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     int[] h=int(splitTokens(c));

        ^

eventHandlers:128:12: error: decomposition declaration cannot be declared with type 'int'

     int[] h=int(splitTokens(c));

        ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:128:12: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

eventHandlers:128:12: error: empty decomposition declaration

eventHandlers:128:15: error: expected initializer before 'h'

     int[] h=int(splitTokens(c));

           ^

eventHandlers:130:12: error: 'trackButtonsHM' was not declared in this scope

     if(trackButtonsHM.get(h[0])!=null){

        ^~~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:130:12: note: suggested alternative: 'TrackButton'

     if(trackButtonsHM.get(h[0])!=null){

        ^~~~~~~~~~~~~~

        TrackButton

eventHandlers:130:31: error: 'h' was not declared in this scope

     if(trackButtonsHM.get(h[0])!=null){

                           ^

eventHandlers:130:38: error: 'null' was not declared in this scope

     if(trackButtonsHM.get(h[0])!=null){

                                  ^~~~

eventHandlers:132:19: error: 'remoteButtonsHM' was not declared in this scope

     } else if(remoteButtonsHM.get(h[0])!=null){

               ^~~~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:132:19: note: suggested alternative: 'RouteButton'

     } else if(remoteButtonsHM.get(h[0])!=null){

               ^~~~~~~~~~~~~~~

               RouteButton

eventHandlers:133:60: error: 'ButtonType' was not declared in this scope

       if(h[1]==((remoteButtonsHM.get(h[0]).buttonType==ButtonType.T_COMMAND)?1:0))

                                                        ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:133:60: note: suggested alternative: 'cursorType'

       if(h[1]==((remoteButtonsHM.get(h[0]).buttonType==ButtonType.T_COMMAND)?1:0))

                                                        ^~~~~~~~~~

                                                        cursorType

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:142:12: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     int[] z=int(splitTokens(c));

        ^

eventHandlers:142:12: error: decomposition declaration cannot be declared with type 'int'

     int[] z=int(splitTokens(c));

        ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:142:12: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

eventHandlers:142:12: error: empty decomposition declaration

eventHandlers:142:15: error: expected initializer before 'z'

     int[] z=int(splitTokens(c));

           ^

eventHandlers:143:15: error: expected ';' before 'tempColor'

     color tempColor;

           ^~~~~~~~~

eventHandlers:144:9: error: 'tempColor' was not declared in this scope

     tempColor=color(z[0],z[1],z[2]);

     ^~~~~~~~~

eventHandlers:144:25: error: 'z' was not declared in this scope

     tempColor=color(z[0],z[1],z[2]);

                     ^

eventHandlers:145:19: error: 'HSB' was not declared in this scope

     colorMode(HSB,1.0,1.0,1.0);

               ^~~

eventHandlers:145:9: error: 'colorMode' was not declared in this scope

     colorMode(HSB,1.0,1.0,1.0);

     ^~~~~~~~~

eventHandlers:146:9: error: 'ledColorButton' was not declared in this scope

     ledColorButton.hue=hue(tempColor);

     ^~~~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:146:9: note: suggested alternative: 'LEDColorButton'

     ledColorButton.hue=hue(tempColor);

     ^~~~~~~~~~~~~~

     LEDColorButton

eventHandlers:146:28: error: 'hue' was not declared in this scope

     ledColorButton.hue=hue(tempColor);

                        ^~~

eventHandlers:147:28: error: 'saturation' was not declared in this scope

     ledColorButton.sat=saturation(tempColor);

                        ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:147:28: note: suggested alternative: 'strtok'

     ledColorButton.sat=saturation(tempColor);

                        ^~~~~~~~~~

                        strtok

eventHandlers:148:28: error: 'brightness' was not declared in this scope

     ledColorButton.val=brightness(tempColor);

                        ^~~~~~~~~~

eventHandlers:150:19: error: 'RGB' was not declared in this scope

     colorMode(RGB,255);

               ^~~

eventHandlers:154:9: error: 'autoPilot' was not declared in this scope

     autoPilot.cabList.clear();

     ^~~~~~~~~

eventHandlers:155:30: error: 'AutoProgram' was not declared in this scope

     autoPilot.setProgram(AutoProgram.SINGLE_CAB_RUN);

                          ^~~~~~~~~~~

eventHandlers:161:11: error: 'powerButton' was not declared in this scope

       powerButton.isOn=true;

       ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:161:11: note: suggested alternative: 'PowerButton'

       powerButton.isOn=true;

       ^~~~~~~~~~~

       PowerButton

eventHandlers:164:11: error: 'powerButton' was not declared in this scope

       powerButton.isOn=false;

       ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:164:11: note: suggested alternative: 'PowerButton'

       powerButton.isOn=false;

       ^~~~~~~~~~~

       PowerButton

eventHandlers:168:11: error: 'powerButton' was not declared in this scope

       powerButton.isOn=false;

       ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:168:11: note: suggested alternative: 'PowerButton'

       powerButton.isOn=false;

       ^~~~~~~~~~~

       PowerButton

eventHandlers:171:11: error: 'powerButton' was not declared in this scope

       powerButton.isOn=false;

       ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:171:11: note: suggested alternative: 'PowerButton'

       powerButton.isOn=false;

       ^~~~~~~~~~~

       PowerButton

eventHandlers:176:9: error: 'currentMeter' was not declared in this scope

     currentMeter.addSample(int(c));

     ^~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:176:9: note: suggested alternative: 'CurrentMeter'

     currentMeter.addSample(int(c));

     ^~~~~~~~~~~~

     CurrentMeter

eventHandlers:176:37: error: invalid cast from type 'String' to type 'int'

     currentMeter.addSample(int(c));

                                 ^

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void keyCommand(char, int)':

eventHandlers:186:8: error: 'activeInputBox' was not declared in this scope

 if(activeInputBox!=null){

    ^~~~~~~~~~~~~~

eventHandlers:186:24: error: 'null' was not declared in this scope

 if(activeInputBox!=null){

                    ^~~~

eventHandlers:191:11: error: 'CODED' was not declared in this scope

 if(k==CODED){

       ^~~~~

eventHandlers:193:14: error: 'UP' was not declared in this scope

     case UP:

          ^~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:193:14: note: suggested alternative: 'SP'

     case UP:

          ^~

          SP

eventHandlers:194:14: error: 'throttleA' was not declared in this scope

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:194:14: note: suggested alternative: 'Throttle'

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

          Throttle

eventHandlers:194:35: error: 'null' was not declared in this scope

       if(throttleA.cabButton!=null){

                               ^~~~

eventHandlers:200:14: error: 'DOWN' was not declared in this scope

     case DOWN:

          ^~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:200:14: note: suggested alternative: 'DOR1'

     case DOWN:

          ^~~~

          DOR1

eventHandlers:201:14: error: 'throttleA' was not declared in this scope

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:201:14: note: suggested alternative: 'Throttle'

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

          Throttle

eventHandlers:201:35: error: 'null' was not declared in this scope

       if(throttleA.cabButton!=null){

                               ^~~~

eventHandlers:207:14: error: 'LEFT' was not declared in this scope

     case LEFT:

          ^~~~

eventHandlers:208:14: error: 'throttleA' was not declared in this scope

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:208:14: note: suggested alternative: 'Throttle'

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

          Throttle

eventHandlers:208:35: error: 'null' was not declared in this scope

       if(throttleA.cabButton!=null){

                               ^~~~

eventHandlers:212:14: error: 'RIGHT' was not declared in this scope

     case RIGHT:

          ^~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:212:14: note: suggested alternative: 'HIGH'

     case RIGHT:

          ^~~~~

          HIGH

eventHandlers:213:14: error: 'throttleA' was not declared in this scope

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:213:14: note: suggested alternative: 'Throttle'

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

          Throttle

eventHandlers:213:35: error: 'null' was not declared in this scope

       if(throttleA.cabButton!=null){

                               ^~~~

eventHandlers:223:11: error: 'powerButton' was not declared in this scope

       powerButton.turnOn();

       ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:223:11: note: suggested alternative: 'PowerButton'

       powerButton.turnOn();

       ^~~~~~~~~~~

       PowerButton

eventHandlers:227:11: error: 'aPort' was not declared in this scope

       aPort.write("<3>");

       ^~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:227:11: note: suggested alternative: 'abort'

       aPort.write("<3>");

       ^~~~~

       abort

eventHandlers:239:11: error: 'accWindow' was not declared in this scope

       accWindow.toggle();

       ^~~~~~~~~

eventHandlers:243:11: error: 'currentMeter' was not declared in this scope

       currentMeter.isOn=!currentMeter.isOn;

       ^~~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:243:11: note: suggested alternative: 'CurrentMeter'

       currentMeter.isOn=!currentMeter.isOn;

       ^~~~~~~~~~~~

       CurrentMeter

eventHandlers:247:11: error: 'extrasWindow' was not declared in this scope

       extrasWindow.toggle();

       ^~~~~~~~~~~~

eventHandlers:251:11: error: 'autoWindow' was not declared in this scope

       autoWindow.toggle();

       ^~~~~~~~~~

eventHandlers:255:11: error: 'sensorWindow' was not declared in this scope

       sensorWindow.toggle();

       ^~~~~~~~~~~~

eventHandlers:259:11: error: 'ledWindow' was not declared in this scope

       ledWindow.toggle();

       ^~~~~~~~~

eventHandlers:263:11: error: 'portWindow' was not declared in this scope

       portWindow.toggle();

       ^~~~~~~~~~

eventHandlers:267:11: error: 'helpWindow' was not declared in this scope

       helpWindow.toggle();

       ^~~~~~~~~~

eventHandlers:271:11: error: 'imageWindow' was not declared in this scope

       imageWindow.toggle();

       ^~~~~~~~~~~

eventHandlers:275:11: error: 'diagWindow' was not declared in this scope

       diagWindow.toggle();

       ^~~~~~~~~~

eventHandlers:279:14: error: 'layoutBridge' was not declared in this scope

       if(layoutBridge.equals(layout2))

          ^~~~~~~~~~~~

eventHandlers:279:34: error: 'layout2' was not declared in this scope

       if(layoutBridge.equals(layout2))

                              ^~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:279:34: note: suggested alternative: 'Layout'

       if(layoutBridge.equals(layout2))

                              ^~~~~~~

                              Layout

eventHandlers:280:31: error: 'layout' was not declared in this scope

         layoutBridge.copy(layout);

                           ^~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:280:31: note: suggested alternative: 'Layout'

         layoutBridge.copy(layout);

                           ^~~~~~

                           Layout

eventHandlers:286:11: error: 'progWindow' was not declared in this scope

       progWindow.toggle();

       ^~~~~~~~~~

eventHandlers:290:11: error: 'opWindow' was not declared in this scope

       opWindow.toggle();

       ^~~~~~~~

eventHandlers:294:14: error: 'throttleA' was not declared in this scope

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:294:14: note: suggested alternative: 'Throttle'

       if(throttleA.cabButton!=null){

          ^~~~~~~~~

          Throttle

eventHandlers:294:35: error: 'null' was not declared in this scope

       if(throttleA.cabButton!=null){

                               ^~~~

eventHandlers:308:11: error: 'cabButtons' was not declared in this scope

       cabButtons.get(int(k)-int('1')).pressed();

       ^~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino:308:11: note: suggested alternative: 'CabButton'

       cabButtons.get(int(k)-int('1')).pressed();

       ^~~~~~~~~~

       CabButton

C:\Users\i50fw\DCCpp_Controller\eventHandlers.ino: In function 'void keyCommandReleased(char, int)':

eventHandlers:323:11: error: 'CODED' was not declared in this scope

 if(k==CODED){

       ^~~~~

C:\Users\i50fw\DCCpp_Controller\gButtons.ino: At global scope:

gButtons:13:29: error: expected initializer before 'DccComponent'

class EllipseButton extends DccComponent{

                         ^~~~~~~~~~~~

gButtons:122:26: error: expected initializer before 'EllipseButton'

class RectButton extends EllipseButton{

                      ^~~~~~~~~~~~~

gTextBoxes:17:26: error: expected initializer before 'DccComponent'

class MessageBox extends DccComponent{

                      ^~~~~~~~~~~~

gTextBoxes:86:24: error: expected initializer before 'DccComponent'

class InputBox extends DccComponent{

                    ^~~~~~~~~~~~

gWindows:22:22: error: expected initializer before 'DccComponent'

class Window extends DccComponent{

                  ^~~~~~~~~~~~

gWindows:113:23: error: expected initializer before 'DccComponent'

class DragBar extends DccComponent{

                   ^~~~~~~~~~~~

gWindows:171:27: error: expected initializer before 'DccComponent'

class CloseButton extends DccComponent{

                       ^~~~~~~~~~~~

gWindows:227:27: error: expected initializer before 'Window'

class ImageWindow extends Window{

                       ^~~~~~

gWindows:268:25: error: expected initializer before 'Window'

class JPGWindow extends Window{

                     ^~~~~~

progComponents:61:35: error: expected initializer before 'EllipseButton'

class ProgWriteReadButton extends EllipseButton implements CallBack{

                               ^~~~~~~~~~~~~

progComponents:120:33: error: expected initializer before 'EllipseButton'

class ProgAddReadButton extends EllipseButton implements CallBack{

                             ^~~~~~~~~~~~~

progComponents:210:39: error: expected initializer before 'EllipseButton'

class ProgShortAddWriteButton extends EllipseButton implements CallBack{

                                   ^~~~~~~~~~~~~

progComponents:262:38: error: expected initializer before 'EllipseButton'

class ProgLongAddWriteButton extends EllipseButton implements CallBack{

                                  ^~~~~~~~~~~~~

progComponents:331:35: error: expected initializer before 'EllipseButton'

class ProgLongShortButton extends EllipseButton implements CallBack{

                               ^~~~~~~~~~~~~

progComponents:390:29: error: expected initializer before 'EllipseButton'

class OpWriteButton extends EllipseButton{

                         ^~~~~~~~~~~~~

serialComponents:36:30: error: expected initializer before 'RectButton'

class PortScanButton extends RectButton{

                          ^~~~~~~~~~

serialComponents:116:3: error: 'Serial' does not name a type

Serial port;

^~~~~~

serialComponents:117:3: error: 'Client' does not name a type; did you mean 'Print'?

Client client;

^~~~~~

Print

serialComponents:118:9: error: expected unqualified-id before '[' token

String[] portList;

     ^

serialComponents:245:2: error: expected ';' after class definition

} // Class ArduinoPort

^

;

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino: In constructor 'ArduinoPort::ArduinoPort()':

serialComponents:126:5: error: 'port' was not declared in this scope

 port=null;

 ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:126:5: note: suggested alternative: 'word'

 port=null;

 ^~~~

 word

serialComponents:126:10: error: 'null' was not declared in this scope

 port=null;

      ^~~~

serialComponents:127:5: error: 'client' was not declared in this scope

 client=null;

 ^~~~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:127:5: note: suggested alternative: 'Print'

 client=null;

 ^~~~~~

 Print

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino: In member function 'void ArduinoPort::write(String)':

serialComponents:133:5: error: 'msgBoxDiagOut' was not declared in this scope

 msgBoxDiagOut.setMessage(text,color(30,30,150));

 ^~~~~~~~~~~~~

serialComponents:133:35: error: 'color' was not declared in this scope

 msgBoxDiagOut.setMessage(text,color(30,30,150));

                               ^~~~~

serialComponents:137:13: error: 'port' was not declared in this scope

 else if(port!=null)

         ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:137:13: note: suggested alternative: 'word'

 else if(port!=null)

         ^~~~

         word

serialComponents:137:19: error: 'null' was not declared in this scope

 else if(port!=null)

               ^~~~

serialComponents:139:13: error: 'client' was not declared in this scope

 else if(client!=null)

         ^~~~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:139:13: note: suggested alternative: 'Print'

 else if(client!=null)

         ^~~~~~

         Print

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino: In member function 'void ArduinoPort::simulate(String)':

serialComponents:152:12: error: 'powerButton' was not declared in this scope

     if(powerButton.isOn)

        ^~~~~~~~~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:152:12: note: suggested alternative: 'PowerButton'

     if(powerButton.isOn)

        ^~~~~~~~~~~

        PowerButton

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:167:15: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     String[] s = splitTokens(c);

           ^

serialComponents:167:15: error: decomposition declaration cannot be declared with type 'String'

     String[] s = splitTokens(c);

           ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:167:15: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

serialComponents:167:15: error: empty decomposition declaration

serialComponents:167:18: error: expected initializer before 's'

     String[] s = splitTokens(c);

              ^

serialComponents:168:16: error: 's' was not declared in this scope

     if(int(s[2])==-1)

            ^

serialComponents:170:29: error: 's' was not declared in this scope

     receivedString("<T"+s[0]+" "+s[2]+" "+s[3]+">");

                         ^

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:174:15: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     String[] s1 = splitTokens(c);

           ^

serialComponents:174:15: error: decomposition declaration cannot be declared with type 'String'

     String[] s1 = splitTokens(c);

           ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:174:15: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

serialComponents:174:15: error: empty decomposition declaration

serialComponents:174:18: error: expected initializer before 's1'

     String[] s1 = splitTokens(c);

              ^~

serialComponents:175:29: error: 's1' was not declared in this scope

     receivedString("<H"+s1[0]+" "+s1[1]+">");

                         ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:175:29: note: suggested alternative: 'A1'

     receivedString("<H"+s1[0]+" "+s1[1]+">");

                         ^~

                         A1

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:179:15: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

     String[] s2 = splitTokens(c);

           ^

serialComponents:179:15: error: decomposition declaration cannot be declared with type 'String'

     String[] s2 = splitTokens(c);

           ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:179:15: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

serialComponents:179:15: error: empty decomposition declaration

serialComponents:179:18: error: expected initializer before 's2'

     String[] s2 = splitTokens(c);

              ^~

serialComponents:180:29: error: 's2' was not declared in this scope

     receivedString("<Z"+s2[0]+" "+s2[1]+">");

                         ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:180:29: note: suggested alternative: 'A2'

     receivedString("<Z"+s2[0]+" "+s2[1]+">");

                         ^~

                         A2

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino: In member function 'void ArduinoPort::open(String)':

serialComponents:191:10: error: request for member 'portName' in '(ArduinoPort*)this', which is of pointer type 'ArduinoPort*' (maybe you meant to use '->' ?)

 this.portName=portName;

      ^~~~~~~~

serialComponents:195:8: error: 'port' was not declared in this scope

 if(port!=null)

    ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:195:8: note: suggested alternative: 'word'

 if(port!=null)

    ^~~~

    word

serialComponents:195:14: error: 'null' was not declared in this scope

 if(port!=null)

          ^~~~

serialComponents:198:8: error: 'client' was not declared in this scope

 if(client!=null)

    ^~~~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:198:8: note: suggested alternative: 'Print'

 if(client!=null)

    ^~~~~~

    Print

serialComponents:198:16: error: 'null' was not declared in this scope

 if(client!=null)

            ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:201:8: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z

 int[] n=int(splitTokens(portName,"."));

    ^

serialComponents:201:8: error: decomposition declaration cannot be declared with type 'int'

 int[] n=int(splitTokens(portName,"."));

    ^~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:201:8: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'

serialComponents:201:8: error: empty decomposition declaration

serialComponents:201:11: error: expected initializer before 'n'

 int[] n=int(splitTokens(portName,"."));

       ^

serialComponents:203:8: error: 'n' was not declared in this scope

 if(n.length==4 && n[0]>0 && n[0]<=255 && n[1]>=0 && n[1]<=255 && n[2]>=0 && n[2]<=255 && n[3]>=0 && n[3]<=255){

    ^

serialComponents:204:7: error: 'client' was not declared in this scope

   client=new Client(Applet,portName,2560);

   ^~~~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:204:7: note: suggested alternative: 'Print'

   client=new Client(Applet,portName,2560);

   ^~~~~~

   Print

serialComponents:204:18: error: expected type-specifier before 'Client'

   client=new Client(Applet,portName,2560);

              ^~~~~~

serialComponents:205:23: error: 'null' was not declared in this scope

   if(client.ip()==null){

                   ^~~~

serialComponents:206:9: error: 'msgBoxMain' was not declared in this scope

     msgBoxMain.setMessage("Can't connect to Server: "+portName,color(200,50,0));

     ^~~~~~~~~~

serialComponents:206:68: error: 'color' was not declared in this scope

     msgBoxMain.setMessage("Can't connect to Server: "+portName,color(200,50,0));

                                                                ^~~~~

serialComponents:210:9: error: 'msgBoxMain' was not declared in this scope

     msgBoxMain.setMessage("Waiting for Base Station at Server: "+client.ip(),color(200,50,0));

     ^~~~~~~~~~

serialComponents:210:82: error: 'color' was not declared in this scope

     msgBoxMain.setMessage("Waiting for Base Station at Server: "+client.ip(),color(200,50,0));

                                                                              ^~~~~

serialComponents:218:7: error: 'msgBoxMain' was not declared in this scope

   msgBoxMain.setMessage("Using Emulator to Simulate Arduino",color(50,50,200));

   ^~~~~~~~~~

serialComponents:218:66: error: 'color' was not declared in this scope

   msgBoxMain.setMessage("Using Emulator to Simulate Arduino",color(50,50,200));

                                                              ^~~~~

serialComponents:223:7: error: 'port' was not declared in this scope

   port=new Serial(Applet,portName,BASE_BAUD);

   ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:223:7: note: suggested alternative: 'word'

   port=new Serial(Applet,portName,BASE_BAUD);

   ^~~~

   word

serialComponents:223:16: error: expected type-specifier before 'Serial'

   port=new Serial(Applet,portName,BASE_BAUD);

            ^~~~~~

serialComponents:225:13: error: 'Exception' does not name a type

 } catch(Exception e){

         ^~~~~~~~~

serialComponents:226:7: error: 'msgBoxMain' was not declared in this scope

   msgBoxMain.setMessage("Serial Port Busy: "+portName,color(200,50,0));

   ^~~~~~~~~~

serialComponents:226:59: error: 'color' was not declared in this scope

   msgBoxMain.setMessage("Serial Port Busy: "+portName,color(200,50,0));

                                                       ^~~~~

serialComponents:227:7: error: 'port' was not declared in this scope

   port=null;

   ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:227:7: note: suggested alternative: 'word'

   port=null;

   ^~~~

   word

serialComponents:227:12: error: 'null' was not declared in this scope

   port=null;

        ^~~~

serialComponents:231:8: error: 'port' was not declared in this scope

 if(port.port==null){

    ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:231:8: note: suggested alternative: 'word'

 if(port.port==null){

    ^~~~

    word

serialComponents:231:19: error: 'null' was not declared in this scope

 if(port.port==null){

               ^~~~

serialComponents:232:7: error: 'msgBoxMain' was not declared in this scope

   msgBoxMain.setMessage("Can't find Serial Port: "+portName,color(200,50,0));

   ^~~~~~~~~~

serialComponents:232:65: error: 'color' was not declared in this scope

   msgBoxMain.setMessage("Can't find Serial Port: "+portName,color(200,50,0));

                                                             ^~~~~

serialComponents:237:5: error: 'msgBoxMain' was not declared in this scope

 msgBoxMain.setMessage("Waiting for Base Station at Serial Port: "+portName,color(200,50,0));

 ^~~~~~~~~~

serialComponents:237:80: error: 'color' was not declared in this scope

 msgBoxMain.setMessage("Waiting for Base Station at Serial Port: "+portName,color(200,50,0));

                                                                            ^~~~~

serialComponents:241:5: error: 'port' was not declared in this scope

 port.write("<s>");

 ^~~~

C:\Users\i50fw\DCCpp_Controller\serialComponents.ino:241:5: note: suggested alternative: 'word'

 port.write("<s>");

 ^~~~

 word

exit status 1

'import' does not name a type; did you mean 'qsort'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

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

1 participant