¿ªÔÆÌåÓý

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

New Document File: Installing the IDE


 

All:

I just wrote a new document file titled Installing the IDE. By the time you finish reading this, it should be on the web site for download. I can tell by some of the questions I'm getting that some are not getting the files installed in the right place. I think this file, plus the other recent ones we've added, should make it more clear where things should be and, more importantly, why.

BTW, the JackAl source code consists of 19 files and all 19 of those files must be in the same project directory. You should NEVER have a downloaded library's code in the project directory. A library file should end up in either the Arduino's default libraries directory or the Teensy libraries directory. (Hopefully the new doc file will make that more clear.) If you write a new library of your own, of course it's okay for you to put your code in the project directory. However, once debugged, you should structure the code as a library and move it to one of the libraries directories.

Anyway, I hope the new doc file helps make it more clear how to work the the IDE and the Teensyduino.

Jack, W8TEE


James Zdunic
 

Jack,

Thank you for putting this together, it's helped motivate me to gain a better understanding of setting up libraries.? I'm new to Arduino & such and I'm also reading your book on C for Arduino to get more familiar with it.

Question on the install,? I'm in the middle of manually creating the necessary additional library files and not seeing any Audio.cpp file in the Audio-Master library .zip file I downloaded from the link mentioned in the document? Audio.h is there but no Audio.cpp file. Am I missing something??

Jim KM4TXR


 

Jim:

No, you didn't miss anything. While it's not the way I would have done it, what they did was create a "Super Headerfile" and named it Audio.h. Its purpose is to assemble all of the supporting header files into one place. I can't be sure why it was done this way, but my guess is that different people wrote different library elements for the PJRC audio board and this was an easy way to collate them together.

Jack, W8TEE

On Thursday, January 24, 2019, 10:53:18 PM EST, James Zdunic <james_zdunic@...> wrote:


Jack,

Thank you for putting this together, it's helped motivate me to gain a better understanding of setting up libraries.? I'm new to Arduino & such and I'm also reading your book on C for Arduino to get more familiar with it.

Question on the install,? I'm in the middle of manually creating the necessary additional library files and not seeing any Audio.cpp file in the Audio-Master library .zip file I downloaded from the link mentioned in the document? Audio.h is there but no Audio.cpp file. Am I missing something??

Jim KM4TXR


James Zdunic
 

Got it Jack,

I noticed some of the other .zip libraries were missing .cpp files as well.? So I just copied any sole .h files I found into the correctly named library folders alone.

So I'm havin problems on compile, just lucky I guess.

Some background info: which may be relevant... I had previously installed the IDE and Teensy add on and loaded them in the default location as I've been experimenting with the teensy for awhile now.? Then I uninstalled them and believe I correctly reinstalled them based on the instructions in the document you wrote up. I may have botched it though, wouldn't be the first time.

The reason I say this is I opened the JackAL_Ver0,9a75 sketch and the first compile gave an error...

OpenAudio_ArduinoLibrary was missing AudioStream_F32.?

So I put the AudioStream_f32 .h & .cpp files into the OpenAudio_ArduinoLibrary folder and tried it again. I thought I was making progress and getting the hang of this because the next error took a bit longer to appear on compile #2.? However when it did occur I got scared because it was big and ugly...


Multiple libraries were found for "SD.h"
In file included from C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:2:0,

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
???????????????? from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19,

?Not used: C:\Arduino1.8.7\libraries\SD
???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/AudioStream_F32.h:18:31: fatal error: AudioSettings_F32.h: No such file or directory

compilation terminated.

Multiple libraries were found for "SerialFlash.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


The after disecting it I thought it looked more like another small error buried in warnings.? So I copied AudioSetrtings_F32. H & .cpp into OpenAudio_ArduinoLibrary folder and tried a third compile and got the following...


Multiple libraries were found for "SD.h"
In file included from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19:0,

???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
?Not used: C:\Arduino1.8.7\libraries\SD
Multiple libraries were found for "SerialFlash.h"
C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:3:43: fatal error: AudioControlSGTL5000_Extended.h: No such file or directory

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
compilation terminated.

?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


So I copied AudioControlSGTL5000_Extended.h into the OpenAudio_ArduinoLibrary folder.? Then got a bunch of warnings and...

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:4:35: fatal error: control_tlv320aic3206.h: No such file or directory

