开云体育

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

Re: Compile error

 

开云体育

Thanks Jack, I've deleted everything, both Teensy and Aduino and reinstalled and "TimeLib" just isn't there, all
the others are.

Bob -wb6kwt

On 1/28/2019 6:30 AM, jjpurdum via Groups.Io wrote:

From the JackAl.h header file:


#include <Arduino.h>????????? // Standard with IDE
#include <EEPROM.h>?????????? // EEPROM distributed with Teensy libraries
#include <math.h>???????????? // Standard with IDE
#include <Wire.h>???????????? // Standard with IDE
#include <SPI.h>????????????? // Standard with IDE
#include <stdio.h>??????????? // Standard with IDE

#include <OpenAudio_ArduinoLibrary.h> //
#include <Adafruit_GFX.h>???? // Now supplied with Teensy Library install
#include <Audio.h>??????????? // Now supplied with Teensy Library install
#include <RA8875.h>?????????? //
#include <Rotary.h>?????????? //
#include <SerialFlash.h>????? // Now supplied with Teensy Library install
#include <Time.h>???????????? // Now supplied with Teensy Library install
#include <TimeLib.h>????????? // Now supplied with Teensy Library install
#include <TimerOne.h>???????? // Now supplied with Teensy Library install
#include <UTFT.h>???????????? // Now supplied with Teensy Library install
#include <URTouch.h>????????? //
#include <UTFT_Buttons.h>???? //



It seems you don't have the latest version of the Teensyduino if those libraries are missiing.

Jack, W8TEE

On Sunday, January 27, 2019, 12:33:28 PM EST, Bob Miller <bobrmiller@...> wrote:



Using library UTFT_Buttons in folder: D:\Ardunio 1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT_Buttons (legacy)
Error compiling for board Teensy 3.6.

This library is directly from the Teensy site, so don't understand what is going on. Also, The TimerLib.h file is missing
from the library, where do I find that one?

Bob -wb6kwt


Re: Compile error

 

From the JackAl.h header file:


#include <Arduino.h>????????? // Standard with IDE
#include <EEPROM.h>?????????? // EEPROM distributed with Teensy libraries
#include <math.h>???????????? // Standard with IDE
#include <Wire.h>???????????? // Standard with IDE
#include <SPI.h>????????????? // Standard with IDE
#include <stdio.h>??????????? // Standard with IDE

#include <OpenAudio_ArduinoLibrary.h> // http://hamradiodesigns.com/index.php/content/
#include <Adafruit_GFX.h>???? // Now supplied with Teensy Library install
#include <Audio.h>??????????? // Now supplied with Teensy Library install
#include <RA8875.h>?????????? // http://hamradiodesigns.com/index.php/content/
#include <Rotary.h>?????????? // https://github.com/brianlow/Rotary
#include <SerialFlash.h>????? // Now supplied with Teensy Library install
#include <Time.h>???????????? // Now supplied with Teensy Library install
#include <TimeLib.h>????????? // Now supplied with Teensy Library install
#include <TimerOne.h>???????? // Now supplied with Teensy Library install
#include <UTFT.h>???????????? // Now supplied with Teensy Library install
#include <URTouch.h>????????? // http://www.rinkydinkelectronics.com/library.php?id=92
#include <UTFT_Buttons.h>???? // http://www.rinkydinkelectronics.com/library.php?id=61



It seems you don't have the latest version of the Teensyduino if those libraries are missiing.

Jack, W8TEE

On Sunday, January 27, 2019, 12:33:28 PM EST, Bob Miller <bobrmiller@...> wrote:



Using library UTFT_Buttons in folder: D:\Ardunio 1.8.8\Arduino\hardware\teensy\avr\libraries\UTFT_Buttons (legacy)
Error compiling for board Teensy 3.6.

This library is directly from the Teensy site, so don't understand what is going on. Also, The TimerLib.h file is missing
from the library, where do I find that one?

Bob -wb6kwt


Re: Struggling to get the IDE installed.

 

Keep us posted...

Jack, W8TEE

On Monday, January 28, 2019, 9:09:22 AM EST, DaveC <murzim@...> wrote:


[Edited Message Follows]

