¿ªÔÆÌåÓý

Jackkkkkkkk...what am I doing wrong


 

The program can't find MorseCode.h..... I set it up exactly as you have it in the manual..All the other non-standard libraries load fine.

Does the file need to be under the Arduino directory ??? I've tried putting it everywhere

Is line 9 in the script valid any more ???

Even upgraded to IDE 1.8.2

any tricks to get his working ???




Dimitar Pavlov
 

user library should be in directory C:\Users\Administrator\Documents\Arduino\libraries
(in win 7 , 8 and 10)


On Wednesday, August 16, 2017 3:53 PM, kc1at via Groups.Io <kc1at@...> wrote:


The program can't find MorseCode.h..... I set it up exactly as you have it in the manual..All the other non-standard libraries load fine.

Does the file need to be under the Arduino directory ??? I've tried putting it everywhere

Is line 9 in the script valid any more ???

Even upgraded to IDE 1.8.2

any tricks to get his working ???






Jack Purdum
 

First, the IDE is really fussy about how things need to be set up. I have a root directory named B40Software, so it looks like:

? ?E:\B40Software

on my E drive, since that's my development drive. Yours is probably C: The main source code file is named B40SoftwareRel0106.ino. Given that source file name, you MUST name the subdirectory as:

? ?E:\B40Software\B40SoftwareRel0106

That is, the subdirectory holding the source code file must be that source file name, MINUS the ".ino". You have no choice on this subdirectory name. From there, copy the two source code files into that subdirectory so you have:

??E:\B40Software\B40SoftwareRel0106\B40SoftwareRel0106.ino
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?MorseCode.h

This file structure should let you compile/upload the code.

Jack, W8TEE
??



From: kc1at via Groups.Io <kc1at@...>
To: [email protected]
Sent: Wednesday, August 16, 2017 8:53 AM
Subject: [BITX20] Jackkkkkkkk...what am I doing wrong

The program can't find MorseCode.h..... I set it up exactly as you have it in the manual..All the other non-standard libraries load fine.

Does the file need to be under the Arduino directory ??? I've tried putting it everywhere

Is line 9 in the script valid any more ???

Even upgraded to IDE 1.8.2

any tricks to get his working ???






Virus-free.


Jack Purdum
 

MorseCode.h is not a library. It belongs in the source code file directory.

Jack, W8TEE


From: Dimitar Pavlov via Groups.Io <lz1dpn@...>
To: [email protected]
Sent: Wednesday, August 16, 2017 9:04 AM
Subject: Re: [BITX20] Jackkkkkkkk...what am I doing wrong

user library should be in directory C:\Users\Administrator\Documents\Arduino\libraries
(in win 7 , 8 and 10)


On Wednesday, August 16, 2017 3:53 PM, kc1at via Groups.Io <kc1at@...> wrote:


The program can't find MorseCode.h..... I set it up exactly as you have it in the manual..All the other non-standard libraries load fine.

Does the file need to be under the Arduino directory ??? I've tried putting it everywhere

Is line 9 in the script valid any more ???

Even upgraded to IDE 1.8.2

any tricks to get his working ???








Virus-free.


 

No joy.....I thought I had it when I found I was using the 0101 file on the 0106 rev script....but no....still barfs when I try to compile it.

I copied your file names and made my directories exactly like yours....

Here's what I got for an error message.....;

C:\Users\Don\Documents\Arduino\Jacks_VFO_1_0_6\Jacks_VFO_1_0_6.ino:27:59: fatal error: MorseCode.h: No such file or directory

?

#include "MorseCode.h" // Part of this project file

?

^

?

compilation terminated.

?

Using library AD9850SPI in folder: C:\Users\Don\Documents\Arduino\libraries\AD9850SPI (legacy)

Using library NewTone in folder: C:\Users\Don\Documents\Arduino\libraries\NewTone (legacy)

Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM

Using library SD at version 1.1.1 in folder: C:\Program Files (x86)\Arduino\libraries\SD

Using library Adafruit_GFX_Library at version 1.2.2 in folder: C:\Users\Don\Documents\Arduino\libraries\Adafruit_GFX_Library

Using library MCUFRIEND_kbv at version 2.9.6 in folder: C:\Users\Don\Documents\Arduino\libraries\MCUFRIEND_kbv

Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire

Using library Rotary in folder: C:\Users\Don\Documents\Arduino\libraries\Rotary (legacy)

exit status 1


Its got to be something that I'm doing wrong....but I'm not be seeing it....

don


 

Make sure that all the libraries are in the same folder, and in the IDE, open preferences and verify the path is set to that folder.?


Jack Purdum
 

I take it that your disk image looks like this:


C:\Users\Don\Documents\Arduino\Jacks_VFO_1_0_6\Jacks_VFO_1_0_6.ino
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? MorseCode.h

For some reason it is not finding the MorseCode.h file in the directory above. Usually, this kind of error is caused by: 1) The file truly is not there, or 2) It is spelled differently in the directory. That is Morsecode.h, morseCode.h, morsecode.h, or some derivative of a spelling error since C is case-sensitive. Also, sometimes if you copy a piece of code from a word processor (e.g., Word), it replaces the "vertical" double quote marks with special ASCII characters that are "leaning" double quotes. This seems unlike here, as I think the error message with "funny quotes" is wprded differently.

If things all look okay, try moving the two files to a totally new directory, like:

C:\Temp\Jacks_VFO_1_0_6

Copy the files to that directory and try again. The reason for doing this is...I don't have a reason, but sometimes magic happens. It's called Divine Debugging.

Jack, W8TEE


From: kc1at via Groups.Io <kc1at@...>
To: [email protected]
Sent: Thursday, August 17, 2017 7:50 AM
Subject: Re: [BITX20] Jackkkkkkkk...what am I doing wrong

No joy.....I thought I had it when I found I was using the 0101 file on the 0106 rev script....but no....still barfs when I try to compile it.

I copied your file names and made my directories exactly like yours....

Here's what I got for an error message.....;

C:\Users\Don\Documents\Arduino\Jacks_VFO_1_0_6\Jacks_VFO_1_0_6.ino:27:59: fatal error: MorseCode.h: No such file or directory
?
#include "MorseCode.h" // Part of this project file
?
^
?
compilation terminated.
?
Using library AD9850SPI in folder: C:\Users\Don\Documents\Arduino\libraries\AD9850SPI (legacy)
Using library NewTone in folder: C:\Users\Don\Documents\Arduino\libraries\NewTone (legacy)
Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
Using library SD at version 1.1.1 in folder: C:\Program Files (x86)\Arduino\libraries\SD
Using library Adafruit_GFX_Library at version 1.2.2 in folder: C:\Users\Don\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library MCUFRIEND_kbv at version 2.9.6 in folder: C:\Users\Don\Documents\Arduino\libraries\MCUFRIEND_kbv
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Using library Rotary in folder: C:\Users\Don\Documents\Arduino\libraries\Rotary (legacy)
exit status 1


Its got to be something that I'm doing wrong....but I'm not be seeing it....

don



Virus-free.