¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Arduino IDE 1.8.8 issues continued


 

Rick:

You can leave the #define's for Al and I untouched, as they will not affect your calibration. We did that because we exchanged code on a regular basis, but the calibration numbers where different for each of our machines. Leave the #define DEBUG uncommented so you can use the Serial monitor object. It doesn't hurt anything to have the scaffolding code in place, as it only adds a couple of K to the code size. Later on, if you want to, you can comment it out and the code size will shrink a little.

Jack, W8TEE

On Monday, January 21, 2019, 8:52:53 AM EST, Rick Price <rickprice48@...> wrote:


Hi Jack,
While looking at the JackAL.h file to check the download library links I noticed line 6, #define Jack? //Jack's 5" inch display, was commented out.? Line 4, #define DEBUG was not commented out, but the wording says //comment out when not debugging.? Does Jack's 5" display and Al's 5" display need to be used or just one?or the other?when using a 5" display.? The IDE will compile it either way with the same warnings.?
?
Rick, KN4AIE



From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io
Sent: Sunday, January 20, 2019 4:50 PM
To: [email protected]
Subject: Re: [JackAl] Arduino IDE 1.8.8 issues continued

All:

You should never have ANY library that does not match the header and cpp file in the library. Any file that ends in "master" tells me you have left the extracted ZIP file on path. That's usually not a good idea, especially when it tries to "use" it. Your errors below says that is used the RA8875 library, but a dollar to a donut it's not OUR version of the library. Also, when you see the word "(legacy)" at the end of a linker line, usually this means it found multiple copies and used an older version of the library. It's pretty clear it's not the library tied into the Teensy path.

Jack, W8TEE

On Sunday, January 20, 2019, 2:59:04 PM EST, Art Olson <olson339@...> wrote:


Jack

?

Ok flat forehead ¨C change teensy board. Got further but

?

Multiple libraries were found for "Audio.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Audio

Not used: C:\Users\User1\Documents\Arduino\libraries\Audio-master

Not used: C:\Arduino 1.8.7\Arduino\libraries\Audio-master

Multiple libraries were found for "Rotary.h"

Used: C:\Users\User1\Documents\Arduino\libraries\Rotary-master

Not used: C:\Arduino 1.8.7\Arduino\libraries\Rotary-master

Multiple libraries were found for "TimeLib.h"

Used: C:\Users\User1\Documents\Arduino\libraries\Time-master

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\libraries\Time-master

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\libraries\Time-master

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\libraries\Time-master

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\libraries\Time-master

Multiple libraries were found for "UTFT.h"

Used: C:\Users\User1\Documents\Arduino\libraries\UTFT

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\UTFT

Not used: C:\Arduino 1.8.7\Arduino\libraries\UTFT

Multiple libraries were found for "OpenAudio_ArduinoLibrary.h"

Used: C:\Users\User1\Documents\Arduino\libraries\OpenAudio_ArduinoLibrary-master

Not used: C:\Arduino 1.8.7\Arduino\libraries\OpenAudio_ArduinoLibrary-master

Multiple libraries were found for "SerialFlash.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SerialFlash

Not used: C:\Users\User1\Documents\Arduino\libraries\SerialFlash-master

Not used: C:\Arduino 1.8.7\Arduino\libraries\SerialFlash-master

Multiple libraries were found for "Adafruit_GFX.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX

Not used: C:\Users\User1\Documents\Arduino\libraries\Adafruit-GFX-Library-master

Not used: C:\Arduino 1.8.7\Arduino\libraries\Adafruit-GFX-Library-master

Multiple libraries were found for "RA8875.h"

Used: C:\Users\User1\Documents\Arduino\libraries\RA8875

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\RA8875

Not used: C:\Arduino 1.8.7\Arduino\libraries\RA8875

Multiple libraries were found for "URTouch.h"

Used: C:\Users\User1\Documents\Arduino\libraries\URTouch

Not used: C:\Arduino 1.8.7\Arduino\libraries\URTouch

Multiple libraries were found for "UTFT_Buttons.h"

Used: C:\Users\User1\Documents\Arduino\libraries\UTFT_Buttons

Not used: C:\Arduino 1.8.7\Arduino\libraries\UTFT_Buttons

Multiple libraries were found for "SD.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SD

Not used: C:\Arduino 1.8.7\Arduino\libraries\SD

Using library EEPROM at version 2.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\EEPROM

Using library Wire at version 1.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Wire

Using library SPI at version 1.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SPI

Using library OpenAudio_ArduinoLibrary-master in folder: C:\Users\User1\Documents\Arduino\libraries\OpenAudio_ArduinoLibrary-master (legacy)

Using library Audio at version 1.3 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Audio

Using library SD at version 1.2.2 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SD

Using library SerialFlash at version 0.5 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SerialFlash

Using library Adafruit_GFX at version 1.2.3 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX

Using library RA8875 at version 0.70.11 in folder: C:\Users\User1\Documents\Arduino\libraries\RA8875

Using library Rotary-master in folder: C:\Users\User1\Documents\Arduino\libraries\Rotary-master (legacy)

Using library Time-master at version 1.5 in folder: C:\Users\User1\Documents\Arduino\libraries\Time-master

Using library TimerOne at version 1.1 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\TimerOne

Using library UTFT in folder: C:\Users\User1\Documents\Arduino\libraries\UTFT (legacy)

Using library URTouch in folder: C:\Users\User1\Documents\Arduino\libraries\URTouch (legacy)