Thanks Jack
Completely removed everything again and search all of my drives for anything Arduino related and removed a lot of it.
Still failed.
Back to the beginning again and this time didn't just disable anti virus but removed it and success.?
The anti virus software was stopping Java from working properly on the initial run of the Arduino IDE.
Bitdefender: It just blocks anything that it doesn't like without any warning. Think it's time it went as it's happened too many time.

Dave G8PGO


Re: Struggling to get the IDE installed.

DaveC
 
Edited

Thanks Jack
Completely removed everything again and search all of my drives for anything Arduino related and removed a lot of it.
Still failed.
Back to the beginning again and this time didn't just disable anti virus but removed it and success.?
The anti virus software was stopping Java from working properly on the initial run of the Arduino IDE.
Bitdefender: It just blocks anything that it doesn't like without any warning. Think it's time it went as it's happened too many time.

Dave G8PGO


Re: complile errors

 

You're right...I didn't look to the end of the function. It appears it can be deleted. I'm not sure why I added it...

Jack, W8TEE

On Sunday, January 27, 2019, 11:39:27 PM EST, Brian Bowling <bowlingb@...> wrote:


Jack,

The first compiler warning says that 'delta' is set but not used.? Looking at the function it appears that is true.? I don't see where 'delta' is used after it's set.

Brian - N8BDB?

On Sun, Jan 27, 2019 at 9:34 PM jjpurdum via Groups.Io <jjpurdum=[email protected]> wrote:
Once again, the warning in yellow below is caused by this statement block:

int SetFilterCenterFrequency(int scaleStart, int ScaleEnd, int whichOne)
{
? char temp[4];
? int coordinate, delta, increment, target;

? increment = 50;
? target??? = 700;

? switch (whichOne) {?????????????? // Drawing for which filter?
??? case CWFILTER1:
????? target = cwCenterFrequency;
????? delta = 200;
????? break;

??? case CWFILTER3:
????? target = ssbCenterFrequency;
????? delta = 1000;
????? break;
// More lines....


As you can see, the error message is bogus, delta is set, but within a switch/case statement block and the GNU compiler does not parse it correctly. The #pragma errors can also be ignored. Besides, they are in libraries and, even though I could correct them, it's not my library.

If you have a previous install of the Teensyduino, you need to uninstall it, download the latest version and install it. The reason is because a number of libraries we use are those provided by the Teensy, not Adafruit. Read all of the documents before you try to install any of the software. It will say you time in the long run.

Jack, W8TEE


On Sunday, January 27, 2019, 7:22:07 PM EST, James Zdunic <james_zdunic@...> wrote:


Since the message indicates the teensy loader was activated I believe the compiler is happy.? I am getting the same (or very similar) messages when I compile and am able to load it into the teensy board.? However I can’t speak in regards to functionality since I have not yet finished the build.

Jim KM4TXR

> On Jan 27, 2019, at 7:11 PM, k7da <k7da@...> wrote:
>
> ctrl-c worked just didn't think it di before.
>
>
> file compiles now with the below warnings i guess they are.? do they need to be corrected or is it good the way it is?
>
> dave k7da
>
>
>
> Equalizer.cpp: In function 'void SetEqualizerBands()':
> Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
>? ? ? rxEqualizer[j] = position;
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]
>
>? ? int coordinate, delta, increment, target;
>
>? ? ? ? ? ? ? ? ? ? ^
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...
>
>? ? #pragma message("Compiling for Teensy 3.X...")
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:
>





--
“si vis pacem, para bellum”

--
Brian - N8BDB


Re: complile errors

 

Jack,

Sorry, that was the second compiler warning, not the first.

The first warning is correct as well.? If the condition ('digitalRead(FILTERENCODERSWITCH) != LOW') is false when first evaluated, execution falls through to the MyDelay() call.? execution then uses the uninitialized position variable in the statement flagged by the compiler.??

Brian - N8BDB


On Sun, Jan 27, 2019 at 11:39 PM Brian Bowling via Groups.Io <bowlingb=[email protected]> wrote:
Jack,

The first compiler warning says that 'delta' is set but not used.? Looking at the function it appears that is true.? I don't see where 'delta' is used after it's set.

Brian - N8BDB?

On Sun, Jan 27, 2019 at 9:34 PM jjpurdum via Groups.Io <jjpurdum=[email protected]> wrote:
Once again, the warning in yellow below is caused by this statement block:

int SetFilterCenterFrequency(int scaleStart, int ScaleEnd, int whichOne)
{
? char temp[4];
? int coordinate, delta, increment, target;

? increment = 50;
? target??? = 700;

? switch (whichOne) {?????????????? // Drawing for which filter?
??? case CWFILTER1:
????? target = cwCenterFrequency;
????? delta = 200;
????? break;

??? case CWFILTER3:
????? target = ssbCenterFrequency;
????? delta = 1000;
????? break;
// More lines....


As you can see, the error message is bogus, delta is set, but within a switch/case statement block and the GNU compiler does not parse it correctly. The #pragma errors can also be ignored. Besides, they are in libraries and, even though I could correct them, it's not my library.

If you have a previous install of the Teensyduino, you need to uninstall it, download the latest version and install it. The reason is because a number of libraries we use are those provided by the Teensy, not Adafruit. Read all of the documents before you try to install any of the software. It will say you time in the long run.

Jack, W8TEE


On Sunday, January 27, 2019, 7:22:07 PM EST, James Zdunic <james_zdunic@...> wrote:


Since the message indicates the teensy loader was activated I believe the compiler is happy.? I am getting the same (or very similar) messages when I compile and am able to load it into the teensy board.? However I can’t speak in regards to functionality since I have not yet finished the build.

Jim KM4TXR

> On Jan 27, 2019, at 7:11 PM, k7da <k7da@...> wrote:
>
> ctrl-c worked just didn't think it di before.
>
>
> file compiles now with the below warnings i guess they are.? do they need to be corrected or is it good the way it is?
>
> dave k7da
>
>
>
> Equalizer.cpp: In function 'void SetEqualizerBands()':
> Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
>? ? ? rxEqualizer[j] = position;
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]
>
>? ? int coordinate, delta, increment, target;
>
>? ? ? ? ? ? ? ? ? ? ^
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...
>
>? ? #pragma message("Compiling for Teensy 3.X...")
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:
>





--
“si vis pacem, para bellum”

--
Brian - N8BDB



--
“si vis pacem, para bellum”

--
Brian - N8BDB


Re: complile errors

 

Jack,

The first compiler warning says that 'delta' is set but not used.? Looking at the function it appears that is true.? I don't see where 'delta' is used after it's set.

Brian - N8BDB?

On Sun, Jan 27, 2019 at 9:34 PM jjpurdum via Groups.Io <jjpurdum=[email protected]> wrote:
Once again, the warning in yellow below is caused by this statement block:

int SetFilterCenterFrequency(int scaleStart, int ScaleEnd, int whichOne)
{
? char temp[4];
? int coordinate, delta, increment, target;

? increment = 50;
? target??? = 700;

? switch (whichOne) {?????????????? // Drawing for which filter?
??? case CWFILTER1:
????? target = cwCenterFrequency;
????? delta = 200;
????? break;

??? case CWFILTER3:
????? target = ssbCenterFrequency;
????? delta = 1000;
????? break;
// More lines....


As you can see, the error message is bogus, delta is set, but within a switch/case statement block and the GNU compiler does not parse it correctly. The #pragma errors can also be ignored. Besides, they are in libraries and, even though I could correct them, it's not my library.

If you have a previous install of the Teensyduino, you need to uninstall it, download the latest version and install it. The reason is because a number of libraries we use are those provided by the Teensy, not Adafruit. Read all of the documents before you try to install any of the software. It will say you time in the long run.

Jack, W8TEE


On Sunday, January 27, 2019, 7:22:07 PM EST, James Zdunic <james_zdunic@...> wrote:


Since the message indicates the teensy loader was activated I believe the compiler is happy.? I am getting the same (or very similar) messages when I compile and am able to load it into the teensy board.? However I can’t speak in regards to functionality since I have not yet finished the build.

Jim KM4TXR

> On Jan 27, 2019, at 7:11 PM, k7da <k7da@...> wrote:
>
> ctrl-c worked just didn't think it di before.
>
>
> file compiles now with the below warnings i guess they are.? do they need to be corrected or is it good the way it is?
>
> dave k7da
>
>
>
> Equalizer.cpp: In function 'void SetEqualizerBands()':
> Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
>? ? ? rxEqualizer[j] = position;
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]
>
>? ? int coordinate, delta, increment, target;
>
>? ? ? ? ? ? ? ? ? ? ^
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...
>
>? ? #pragma message("Compiling for Teensy 3.X...")
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:
>





--
“si vis pacem, para bellum”

--
Brian - N8BDB


Re: Struggling to get the IDE installed.

 

Part of the problem is that you still have a previous install on path. Also, you did not set up the JackAl source code directory, as evidenced here:

from C:\Users\dave\AppData\Local\Temp\arduino_build_186874\sketch\JackAl_Ver0.91a.ino.cpp:1:

This tells me that the JackAl source file is not where it should be and there must still be an old Arduino install somewhere on path. I would use Explore to find all "Arduino" entries and remove them, then follow the install instructions found on hamradiodesigns.com. My guess is that your File --> Preferences dialog has a path that is different from the path I suggested in the DOC file.

Jack, W8TEE



On Sunday, January 27, 2019, 10:28:25 PM EST, DaveC <murzim@...> wrote:


I have been struggling to get the new IDE and all the files installed as per Jack's documents, including the latest version. even tried on an almost clean install of Windows 10 with no luck.
When I first start the IDE I get a lot of java error, see attached file.
With everything installed I get compile errors again see attached file.

Checked and rechecked and can not see what I have done wrong. Hoping someone can point me in the right direction.

Thanks
Dave G8PGO


Struggling to get the IDE installed.

DaveC
 

I have been struggling to get the new IDE and all the files installed as per Jack's documents, including the latest version. even tried on an almost clean install of Windows 10 with no luck.
When I first start the IDE I get a lot of java error, see attached file.
With everything installed I get compile errors again see attached file.

Checked and rechecked and can not see what I have done wrong. Hoping someone can point me in the right direction.

Thanks
Dave G8PGO


Re: compile errors

 

Read my other post as I've answered this before.

Jack, W8TEE

On Sunday, January 27, 2019, 4:33:31 PM EST, k7da <k7da@...> wrote:


hello all.

what is the compiler trying to say?


Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "Teensy 3.6, Serial, 180
MHz, Faster, US English"

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function
'int SetFilterCenterFrequency(int, int, int)':

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning:
variable 'delta' set but not used [-Wunused-but-set-variable]

?? int coordinate, delta, increment, target;

?????????????????? ^

Equalizer.cpp: In function 'void SetEqualizerBands()':
Equalizer.cpp:220: warning: 'position' may be used uninitialized in this
function
???? rxEqualizer[j] = position;

????????????????????????????? ^

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note:
#pragma message: Compiling for Teensy 3.X...

?? #pragma message("Compiling for Teensy 3.X...")

??????????????????????????????????????????????? ^

In file included from
C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66:
note: #pragma message: Using Ports B&D - pins should be connected to:

? #pragma message("Using Ports B&D - pins should be connected to:")

^

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:106:89:
note: #pragma message: DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0,
DB_5=1, DB_6=29, DB_7=30

? #pragma message ("DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0, DB_5=1,
DB_6=29, DB_7=30")

^

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:110:92:
note: #pragma message: DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6,
DB_13=20, DB_14=21, DB_15=5

? #pragma message ("DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6,
DB_13=20, DB_14=21, DB_15=5")

^

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:111:91:
note: #pragma message: If using a display with an 8-bit bus, use
connections to DB_8 to DB_15

? #pragma message ("If using a display with an 8-bit bus, use
connections to DB_8 to DB_15")

^

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp:
In member function 'void UTFT_Buttons::deleteAllButtons()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp:199:19:
warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]

?? buttons[i].label="";

?????????????????? ^

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::disable()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

c:/arduino1.8.8/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe:
Disabling relaxation: it will not work with multiple definitions

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::inputLevel(float)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_goToPage(unsigned
char)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of
`AudioControlTLV320AIC3206::aic_writePage(unsigned char, unsigned char,
unsigned char)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_reset()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_init()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of
`AudioControlTLV320AIC3206::aic_writeAddress(unsigned short, unsigned char)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::setMicBias(int)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::inputSelect(int)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_initADC()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::setInputGain_dB(float)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::volume_dB(float)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::volume(float)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_initDAC()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::aic_readPage(unsigned
char, unsigned char)'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `AudioControlTLV320AIC3206::enable()'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\Audio\control_tlv320aic3206.cpp.o:
In function `AudioControlTLV320AIC3206::disable()':

C:\arduino1.8.8\hardware\teensy\avr\libraries\Audio/control_tlv320aic3206.cpp:170:
multiple definition of `vtable for AudioControlTLV320AIC3206'

C:\Users\dave\AppData\Local\Temp\arduino_build_998213\libraries\OpenAudio_ArduinoLibrary\control_tlv320aic3206.cpp.o:C:\arduino1.8.8\hardware\teensy\avr\libraries\OpenAudio_ArduinoLibrary/control_tlv320aic3206.cpp:168:
first defined here

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "SD.h"
?Used: C:\arduino1.8.8\hardware\teensy\avr\libraries\SD
?Not used: C:\arduino1.8.8\libraries\SD
Error compiling for board Teensy 3.6.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.





Re: New Document File: Installing the IDE

 

The other complication is that each person who writes a library and posts it on Github, but lets Arduino/Teensy uses know about it, is free to implement it anyway they want to, including its packaging (e.g. zip) and unpacking. This has lead to considerable chaos with some libraries tacking on the "-master" at the end of the file name/directory while others do not. Indeed, I think that's one reason that PJRC now includes other vendor libraries as part of their install...it gives them a way to "tweak" those libraries.

I chose to install the IDE and Teensyduino the way I did because, then, it is completely isolated. You can install additional versions of either software and my paths shouldn't cross theirs. Also, it allows me to say: "go to this folder on path XXXXX and save this file in that directory" and it impacts only the JackAl software. I honestly believe it will result in better support.

Jack, W8TEE

On Sunday, January 27, 2019, 3:01:56 PM EST, Gary Anderson <gary.ag5tx@...> wrote:


Jim,
Most likely you still had?sketchbook.path (sketchbook location in the preferences) pointing to "c:/users/admininstrator/my documents/arduino" (where windows wants it) and not to?C:\JackAlCode (where Jack has requested it)
If you have a "libraries" folder in your sketchbook folder and a library in there that matches the #include<file> it will be the one chosen. Top priority over the core folder or IDE installation folder.

Comment: The IDE is setup this way so users can add libraries / copy and modify a local copy of the library that is specific to that sketchbook. You can have a sketchbook "JackAl" with additional and/or customized libs, and you can have another Sketchbook with different libraries and still use the same IDE installation without potential conflict do to a modified lib.? The IDE has been updated over time to handle the situation we have here. Custom libs for a sketchbook.? For numerous reasons, promoting a customized library to the core or IDE installation folder is not what I would choose to do.? However this way is NOT how Jack instructed you to do it. For this project, I still recommend following Jack's instructions; especially if you are in need of assistance.? Hence the suggestions from Jan 25.

Fact check the library guide:?

Note about:

Using Sketch -> Include Library -> Add Zip Library … in the Arduino IDE.

This tool is not smart.? Library directory names have to follow rules.? Evidently those rules were not considered when this tool was added.? If it were a reasonable tool, it would know the rules, flag a lib directory name that was not compliant, make a suggestion and let the user choose the proper name upon import. You can use the tool to effectively unzip the folder and place it in the sketchbook library, but you still have to go to the library and fix the name manually if the name is not compliant.?? Might as well just put it there manually to begin with, IMO.? The user still needs to be aware of the naming rules, the tool does not help. Seems this functionality would have been added a long time ago, with so many users using libs from GitHub.?Not a hair puller, just a disappointment that the tool is lacking.

Rgds,
Gary


Re: complile errors

 

Again, the GNU compiler isn't smart enough to see that position below is set.

????? position = rxEqualizer[j];
????? if (position < 160)??????????????? // Don't overshoot/undershoot
??????? position = 160;
????? if (position > 358)
??????? position = 358;

Clearly, it is set in line 203 and then reset by the if blocks.

You can correct all the warnings if you want to, but there is no reason to. First, the person who writes the library should be the one who maintains it. That person simply hasn't kept up with the compiler changes. Second, if you do correct them, then you are out of sync with everyone else, making support much more difficult, if not impossible. Warnings should not stop a compile/upload.

Jack, W8TEE


On Sunday, January 27, 2019, 7:11:57 PM EST, k7da <k7da@...> wrote:


ctrl-c worked just didn't think it di before.


file compiles now with the below warnings i guess they are.? do they
need to be corrected or is it good the way it is?

dave k7da



Equalizer.cpp: In function 'void SetEqualizerBands()':
Equalizer.cpp:220: warning: 'position' may be used uninitialized in this
function
???? rxEqualizer[j] = position;

????????????????????????????? ^

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function
'int SetFilterCenterFrequency(int, int, int)':

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning:
variable 'delta' set but not used [-Wunused-but-set-variable]

?? int coordinate, delta, increment, target;

?????????????????? ^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note:
#pragma message: Compiling for Teensy 3.X...

?? #pragma message("Compiling for Teensy 3.X...")

??????????????????????????????????????????????? ^

In file included from
C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66:
note: #pragma message: Using Ports B&D - pins should be connected to:

? #pragma message("Using Ports B&D - pins should be connected to:")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:106:89:
note: #pragma message: DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0,
DB_5=1, DB_6=29, DB_7=30

? #pragma message ("DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0, DB_5=1,
DB_6=29, DB_7=30")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:110:92:
note: #pragma message: DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6,
DB_13=20, DB_14=21, DB_15=5

? #pragma message ("DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6,
DB_13=20, DB_14=21, DB_15=5")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:111:91:
note: #pragma message: If using a display with an 8-bit bus, use
connections to DB_8 to DB_15

? #pragma message ("If using a display with an 8-bit bus, use
connections to DB_8 to DB_15")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp:
In member function 'void UTFT_Buttons::deleteAllButtons()':

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp:199:19:
warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]

?? buttons[i].label="";

?????????????????? ^

Opening Teensy Loader...

Sketch uses 210536 bytes (20%) of program storage space. Maximum is
1048576 bytes.
Global variables use 35676 bytes (13%) of dynamic memory, leaving 226468
bytes for local variables. Maximum is 262144 bytes.





Re: complile errors

 

Once again, the warning in yellow below is caused by this statement block:

int SetFilterCenterFrequency(int scaleStart, int ScaleEnd, int whichOne)
{
? char temp[4];
? int coordinate, delta, increment, target;

? increment = 50;
? target??? = 700;

? switch (whichOne) {?????????????? // Drawing for which filter?
??? case CWFILTER1:
????? target = cwCenterFrequency;
????? delta = 200;
????? break;

??? case CWFILTER3:
????? target = ssbCenterFrequency;
????? delta = 1000;
????? break;
// More lines....


As you can see, the error message is bogus, delta is set, but within a switch/case statement block and the GNU compiler does not parse it correctly. The #pragma errors can also be ignored. Besides, they are in libraries and, even though I could correct them, it's not my library.

If you have a previous install of the Teensyduino, you need to uninstall it, download the latest version and install it. The reason is because a number of libraries we use are those provided by the Teensy, not Adafruit. Read all of the documents before you try to install any of the software. It will say you time in the long run.

Jack, W8TEE


On Sunday, January 27, 2019, 7:22:07 PM EST, James Zdunic <james_zdunic@...> wrote:


Since the message indicates the teensy loader was activated I believe the compiler is happy.? I am getting the same (or very similar) messages when I compile and am able to load it into the teensy board.? However I can’t speak in regards to functionality since I have not yet finished the build.

Jim KM4TXR

> On Jan 27, 2019, at 7:11 PM, k7da <k7da@...> wrote:
>
> ctrl-c worked just didn't think it di before.
>
>
> file compiles now with the below warnings i guess they are.? do they need to be corrected or is it good the way it is?
>
> dave k7da
>
>
>
> Equalizer.cpp: In function 'void SetEqualizerBands()':
> Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
>? ? ? rxEqualizer[j] = position;
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':
>
> C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]
>
>? ? int coordinate, delta, increment, target;
>
>? ? ? ? ? ? ? ? ? ? ^
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...
>
>? ? #pragma message("Compiling for Teensy 3.X...")
>
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
>
> In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:
>
> C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:
>




Re: Compile error

 

开云体育

Thanks, the file I think that's missing is timelib Jim listed it as a file which is needed and supplied in the Teensy.

Bob

On 1/27/2019 5:16 PM, Gary Anderson wrote:

Bob,
If you are still having issues, please send us the whole log so someone can help.
The error indication information is going to be much further up in the log.
Might seem a little counter-intuitive, but seeing the last lib used is most likely not the problem.

You should be picking up the Time lib from?\\Arduino1.8.8\\hardware\\teensy\\avr\\libraries\\Time

Rgds,
Gary


Re: Compile error

 

Bob,
If you are still having issues, please send us the whole log so someone can help.
The error indication information is going to be much further up in the log.
Might seem a little counter-intuitive, but seeing the last lib used is most likely not the problem.

You should be picking up the Time lib from?\\Arduino1.8.8\\hardware\\teensy\\avr\\libraries\\Time

Rgds,
Gary


Re: New Document File: Installing the IDE

James Zdunic
 

开云体育

Thanks for the reply Gary.

Yeah, even after I uninstalled the IDE and reloaded it the way Jack instructed?it seems that remnants of libraries from my initial default IDE installation remained and the new IDE installation was somehow aware of them. ? After deleting the old arduino folder from the previous install the compile seems to be successful.

Jim KM4TXR

On Jan 27, 2019, at 3:01 PM, Gary Anderson <gary.ag5tx@...> wrote:

Jim,
Most likely you still had?sketchbook.path (sketchbook location in the preferences) pointing to "c:/users/admininstrator/my documents/arduino" (where windows wants it) and not to?C:\JackAlCode (where Jack has requested it)
If you have a "libraries" folder in your sketchbook folder and a library in there that matches the #include<file> it will be the one chosen. Top priority over the core folder or IDE installation folder.

Comment: The IDE is setup this way so users can add libraries / copy and modify a local copy of the library that is specific to that sketchbook. You can have a sketchbook "JackAl" with additional and/or customized libs, and you can have another Sketchbook with different libraries and still use the same IDE installation without potential conflict do to a modified lib.? The IDE has been updated over time to handle the situation we have here. Custom libs for a sketchbook.? For numerous reasons, promoting a customized library to the core or IDE installation folder is not what I would choose to do.? However this way is NOT how Jack instructed you to do it. For this project, I still recommend following Jack's instructions; especially if you are in need of assistance.? Hence the suggestions from Jan 25.

Fact check the library guide:?

Note about:

Using Sketch -> Include Library -> Add Zip Library … in the Arduino IDE.

This tool is not smart.? Library directory names have to follow rules.? Evidently those rules were not considered when this tool was added.? If it were a reasonable tool, it would know the rules, flag a lib directory name that was not compliant, make a suggestion and let the user choose the proper name upon import. You can use the tool to effectively unzip the folder and place it in the sketchbook library, but you still have to go to the library and fix the name manually if the name is not compliant.?? Might as well just put it there manually to begin with, IMO.? The user still needs to be aware of the naming rules, the tool does not help. Seems this functionality would have been added a long time ago, with so many users using libs from GitHub.?Not a hair puller, just a disappointment that the tool is lacking.

Rgds,
Gary


Re: complile errors

James Zdunic
 

Since the message indicates the teensy loader was activated I believe the compiler is happy. I am getting the same (or very similar) messages when I compile and am able to load it into the teensy board. However I can’t speak in regards to functionality since I have not yet finished the build.

Jim KM4TXR

On Jan 27, 2019, at 7:11 PM, k7da <k7da@...> wrote:

ctrl-c worked just didn't think it di before.


file compiles now with the below warnings i guess they are. do they need to be corrected or is it good the way it is?

dave k7da



Equalizer.cpp: In function 'void SetEqualizerBands()':
Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
rxEqualizer[j] = position;

^

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]

int coordinate, delta, increment, target;

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...

#pragma message("Compiling for Teensy 3.X...")

^

In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:


complile errors

 

ctrl-c worked just didn't think it di before.


file compiles now with the below warnings i guess they are.? do they need to be corrected or is it good the way it is?

dave k7da



Equalizer.cpp: In function 'void SetEqualizerBands()':
Equalizer.cpp:220: warning: 'position' may be used uninitialized in this function
???? rxEqualizer[j] = position;

????????????????????????????? ^

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino: In function 'int SetFilterCenterFrequency(int, int, int)':

C:\JackaLSourceCode\JackAl_Ver0.91a\JackAl_Ver0.91a.ino:622:19: warning: variable 'delta' set but not used [-Wunused-but-set-variable]

?? int coordinate, delta, increment, target;

?????????????????? ^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:78:48: note: #pragma message: Compiling for Teensy 3.X...

?? #pragma message("Compiling for Teensy 3.X...")

??????????????????????????????????????????????? ^

In file included from C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\UTFT.cpp:79:0:

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:104:66: note: #pragma message: Using Ports B&D - pins should be connected to:

? #pragma message("Using Ports B&D - pins should be connected to:")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:106:89: note: #pragma message: DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0, DB_5=1, DB_6=29, DB_7=30

? #pragma message ("DB_0=16, DB_1=17, DB_2=19, DB_3=18, DB_4=0, DB_5=1, DB_6=29, DB_7=30")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:110:92: note: #pragma message: DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6, DB_13=20, DB_14=21, DB_15=5

? #pragma message ("DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6, DB_13=20, DB_14=21, DB_15=5")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT\hardware/arm/HW_Teensy3.h:111:91: note: #pragma message: If using a display with an 8-bit bus, use connections to DB_8 to DB_15

? #pragma message ("If using a display with an 8-bit bus, use connections to DB_8 to DB_15")

^

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp: In member function 'void UTFT_Buttons::deleteAllButtons()':

C:\Arduino1.8.8\hardware\teensy\avr\libraries\UTFT_Buttons\UTFT_Buttons.cpp:199:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

?? buttons[i].label="";

?????????????????? ^

Opening Teensy Loader...

Sketch uses 210536 bytes (20%) of program storage space. Maximum is 1048576 bytes.
Global variables use 35676 bytes (13%) of dynamic memory, leaving 226468 bytes for local variables. Maximum is 262144 bytes.


Re: compile errors

James Zdunic
 

开云体育

I click and hold at the beginning of error message then drag down over it to the end to highlight it. ?The press ctrl-c to copy.

Jim KM4TXR

On Jan 27, 2019, at 6:46 PM, k7da <k7da@...> wrote:

that was the problem. but..?? do you know how to copy the error message when there is no copy msg? on the blue bar above the msg output area.? not the code area.

dave k7da


On 1/27/2019 2:19 PM, Gary Anderson wrote:

That you have?control_tlv320aic3206 in both OpenAudio_ArduinoLibrary and Audio libs. Jack made a custom OpenAudio_ArduinoLibrary stripping out control_tlv320aic3206 (.cpp and .h) to avoid this and has posted it on // Replace OpenAudio_ArduinoLibrary with the one from hamradiodesigns. this should fix your problem. I was pulling hair out last Sunday night on the same thing, until I came to a conclusion that Jack was probably working with an older version of the Teesyduino than he 'told' us to use.
"told" meaning that the link given in the documents:??had most likely been updated since he last checked, and we weren't all singing from the same page in the songbook.
I stripped out the collision (the same way) and had a successful compile Monday morning.

-Gary


Re: compile errors

 

开云体育

that was the problem. but..?? do you know how to copy the error message when there is no copy msg? on the blue bar above the msg output area.? not the code area.

dave k7da


On 1/27/2019 2:19 PM, Gary Anderson wrote:

That you have?control_tlv320aic3206 in both OpenAudio_ArduinoLibrary and Audio libs. Jack made a custom OpenAudio_ArduinoLibrary stripping out control_tlv320aic3206 (.cpp and .h) to avoid this and has posted it on // Replace OpenAudio_ArduinoLibrary with the one from hamradiodesigns. this should fix your problem. I was pulling hair out last Sunday night on the same thing, until I came to a conclusion that Jack was probably working with an older version of the Teesyduino than he 'told' us to use.
"told" meaning that the link given in the documents:??had most likely been updated since he last checked, and we weren't all singing from the same page in the songbook.
I stripped out the collision (the same way) and had a successful compile Monday morning.

-Gary