¿ªÔÆÌåÓý

Re: uBITX Software error messages #ubitx-help


Jack Purdum
 

As I pointed out in earlier post and someone has also just pointed out, the primary INO file (i.e., the one with setup() and loop() in it)? MUST MATCH the subdirectory name that holds it. Your directory structure
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino:

is not set up correctly. You need to rename the subdirectory as follows:

/home/pi/Arduino/uBTIX_20/ubitx_20.ino:

Note now how the INO primary file name and the subdirectory name that holds it match. It won't work otherwise.

Jack, W8TEE


From: "merle.spartan.63@..." <merle.spartan.63@...>
To: [email protected]
Sent: Monday, March 12, 2018 4:30 AM
Subject: [BITX20] uBITX Software error messages #ubitx-help

I know there are a lot of other posts on this subject, but I can't seem to find what I need.? I've tried compiling the uBITX software with Arduino 1.8.5 on a raspberry pi.? I've copied the error messages below.? Any help you could give me would be very much appreciated as this is the first time I've tried to compile from source.

Thanks in advance.

Arduino: 1.8.6 Hourly Build 2018/03/02 12:19 (Linux), Board: "Arduino Nano, ATmega328P"
?
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void setFrequency(long unsigned int)':
ubitx_20:379:56: error: 'si5351bx_setfreq' was not declared in this scope
???? delay(10);
??????????????????????????????????????????????????????? ^
ubitx_20:383:56: error: 'si5351bx_setfreq' was not declared in this scope
?
??????????????????????????????????????????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void startTx(byte)':
ubitx_20:409:26: error: 'si5351bx_setfreq' was not declared in this scope
???? else if (s > -2)
????????????????????????? ^
ubitx_20:420:17: error: 'updateDisplay' was not declared in this scope
???? if (prev_freq < 10000000l && frequency > 10000000l)
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void stopTx()':
ubitx_20:427:33: error: 'si5351bx_setfreq' was not declared in this scope
???? updateDisplay();
???????????????????????????????? ^
ubitx_20:434:17: error: 'updateDisplay' was not declared in this scope
?void doRIT(){
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void ritDisable()':
ubitx_20:453:19: error: 'updateDisplay' was not declared in this scope
? * present or out of range, in this case, some intelligent defaults are copied into the
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void checkButton()':
ubitx_20:485:16: error: 'btnDown' was not declared in this scope
?? pinMode(FBUTTON, INPUT_PULLUP);
??????????????? ^
ubitx_20:488:16: error: 'btnDown' was not declared in this scope
?//? pinMode(FBUTTON, INPUT);
??????????????? ^
ubitx_20:491:10: error: 'doMenu' was not declared in this scope
?? pinMode(PTT, INPUT_PULLUP);
??? ??????^
ubitx_20:493:17: error: 'btnDown' was not declared in this scope
?
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void doTuning()':
ubitx_20:510:16: error: 'enc_read' was not declared in this scope
?
??????????????? ^
ubitx_20:542:19: error: 'updateDisplay' was not declared in this scope
??
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void doRIT()':
ubitx_20:552:23: error: 'enc_read' was not declared in this scope
???? else
??????????? ???????????^
ubitx_20:562:19: error: 'updateDisplay' was not declared in this scope
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void setup()':
ubitx_20:634:27: error: 'printLine1' was not declared in this scope
ubitx_20:637:13: error: 'initMeter' was not declared in this scope
ubitx_20:640:19: error: 'initOscillators' was not declared in this scope
ubitx_20:644:17: error: 'updateDisplay' was not declared in this scope
ubitx_20:646:15: error: 'btnDown' was not declared in this scope
ubitx_20:647:23: error: 'factory_alignment' was not declared in this scope
/home/pi/Arduino/uBTIX_Master/ubitx_20.ino: In function 'void loop()':
ubitx_20:658:11: error: 'cwKeyer' was not declared in this scope
ubitx_20:672:12: error: 'checkCAT' was not declared in this scope
/home/pi/Arduino/uBTIX_Master/ubitx_cat.ino: In function 'void processCATCommand(byte*)':
ubitx_cat:111:19: error: 'updateDisplay' was not declared in this scope
???? updateDisplay();
?????????????????? ^
ubitx_cat:124:29: error: 'printLine2' was not declared in this scope
???? printLine2("cat:getfreq");
???????????????????????????? ^
ubitx_cat:144:25: error: 'printLine2' was not declared in this scope
???? printLine2("tx > rx");
???????????????????????? ^
ubitx_cat:152:21: error: 'updateDisplay' was not declared in this scope
?????? updateDisplay();
???????????????????? ^
ubitx_cat:157:25: error: 'printLine2' was not declared in this scope
???? printLine2("rx > tx");
???????????????????????? ^
ubitx_cat:167:26: error: 'printLine2' was not declared in this scope
???? printLine2("cat;0x10");
????????????????????????? ^
ubitx_cat:178:26: error: 'printLine2' was not declared in this scope
???? printLine2("cat;0x88");
????????????????????????? ^
ubitx_cat:186:26: error: 'printLine2' was not declared in this scope
???? printLine2("cat;0xe7");
????????????????????????? ^
ubitx_cat:198:26: error: 'printLine2' was not declared in this scope
???? printLine2("cat;0xf7");
????????????????????????? ^
ubitx_cat:206:17: error: 'printLine2' was not declared in this scope
???? printLine2(b);
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_factory_alignment.ino: In function 'void btnWaitForClick()':
ubitx_factory_alignment:7:18: error: 'btnDown' was not declared in this scope
?? while(!btnDown())
?????????????? ???^
ubitx_factory_alignment:9:17: error: 'btnDown' was not declared in this scope
?? while(btnDown())
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_factory_alignment.ino: In function 'void factory_alignment()':
ubitx_factory_alignment:16:23: error: 'factoryCalibration' was not declared in this scope
?? factoryCalibration(1);
?????????????????????? ^
ubitx_factory_alignment:19:31: error: 'printLine2' was not declared in this scope
???? printLine2("Setup Aborted");
?????????????????????????????? ^
ubitx_factory_alignment:25:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
???????????????? ^
ubitx_factory_alignment:26:22: error: 'printLine2' was not declared in this scope
?? printLine2("#2 BFO");
????????????????????? ^
ubitx_factory_alignment:30:21: error: 'menuSetupCarrier' was not declared in this scope
?? menuSetupCarrier(1);
???????????????????? ^
ubitx_factory_alignment:43:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown()){
?????????????????? ^
ubitx_factory_alignment:53:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown()){
?????????????????? ^
ubitx_factory_alignment:64:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown()){
?????????????????? ^
ubitx_factory_alignment:74:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown()){
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_keyer.ino: In function 'void cwKeyer()':
ubitx_keyer:121:21: error: 'updateDisplay' was not declared in this scope
?????? updateDisplay();
???????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'int menuBand(int)':
ubitx_menu:25:30: error: 'printLine2' was not declared in this scope
???? printLine2("Band Select?");
??????????????????? ??????????^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino:26:5: warning: return-statement with no value, in function returning 'int' [-fpermissive]
???? return;
???? ^
ubitx_menu:29:32: error: 'printLine2' was not declared in this scope
?? printLine2("Press to confirm");
??????????????????????????????? ^
ubitx_menu:31:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????????????????? ^
ubitx_menu:36:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown()) {
????????? ?????????^
ubitx_menu:38:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
ubitx_menu:58:21: error: 'updateDisplay' was not declared in this scope
?????? updateDisplay();
???????????????????? ^
ubitx_menu:63:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????????????????? ^
ubitx_menu:68:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuVfoToggle(int)':
ubitx_menu:76:36: error: 'printLine2' was not declared in this scope
?????? printLine2("Select VFO B??? ");
??????????????????????????????????? ^
ubitx_menu:78:36: error: 'printLine2' was not declared in this scope
????? ?printLine2("Select VFO A??? ");
??????????????????????????????????? ^
ubitx_menu:85:36: error: 'printLine2' was not declared in this scope
?????? printLine2("Selected VFO A? ");
??????????????????????????????????? ^
ubitx_menu:92:36: error: 'printLine2' was not declared in this scope
?????? printLine2("Selected VFO B? ");
??????????????????????????????????? ^
ubitx_menu:102:19: error: 'updateDisplay' was not declared in this scope
???? updateDisplay();
?????????????????? ^
ubitx_menu:103:18: error: 'printLine2' was not declared in this scope
???? printLine2("");
????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuRitToggle(int)':
ubitx_menu:113:35: error: 'printLine2' was not declared in this scope
?????? printLine2("RIT:On, Off??? ");
?????????????????????????????????? ^
ubitx_menu:115:35: error: 'printLine2' was not declared in this scope
?????? printLine2("RIT:Off, On??? ");
?????????????????????????????????? ^
ubitx_menu:119:29: error: 'printLine2' was not declared in this scope
?????? printLine2("RIT is ON");
???????????????????????????? ^
ubitx_menu:124:30: error: 'printLine2' was not declared in this scope
?????? printLine2("RIT is OFF");
????????????????????????????? ^
ubitx_menu:129:18: error: 'printLine2' was not declared in this scope
???? printLine2("");
????????????????? ^
ubitx_menu:130:19: error: 'updateDisplay' was not declared in this scope
???? updateDisplay();
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuSidebandToggle(int)':
ubitx_menu:137:31: error: 'printLine2' was not declared in this scope
?????? printLine2("Select LSB?");
Multiple libraries were found for "LiquidCrystal.h"
?Used: /home/pi/Arduino/libraries/LiquidCrystal
?Not used: /opt/arduino-nightly/libraries/LiquidCrystal
?????????????????????????????? ^
ubitx_menu:139:31: error: 'printLine2' was not declared in this scope
?????? printLine2("Select USB?");
?????????????????????????????? ^
ubitx_menu:144:32: error: 'printLine2' was not declared in this scope
?????? printLine2("LSB Selected");
??????????????????????????????? ^
ubitx_menu:150:32: error: 'printLine2' was not declared in this scope
?????? printLine2("USB Selected");
??????????????????????????????? ^
ubitx_menu:155:19: error: 'updateDisplay' was not declared in this scope
???? updateDisplay();
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuSetup(int)':
ubitx_menu:167:29: error: 'printLine2' was not declared in this scope
?????? printLine2("Setup On?");
?? ??????????????????????????^
ubitx_menu:169:30: error: 'printLine2' was not declared in this scope
?????? printLine2("Setup Off?");
????????????????????????????? ^
ubitx_menu:173:31: error: 'printLine2' was not declared in this scope
?????? printLine2("Setup:On?? ");
?????????????????????????????? ^
ubitx_menu:177:32: error: 'printLine2' was not declared in this scope
?????? printLine2("Setup:Off?? ");
??????????????????????????????? ^
ubitx_menu:180:18: error: 'printLine2' was not declared in this scope
?? ??printLine2("");
????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuExit(int)':
ubitx_menu:188:34: error: 'printLine2' was not declared in this scope
???? printLine2("Exit Menu?????? ");
?????????????????????????????? ???^
ubitx_menu:191:30: error: 'printLine2' was not declared in this scope
???? printLine2("Exiting menu");
????????????????????????????? ^
ubitx_menu:194:19: error: 'updateDisplay' was not declared in this scope
???? updateDisplay();
?????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'int menuCWSpeed(int)':
ubitx_menu:210:17: error: 'printLine2' was not declared in this scope
???? printLine2(b);
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino:211:5: warning: return-statement with no value, in function returning 'int' [-fpermissive]
???? return;
???? ^
ubitx_menu:214:32: error: 'printLine1' was not declared in this scope
?? printLine1("Press PTT to set");
??????????????????????????????? ^
ubitx_menu:218:15: error: 'printLine2' was not declared in this scope
?? printLine2(b);
?????????????? ^
ubitx_menu:221:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown() && digitalRead(PTT) == HIGH) {
?????????????????? ^
ubitx_menu:223:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'int factoryCalibration(int)':
ubitx_menu:274:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????????????????? ^
ubitx_menu:279:34: error: 'printLine2' was not declared in this scope
???? printLine2("Set Calibration?");
????????????????????????????????? ^
ubitx_menu:289:37: error: 'si5351_set_calibration' was not declared in this scope
?? si5351_set_calibration(calibration);
???????????????????????????????????? ^
ubitx_menu:291:32: error: 'si5351bx_setfreq' was not declared in this scope
?? si5351bx_setfreq(2, 10000000l);
??????????????????????????????? ^
ubitx_menu:296:15: error: 'printLine2' was not declared in this scope
?? printLine2(b);
?????????????? ^
ubitx_menu:298:19: error: 'btnDown' was not declared in this scope
?? while (!btnDown())
?????????????????? ^
ubitx_menu:306:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
ubitx_menu:329:19: error: 'initOscillators' was not declared in this scope
?? initOscillators();
?????????????????? ^
ubitx_menu:331:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
?????????????? ??^
ubitx_menu:333:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':
ubitx_menu:343:34: error: 'printLine2' was not declared in this scope
???? printLine2("Set Calibration?");
????????????????????????????????? ^
ubitx_menu:347:33: error: 'printLine1' was not declared in this scope
?? printLine1("Set to Zero-beat,");
???????????????????????????????? ^
ubitx_menu:348:33: error: 'printLine2' was not declared in this scope
?? printLine2("press PTT to save");
???????????????????????????????? ^
ubitx_menu:353:37: error: 'si5351_set_calibration' was not declared in this scope
?? si5351_set_calibration(calibration);
????????????????? ???????????????????^
ubitx_menu:361:47: error: 'btnDown' was not declared in this scope
?? while (digitalRead(PTT) == HIGH && !btnDown())
?????????????????????????????????????????????? ^
ubitx_menu:363:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
ubitx_menu:377:35: error: 'si5351bx_setfreq' was not declared in this scope
???? si5351bx_setfreq(0, usbCarrier);
?????????????????????????????????? ^
ubitx_menu:397:19: error: 'initOscillators' was not declared in this scope
?? initOscillators();
?????????????????? ^
ubitx_menu:400:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void printCarrierFreq(long unsigned int)':
ubitx_menu:417:15: error: 'printLine2' was not declared in this scope
?? printLine2(c);
?????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuSetupCarrier(int)':
ubitx_menu:425:29: error: 'printLine2' was not declared in this scope
???? printLine2("Set the BFO");
???????????????????????????? ^
ubitx_menu:430:35: error: 'printLine1' was not declared in this scope
?? printLine1("Tune to best Signal");
?????????????????????????????????? ^
ubitx_menu:431:32: error: 'printLine2' was not declared in this scope
?? printLine2("PTT to confirm. ");
??????????????????????????????? ^
ubitx_menu:435:33: error: 'si5351bx_setfreq' was not declared in this scope
?? si5351bx_setfreq(0, usbCarrier);
???????????????????????????? ????^
ubitx_menu:439:47: error: 'btnDown' was not declared in this scope
?? while (digitalRead(PTT) == HIGH && !btnDown())
?????????????????????????????????????????????? ^
ubitx_menu:441:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
ubitx_menu:467:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
???????????????? ^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void menuSetupCwTone(int)':
ubitx_menu:477:32: error: 'printLine2' was not declared in this scope
???? printLine2("Change CW Tone");
??????????????????????????????? ^
ubitx_menu:482:28: error: 'printLine1' was not declared in this scope
?? printLine1("Tune CW tone");
??????????????????????????? ^
ubitx_menu:483:32: error: 'printLine2' was not declared in this scope
?? printLine2("PTT to confirm. ");
??????????????????????????????? ^
ubitx_menu:488:46: error: 'btnDown' was not declared in this scope
?? while (digitalRead(PTT) == LOW || !btnDown())
???????????? ?????????????????????????????????^
ubitx_menu:490:21: error: 'enc_read' was not declared in this scope
???? knob = enc_read();
???????????????????? ^
ubitx_menu:516:17: error: 'updateDisplay' was not declared in this scope
?? updateDisplay();
???????????? ????^
/home/pi/Arduino/uBTIX_Master/ubitx_menu.ino: In function 'void doMenu()':
ubitx_menu:524:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????????????????? ^
ubitx_menu:531:18: error: 'enc_read' was not declared in this scope
???? i = enc_read();
????????????????? ^
ubitx_menu:532:24: error: 'btnDown' was not declared in this scope
???? btnState = btnDown();
??????????????????????? ^
ubitx_menu:568:18: error: 'btnDown' was not declared in this scope
?? while (btnDown())
????? ????????????^
exit status 1
'si5351bx_setfreq' was not declared in this scope
?
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.



Virus-free.

Join [email protected] to automatically receive all group messages.