¿ªÔÆÌåÓý

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

Re: Compiling JackAl V096


 

¿ªÔÆÌåÓý

Thank you Jack.? Unfortunately I still have the same error.? Looking on the Github site I see that the Time Library was updated 6 days ago.? I wonder if a change was made that causes me to get the strcpy_P error.? I know you are a very busy man with several projects underway but would it be possible for you to send me your copy of the Time Library to see if that is the problem.? If not I am at a dead end.? As a last straw perhaps someone would allow me to send them my Teensy and they can load the firmware for me.? I have been successful with other Arduino projects but this one has me at a loss.
Thank you,
Vince


On 7/7/2019 9:36 AM, jjpurdum via Groups.Io wrote:

Vince:

I did not recall that function call, so I loaded up Ver096 and did a global search. Nowhere in my version is there a call to strcpy_P. I'm attaching my version of the software. Download it into a different directory and see if you can compile it.

Jack, W8TEE

On Sunday, July 7, 2019, 8:09:30 AM EDT, V Zecchinelli <n1vin@...> wrote:


Worked more on this but still having the same issue as attached error log.? Still getting 'strcpy_P' was not declared in this scope.? Perhaps this is not the issue and I am missing something.
What I have done:
-Started anew with new Arduino 1.8.9 install
-Re-installed Teensy software to Arduino 1.8.9
-Downloaded and installed all appropriate libraries including ones in FILES section as pointed out by Jack (embarrassed I didn't locate those on my own)
-Extensive Google search for 'strcpy_P' was not declared in this scope references
??? -Seems it is dependent on string.h which I located in the INCLUDE directory
??? -Placed a copy of string.h in LIBRARIES but with same results
-Scoured JACKAL and SOFTWARECONTROLLEDRADIO groups but found no reference to my issue

I know the problem is me but have very limited programming experience so am really just shooting in the dark.
I would greatly appreciate any suggestions that might steer me down the correct path.
See attached error log for reference.

Thank you,
73 Vince N1VIN




On 7/5/2019 8:58 AM, jjpurdum via Groups.Io wrote:
You should also see:


RA8875.zip


You need to download and install these versions of the library because we had to modify the source code in those libraries. The URL's in the source code were given for those so someone who wanted access to the original source could find them.

Jack, W8TEE



On Friday, July 5, 2019, 7:35:59 AM EDT, V Zecchinelli <n1vin@...> wrote:


Thank you Jack.? I am sure the problem is something I am doing wrong.? This is what I have done:

I don't see any library files in the files section, only shown is:

Name ??? Type ??? Uploaded By ??? Size ??? Uploaded
InstallingTheArduinoIDE.doc?? Report File
??? File ??? jjpurdum ??? 880 kB ??? Apr 18
JackAl AssemblyManual (Ver12)-Section 1.docx?? Report File
??? File ??? jjpurdum ??? 14 MB ??? Apr 18
JackAl AssemblyManual (Ver16)-Section 2 .docx?? Report File
??? File ??? jjpurdum ??? 18 MB ??? Apr 18
JackAl Initial Checkout.docx?? Report File
??? File ??? jjpurdum ??? 1.2 MB ??? Apr 18
JackAlV096.7z?? Report File
??? File ??? jjpurdum ??? 62 kB ??? Apr 18
PDF
RA8875 Display protection001.pdf?? Report File
??? PDF ??? jjpurdum ??? 220 kB ??? Apr 18
PDF
WiringHarnessInstructions.pdf?? Report File
??? PDF ??? jjpurdum ??? 17 MB ??? Apr 18

The library files I used per InstallingNewLibraries.doc:

#include <Adafruit_GFX.h>???? //
#include <Audio.h>??????????? // ??
#include <RA8875.h>?????????? // ??
#include <OpenAudio_ArduinoLibrary.h> // ??

#include <Rotary.h>?????????? //
#include <SerialFlash.h>????? // ??
#include <Time.h>???????????? // ??
#include <TimeLib.h>????????? // Part of the Stoffregen library, done for backward compatibiliity??

#include <TimerOne.h>???????? // Distributed with Teensy
#include <UTFT.h>???????????? // ??
#include <URTouch.h>????????? //
#include <UTFT_Buttons.h>???? //

All files in yellow are located C:\Arduino1.8.9\hardware\teensy\avr\libraries
All other files are located C:\Arduino1.8.9\libraries

Are there files I am missing or wrong files I am using?? I have noticed that during compiling with error reporting set to verbose there are instances where it states that multiple *.h files were found and then it states the one used.? Is this the issue?? If yes, how do I make it use the files listed above?? My file structure is identical to your example in InstallingNewLibraries.doc.

Thanks,
Vince



On 7/4/2019 10:18 PM, jjpurdum via Groups.Io wrote:
You must use the libraries that are in the Files section of the group, as we had to modify them to work with the displays were are using.

Jack, W8TEE

On Thursday, July 4, 2019, 4:49:23 PM EDT, V Zecchinelli <n1vin@...> wrote:


Jack,
Thank you for your reply, especially on a holiday.? This matter can certainly can wait until tomorrow.

I am using Windows 10 on Acer Gen 7 with 3.1Ghz processor.? I totally scrapped my attempts at compiling and started over using your InstallingNewLibraries doc.? I seem to be having issues with the RA8875 library during compilation.? I have not seen the Collect2.exe error to this point so I will assume that is moot.

Have I downloaded the wrong *.h file?? I used the URLs provided in the document.? The Teensy 3.6 is the one from PJRC.

Arduino: 1.8.9 (Windows 10), TD: 1.46, Board: "Teensy 3.6, All of the Above, 180 MHz, Faster, US English"


Using library EEPROM at version 2.0 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\EEPROM
Using library Wire at version 1.0 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\Wire
Using library SPI at version 1.0 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\SPI
Using library OpenAudio_ArduinoLibrary in folder: C:\Arduino_1_8_9\libraries\OpenAudio_ArduinoLibrary (legacy)
Using library Audio at version 1.3 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\Audio
Using library SD at version 1.2.2 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\SD
Using library SerialFlash at version 0.5 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\SerialFlash
Using library Adafruit_GFX at version 1.4.8 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\Adafruit_GFX
Using library RA8875 at version 0.70.11 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\RA8875
Using library Rotary in folder: C:\Users\Vin\Documents\Arduino\libraries\Rotary (legacy)
Using library Time at version 1.5 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\Time
Using library TimerOne at version 1.1 in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\TimerOne
Using library UTFT in folder: C:\Arduino_1_8_9\hardware\teensy\avr\libraries\UTFT (legacy)
Using library URTouch in folder: C:\Arduino_1_8_9\libraries\URTouch (legacy)
Using library UTFT_Buttons in folder: C:\Arduino_1_8_9\libraries\UTFT_Buttons (legacy)
In file included from C:\Arduino_1_8_9\hardware\teensy\avr\libraries\RA8875/RA8875.h:129:0,

???????????????? from C:\Users\Vin\AppData\Local\Temp\arduino_build_919634\sketch\JackAl.h:21,

???????????????? from C:\Users\Vin\AppData\Local\Temp\arduino_build_919634\sketch\DisplayCalibration.cpp:20:

C:\Arduino_1_8_9\hardware\teensy\avr\libraries\RA8875/_settings/RA8875_CPU_commons.h:164:3: warning: #warning "Generic Arm detected, not sure if your board it's compatible!" [-Wcpp]

? #warning "Generic Arm detected, not sure if your board it's compatible!"

?? ^

In file included from C:\Arduino_1_8_9\hardware\teensy\avr\libraries\RA8875/RA8875.h:129:0,

???????????????? from C:\Users\Vin\AppData\Local\Temp\arduino_build_919634\sketch\JackAl.h:21,

???????????????? from C:\Users\Vin\AppData\Local\Temp\arduino_build_919634\sketch\AlsFilterCode.cpp:18:

C:\Arduino_1_8_9\hardware\teensy\avr\libraries\RA8875/_settings/RA8875_CPU_commons.h:164:3: warning: #warning "Generic Arm detected, not sure if your board it's compatible!" [-Wcpp]

? #warning "Generic Arm detected, not sure if your board it's compatible!"

?? ^

DisplayCalibration.cpp: In function 'void GetTouchCoordinates()':
DisplayCalibration.cpp:124: error: 'class RA8875' has no member named 'touched'
?? tft.touched();

?????? ^

DisplayCalibration.cpp:126: error: 'class RA8875' has no member named 'touchReadAdc'
???? tft.touchReadAdc(&tx, &ty);???????? //read directly from ADC - raw values

???????? ^

DisplayCalibration.cpp:140: error: 'class RA8875' has no member named 'touched'
?? } while (tft.touched() and i <= 100);? // Do this up to 100 times as long as button pushed

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