So I copied the .h (no.cpp) file into the directory and got yet another similar error.? Now I'm wondering if this will ever end?? The compile progress bar got to about 40% on last compile.? Am I doing this the hard way?

Jim KM4TXR?




Jim KM4TXR


 

Did you download/install the RA8875 and Open Audio Library from the hamradiodesigns.com site? Your compiler says that you placed the Teensy's Open Audio library in the Arduino library directory, but the patch expects it to be in the Teensy folder. Also, why is SerialFlash in the Arduino library forlder? I don't understand the SD references, either, since our code doesn't do anything with it. It could be that some library references it, but when I used GREP to check it, it appears that those references are from the Examples files that read audio data from SD files.

I highlighted the error that killed the compile and it shows that you placed the Teensy Open Audio file in the wrong library directory. I would suggest you down load that and the RA8975 libraries and make sure you install them in the Teensy libraries subdirectory and try again.

Jack, W8TEE

On Friday, January 25, 2019, 12:39:52 AM EST, James Zdunic <james_zdunic@...> wrote:


Got it Jack,

I noticed some of the other .zip libraries were missing .cpp files as well.? So I just copied any sole .h files I found into the correctly named library folders alone.

So I'm havin problems on compile, just lucky I guess.

Some background info: which may be relevant... I had previously installed the IDE and Teensy add on and loaded them in the default location as I've been experimenting with the teensy for awhile now.? Then I uninstalled them and believe I correctly reinstalled them based on the instructions in the document you wrote up. I may have botched it though, wouldn't be the first time.

The reason I say this is I opened the JackAL_Ver0,9a75 sketch and the first compile gave an error...

OpenAudio_ArduinoLibrary was missing AudioStream_F32.?

So I put the AudioStream_f32 .h & .cpp files into the OpenAudio_ArduinoLibrary folder and tried it again. I thought I was making progress and getting the hang of this because the next error took a bit longer to appear on compile #2.? However when it did occur I got scared because it was big and ugly...


Multiple libraries were found for "SD.h"
In file included from C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:2:0,

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
???????????????? from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19,

?Not used: C:\Arduino1.8.7\libraries\SD
???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/AudioStream_F32.h:18:31: fatal error: AudioSettings_F32.h: No such file or directory

compilation terminated.

Multiple libraries were found for "SerialFlash.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


The after disecting it I thought it looked more like another small error buried in warnings.? So I copied AudioSetrtings_F32. H & .cpp into OpenAudio_ArduinoLibrary folder and tried a third compile and got the following...


Multiple libraries were found for "SD.h"
In file included from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19:0,

???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
?Not used: C:\Arduino1.8.7\libraries\SD
Multiple libraries were found for "SerialFlash.h"
C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:3:43: fatal error: AudioControlSGTL5000_Extended.h: No such file or directory

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
compilation terminated.

?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


So I copied AudioControlSGTL5000_Extended.h into the OpenAudio_ArduinoLibrary folder.? Then got a bunch of warnings and...

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:4:35: fatal error: control_tlv320aic3206.h: No such file or directory

So I copied the .h (no.cpp) file into the directory and got yet another similar error.? Now I'm wondering if this will ever end?? The compile progress bar got to about 40% on last compile.? Am I doing this the hard way?

Jim KM4TXR?




Jim KM4TXR


 

When I dive into this I think I'm going to create a JackAl user on my Windows box and do everything including the ide install under this user. Hopefully this will eliminate any library conflicts that might occur from previous ide ?and/or library installs.?

Brian


On Fri, Jan 25, 2019 at 9:55 AM jjpurdum via Groups.Io <jjpurdum=[email protected]> wrote:
Did you download/install the RA8875 and Open Audio Library from the site? Your compiler says that you placed the Teensy's Open Audio library in the Arduino library directory, but the patch expects it to be in the Teensy folder. Also, why is SerialFlash in the Arduino library forlder? I don't understand the SD references, either, since our code doesn't do anything with it. It could be that some library references it, but when I used GREP to check it, it appears that those references are from the Examples files that read audio data from SD files.

I highlighted the error that killed the compile and it shows that you placed the Teensy Open Audio file in the wrong library directory. I would suggest you down load that and the RA8975 libraries and make sure you install them in the Teensy libraries subdirectory and try again.

Jack, W8TEE