Using library UTFT_Buttons in folder: C:\Users\User1\Documents\Arduino\libraries\UTFT_Buttons (legacy)

Error compiling for board Teensy 3.6.

?

Art

?

From: [email protected] <[email protected]> On Behalf Of jjpurdum via Groups.Io
Sent: Sunday, January 20, 2019 2:52 PM
To: [email protected]
Subject: Re: [JackAl] Arduino IDE 1.8.8 issues continued

?

Art:

?

The message:

?

'A21' was not declared in this scope

?

tells me you are not using the Teensy 3.6 board under the Tools --> Boards option of the Arduino IDE. The Teensy core before 3.5 can issue that message because the analog ports were expanded. Check which board you are using. Also, did you download our RA8875 library and install it? We had to change it because it was not updated for the Teensy 3.6.

?

Jack, W8TEE

?

On Sunday, January 20, 2019, 2:46:48 PM EST, Art Olson <olson339@...> wrote:

?

?

Jack

?

This is as far as I can get. It appears the IDE is opting to use

?

Used: C:\Users\User1\Documents\Arduino\libraries\RA8875

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\RA8875

?

I have gone thru and uninstalled the IDE and deleted directories identified on the users\users¡­ path. Then reinstalled IDE at c:\Arduino1.8.7 path

?

Results below

?

Multiple libraries were found for "RA8875.h"

Used: C:\Users\User1\Documents\Arduino\libraries\RA8875

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\RA8875

Multiple libraries were found for "TimeLib.h"

Used: C:\Users\User1\Documents\Arduino\libraries\Time-master

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Time

Multiple libraries were found for "UTFT.h"

Used: C:\Users\User1\Documents\Arduino\libraries\UTFT

Not used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\UTFT

Multiple libraries were found for "Audio.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Audio

Not used: C:\Users\User1\Documents\Arduino\libraries\Audio-master

Multiple libraries were found for "SD.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SD

Not used: C:\Arduino 1.8.7\Arduino\libraries\SD

Multiple libraries were found for "SerialFlash.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SerialFlash

Not used: C:\Users\User1\Documents\Arduino\libraries\SerialFlash-master

Multiple libraries were found for "Adafruit_GFX.h"

Used: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX

Not used: C:\Users\User1\Documents\Arduino\libraries\Adafruit-GFX-Library-master

Using library EEPROM at version 2.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\EEPROM

Using library Wire at version 1.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Wire

Using library SPI at version 1.0 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SPI

Using library OpenAudio_ArduinoLibrary-master in folder: C:\Users\User1\Documents\Arduino\libraries\OpenAudio_ArduinoLibrary-master (legacy)

Using library Audio at version 1.3 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Audio

Using library SD at version 1.2.2 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SD

Using library SerialFlash at version 0.5 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\SerialFlash

Using library Adafruit_GFX at version 1.2.3 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX

Using library RA8875 at version 0.70.11 in folder: C:\Users\User1\Documents\Arduino\libraries\RA8875

Using library Rotary-master in folder: C:\Users\User1\Documents\Arduino\libraries\Rotary-master (legacy)

Using library Time-master at version 1.5 in folder: C:\Users\User1\Documents\Arduino\libraries\Time-master

Using library TimerOne at version 1.1 in folder: C:\Arduino 1.8.7\Arduino\hardware\teensy\avr\libraries\TimerOne

Using library UTFT in folder: C:\Users\User1\Documents\Arduino\libraries\UTFT (legacy)

Using library URTouch in folder: C:\Users\User1\Documents\Arduino\libraries\URTouch (legacy)

Using library UTFT_Buttons in folder: C:\Users\User1\Documents\Arduino\libraries\UTFT_Buttons (legacy)

'A21' was not declared in this scope

?

Art N2AJO

?

?

From: [email protected] <[email protected]> On Behalf Of jjpurdum via Groups.Io
Sent: Sunday, January 20, 2019 1:18 PM
To: [email protected]
Subject: [JackAl] Arduino IDE 1.8.8 issues continued

?

All:

I think I've found the compiler problem, but I'm not sure what's the best way to fix it. It appears that the new 1.8.8 release of the IDE changed the way the compiler handles duplicate definitions in library files. As it turns out, the files:

control_tlv320aic3206,cpp

control_tlv320aic3206.h

?

are duplicated in the Audio and OpenAudio_ArduinoLibrary libraries. I removed those two files from the OpenAudio_ArduinoLibrary and the code compile/uploaded and appears to work just fine. If you do this, remember you must unload/reload the IDE after any changes to the libraries. If you're using Version 1.8.7, you shouldn't have any issues.

When you compile the JackAl code, you will still get quite a few warnings. However, one of these says a variable is unused (e.g., delta), but that's not correct as it is used in an if/else statement block. Another says halfway is defined but not used. That one is legit, and I should have removed it. All of the rest of the warnings are within the library files. Since they are warnings, they can be ignored. True, I could go into the library code and fix them, but my feeling is that the author(s) of the libraries should be fixing their code, not me.

As to the duplicate library code, Al and I are still deciding the best way to handle it. Also, we notice that the Teensyduino install now installs a number of non-standard library files that we use, which means you would not have to download/install them yourself. We just want to make sure that those libraries are the same versions we are using...likely they are. When we figure out how we want to handle these issues, we will do another post here. My guess it will be tomorrow, as there are some football games I want to watch today!

Thanks for your patience...

Jack, W8TEE

?

Virus-free.

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