DisplayCalibration.cpp:154: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(false); // Turn off touch to prevent additional touches for 100ms

???????? ^

DisplayCalibration.cpp:156: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(true);? //Turn touch back on

???????? ^

DisplayCalibration.cpp: In function 'void GetTouchCoordinates2()':
DisplayCalibration.cpp:190: error: 'class RA8875' has no member named 'touched'
?? tft.touched();

?????? ^

DisplayCalibration.cpp:192: error: 'class RA8875' has no member named 'touchReadAdc'
???? tft.touchReadAdc(&tx, &ty);???????? //read directly from ADC - raw values

???????? ^

DisplayCalibration.cpp:201: error: 'class RA8875' has no member named 'touchEnable'
?????? tft.touchEnable(false);

?????????? ^

DisplayCalibration.cpp:206: error: 'class RA8875' has no member named 'touched'
?? } while (tft.touched());? // Do this up to 100 times as long as button pushed

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

DisplayCalibration.cpp:229: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(false); // Turn off touch to prevent additional touches for 100ms

???????? ^

DisplayCalibration.cpp:231: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(true);? //Turn touch back on

???????? ^

DisplayCalibration.cpp: In function 'void InitDisplayCalibration()':
DisplayCalibration.cpp:263: error: 'class RA8875' has no member named 'setTouchLimit'
?? tft.setTouchLimit(1); //changed 2019-01-18