On Friday, January 25, 2019, 12:39:52 AM EST, James Zdunic <james_zdunic@...> wrote:


Got it Jack,

I noticed some of the other .zip libraries were missing .cpp files as well.? So I just copied any sole .h files I found into the correctly named library folders alone.

So I'm havin problems on compile, just lucky I guess.

Some background info: which may be relevant... I had previously installed the IDE and Teensy add on and loaded them in the default location as I've been experimenting with the teensy for awhile now.? Then I uninstalled them and believe I correctly reinstalled them based on the instructions in the document you wrote up. I may have botched it though, wouldn't be the first time.

The reason I say this is I opened the JackAL_Ver0,9a75 sketch and the first compile gave an error...

OpenAudio_ArduinoLibrary was missing AudioStream_F32.?

So I put the AudioStream_f32 .h & .cpp files into the OpenAudio_ArduinoLibrary folder and tried it again. I thought I was making progress and getting the hang of this because the next error took a bit longer to appear on compile #2.? However when it did occur I got scared because it was big and ugly...


Multiple libraries were found for "SD.h"
In file included from C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:2:0,

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
???????????????? from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19,

?Not used: C:\Arduino1.8.7\libraries\SD
???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/AudioStream_F32.h:18:31: fatal error: AudioSettings_F32.h: No such file or directory

compilation terminated.

Multiple libraries were found for "SerialFlash.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


The after disecting it I thought it looked more like another small error buried in warnings.? So I copied AudioSetrtings_F32. H & .cpp into OpenAudio_ArduinoLibrary folder and tried a third compile and got the following...


Multiple libraries were found for "SD.h"
In file included from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19:0,

???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
?Not used: C:\Arduino1.8.7\libraries\SD
Multiple libraries were found for "SerialFlash.h"
C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:3:43: fatal error: AudioControlSGTL5000_Extended.h: No such file or directory

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
compilation terminated.

?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


So I copied AudioControlSGTL5000_Extended.h into the OpenAudio_ArduinoLibrary folder.? Then got a bunch of warnings and...

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:4:35: fatal error: control_tlv320aic3206.h: No such file or directory

So I copied the .h (no.cpp) file into the directory and got yet another similar error.? Now I'm wondering if this will ever end?? The compile progress bar got to about 40% on last compile.? Am I doing this the hard way?

Jim KM4TXR?




Jim KM4TXR

--
¡°si vis pacem, para bellum¡±

--
Brian - N8BDB


 

I urge you to use the directory schema that I mention in the DOC files. It will make support easier.

Jack, W8TEE

On Friday, January 25, 2019, 10:58:30 AM EST, Brian Bowling <bowlingb@...> wrote:


When I dive into this I think I'm going to create a JackAl user on my Windows box and do everything including the ide install under this user. Hopefully this will eliminate any library conflicts that might occur from previous ide ?and/or library installs.?

Brian


On Fri, Jan 25, 2019 at 9:55 AM jjpurdum via Groups.Io <jjpurdum=[email protected]> wrote:
Did you download/install the RA8875 and Open Audio Library from the site? Your compiler says that you placed the Teensy's Open Audio library in the Arduino library directory, but the patch expects it to be in the Teensy folder. Also, why is SerialFlash in the Arduino library forlder? I don't understand the SD references, either, since our code doesn't do anything with it. It could be that some library references it, but when I used GREP to check it, it appears that those references are from the Examples files that read audio data from SD files.

I highlighted the error that killed the compile and it shows that you placed the Teensy Open Audio file in the wrong library directory. I would suggest you down load that and the RA8975 libraries and make sure you install them in the Teensy libraries subdirectory and try again.

Jack, W8TEE

On Friday, January 25, 2019, 12:39:52 AM EST, James Zdunic <james_zdunic@...> wrote:


Got it Jack,

I noticed some of the other .zip libraries were missing .cpp files as well.? So I just copied any sole .h files I found into the correctly named library folders alone.

So I'm havin problems on compile, just lucky I guess.

Some background info: which may be relevant... I had previously installed the IDE and Teensy add on and loaded them in the default location as I've been experimenting with the teensy for awhile now.? Then I uninstalled them and believe I correctly reinstalled them based on the instructions in the document you wrote up. I may have botched it though, wouldn't be the first time.

