¿ªÔÆÌåÓý

bitx40 amatures srccode build error


 

I am having build issues with the current code


Jack Purdum
 

Deprecated calls occur because the the function expects a character pointer but you're passing in a string literal (i.e., a string within double quotes). For example, the error:

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:267:34: warning: deprecated
conversion from string constant to 'char*' [-Wwrite-strings]

????????printLine2("Calibrated ");
?????????????????????????????? ^
is fixed by changing the offending line to:

????????printLine2( (char *) "Calibrated ");

Since it's only a warning, that's not your real problem.

I think I know the problem with the Si5351 library. Your error shows:

???? C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:

The library subdirectory MUST match the name of the header file. In your case, the library subdirectory you are using is Si5351Arduino-master but the header file is si5351.h. Try renaming your subdirectory from what you have to:

???? C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351

The contents of the subdirectory should remain as it is...only change the subdirectory name.

Let us know if that works.

Jack, W8TEE


From: Richard E Neese <kb3vgw@...>
To: [email protected]
Sent: Sunday, February 18, 2018 6:53 PM
Subject: [BITX20] bitx40 amatures srccode build error

I am having build issues with the current code



Virus-free.


 

¿ªÔÆÌåÓý

I have always felt "Deprecated"!

And I am sure not "Polymorphic"!

?

Mike, WA6ISP


On 2/18/2018 6:50 PM, Jack Purdum via Groups.Io wrote:
Deprecated calls occur because the the function expects a character pointer but you're passing in a string literal (i.e., a string within double quotes). For example, the error:

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:267:34: warning: deprecated
conversion from string constant to 'char*' [-Wwrite-strings]

????????printLine2("Calibrated ");
?????????????????????????????? ^
is fixed by changing the offending line to:

????????printLine2( (char *) "Calibrated ");

Since it's only a warning, that's not your real problem.

I think I know the problem with the Si5351 library. Your error shows:

???? C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:

The library subdirectory MUST match the name of the header file. In your case, the library subdirectory you are using is Si5351Arduino-master but the header file is si5351.h. Try renaming your subdirectory from what you have to:

???? C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351

The contents of the subdirectory should remain as it is...only change the subdirectory name.

Let us know if that works.

Jack, W8TEE

From: Richard E Neese <kb3vgw@...>
To: [email protected]
Sent: Sunday, February 18, 2018 6:53 PM
Subject: [BITX20] bitx40 amatures srccode build error

I am having build issues with the current code



Virus-free.

-- 
Mike Hagen, WA6ISP
10917 Bryant Street
Yucaipa, Ca. 92399
(909) 918-0058
PayPal ID  "MotDog@..."
Mike@...