?????? ^

DisplayCalibration.cpp:264: error: 'class RA8875' has no member named 'touchBegin'
?? tft.touchBegin();//enable touch support for RA8875 changed 2019-01-18

?????? ^

DisplayCalibration.cpp:265: error: 'class RA8875' has no member named 'touchEnable'
?? tft.touchEnable(true);? //changed 2019-01-18

?????? ^

DisplayCalibration.cpp:297: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(true);

???????? ^

DisplayCalibration.cpp:299: error: 'class RA8875' has no member named 'touched'
???? if (tft.touched()) {

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

DisplayCalibration.cpp:306: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

DisplayCalibration.cpp:356: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

DisplayCalibration.cpp:464: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

DisplayCalibration.cpp:517: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

DisplayCalibration.cpp:565: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

DisplayCalibration.cpp:613: error: 'class RA8875' has no member named 'touchEnable'
???????????????? tft.touchEnable(false);

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

AlsFilterCode.cpp: In function 'void displayAudioSpectrum()':
AlsFilterCode.cpp:675: error: 'class RA8875' has no member named 'touchEnable'
???? tft.touchEnable(true);

???????? ^

AlsFilterCode.cpp:679: error: 'class RA8875' has no member named 'touched'
???? if (tft.touched()) { //Check for touched screen

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

AlsFilterCode.cpp:682: error: 'class RA8875' has no member named 'touched'
?????? tft.touched(false);

?????????? ^

AlsFilterCode.cpp:706: error: 'class RA8875' has no member named 'touchEnable'
???????? tft.touchEnable(true);

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

no matching function for call to 'RA8875::RA8875(int, int, int, int)'

Vince N1VIN




On 7/4/2019 3:29 PM, jjpurdum via Groups.Io wrote:
Whenever you submit an error report like this, it's always useful to include:

?? 1. The machine you are using (e.g., Dell, Mac, etc.)
?? 2. The host operating system (e.g., Win 10, Win 7, MacOS, etc.)

The fact that I have no clue what collect2.exe is of where it came from suggests to me that you are probably not compiling on a Windows machine. I may be wrong, but there's nothing in my code that calls that program, so I assume it's something I'm am not familiar with. The fact it dumped with a 1 exit status says it was dumped to the op system for handling. If it were the JackAl code, it usually dumps to the Arduino IDE.

Anyway, can you provide the info above and anything you might know about collect2.exe.

Jack, W8TEE

On Thursday, July 4, 2019, 3:16:28 PM EDT, V Zecchinelli <n1vin@...> wrote:


Arduino: 1.8.9 (Windows 10), TD: 1.4.6
Error during compile "collect2.exe: error: 1d returned 1 exit status".? Been trying to compile for several hours and am obviously doing something wrong.? Is this error related to Comms?? This is only reference to "error" I see in the verbose compile output.
Thanks,
73 Vince




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