The reason I say this is I opened the JackAL_Ver0,9a75 sketch and the first compile gave an error...

OpenAudio_ArduinoLibrary was missing AudioStream_F32.?

So I put the AudioStream_f32 .h & .cpp files into the OpenAudio_ArduinoLibrary folder and tried it again. I thought I was making progress and getting the hang of this because the next error took a bit longer to appear on compile #2.? However when it did occur I got scared because it was big and ugly...


Multiple libraries were found for "SD.h"
In file included from C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:2:0,

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
???????????????? from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19,

?Not used: C:\Arduino1.8.7\libraries\SD
???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/AudioStream_F32.h:18:31: fatal error: AudioSettings_F32.h: No such file or directory

compilation terminated.

Multiple libraries were found for "SerialFlash.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


The after disecting it I thought it looked more like another small error buried in warnings.? So I copied AudioSetrtings_F32. H & .cpp into OpenAudio_ArduinoLibrary folder and tried a third compile and got the following...


Multiple libraries were found for "SD.h"
In file included from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_985615\sketch\JackAl.h:19:0,

???????????????? from C:\Arduino1.8.7\JackAl_Ver0.9a75\JackAl_Ver0.9a75.ino:71:

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SD
?Not used: C:\Arduino1.8.7\libraries\SD
Multiple libraries were found for "SerialFlash.h"
C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:3:43: fatal error: AudioControlSGTL5000_Extended.h: No such file or directory

?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\SerialFlash
compilation terminated.

?Not used: C:\Arduino1.8.7\libraries\SerialFlash
Multiple libraries were found for "Audio.h"
?Used: C:\Arduino1.8.7\hardware\teensy\avr\libraries\Audio
?Not used: C:\Arduino1.8.7\libraries\Audio
Error compiling for board Teensy 3.6.


So I copied AudioControlSGTL5000_Extended.h into the OpenAudio_ArduinoLibrary folder.? Then got a bunch of warnings and...

C:\Arduino1.8.7\libraries\OpenAudio_ArduinoLibrary/OpenAudio_ArduinoLibrary.h:4:35: fatal error: control_tlv320aic3206.h: No such file or directory

So I copied the .h (no.cpp) file into the directory and got yet another similar error.? Now I'm wondering if this will ever end?? The compile progress bar got to about 40% on last compile.? Am I doing this the hard way?

Jim KM4TXR?




Jim KM4TXR

--
¡°si vis pacem, para bellum¡±

--
Brian - N8BDB


 

Brian et al,
May I suggest a fresh Arduino IDE install using the "Windows ZIP file for non admin install"
Install this where Jack wanted you to do so.? Install the Teensyduino to this location they way Jack told you to do so.
You can use this program only for your JackAl work, and it won't interfere or be interfered by any other Arduinio IDE / Teensyduino installation; as it is isolated.

Inside your C:\Arduino1.8.8 folder you can create a folder called "Portable".
You can copy the files that are in the standard '\user\AppData\Local\Arduino15' in the Portable folder
This way you can have a unique preferences.txt for this particular instantiation of the Arduino IDE with Teensyduino.

Provided you have disk space, it's a win-win situation.? You can follow all of Jack's instructions verbatim, without concern about how the library management instructions _"possible_could"_ affect other projects.
The benefits of staying aligned with the Jack outweigh the counter arguments, especially at this point in the project.?
The primary goal here is to get JackAl board owners programming / using their new boards.

There are a lot of moving parts from many sources.

Regards,
Gary


James Zdunic
 

Hi Jack & others,

I did download & install the RA8875, Open Audio, and some other libraries.? However I missed the part about them needing to be in the Teensy library which is why they were out of place. Concerned about conflicts I decided to wipe out everything and re-install the IDE and Teensy add on.? Then I added any missing libraries listed in the instructions into the Teensy library folder.

After that the next compile took significantly longer to complete.? However I still had some complaints from the compiler.?

I noticed that some of the complaints were referencing library files stored in: c:/users/admininstrator/my documents/arduino. ? I believe this folder was from my first IDE & Teensy installation before doing the install into the c:/arduino1.8.7 folder as advised. ? So I deleted the c:/users/admininstrator/my documents/arduino folder, ran a compile, and the compile finished with no errors.

I figured I'd mention this in case anyone else had issues from previous IDE installs.


Jim KM4TXR


 

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


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


 

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