Notifications
Clear all

[Solved] rc6 of Arduino IDE 2.0 - NO libraries!!!

16 Posts
3 Users
2 Likes
1,169 Views
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

Is anyone else having a problem with the latest version of the Arduino IE 2.0? I have NO libraries. I am on a Mac if that matters which I doubt.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
Quote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

One of the libraries has a 'bad' char set. Remove libs until found.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@zander

Posted by: @zander

One of the libraries has a 'bad' char set. Remove libs until found.

Hi Ron,

Have you tried under the menu: "Tools -> Fix Encoding & Reload" option?

Hopefully this will help resolve your issue.

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@frogandtoad No, didn't know what that did, but I can put the bad library back and give it a try.

.....

That didn't help.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
frogandtoad reacted
ReplyQuote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@zander

Posted by: @zander

@frogandtoad No, didn't know what that did, but I can put the bad library back and give it a try.

Explanation via many google search results:

  • Fix Encoding & Reload: Fixes possible discrepancies between the editor char map encoding and other operating systems char maps.

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@frogandtoad That option doesn't appear to be in 2.0, I tried it in 1.0 with no affect. This is low priority for me for a couple reasons so I am moving on.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  
Posted by: @frogandtoad

@zander

Posted by: @zander

One of the libraries has a 'bad' char set. Remove libs until found.

Hi Ron,

Have you tried under the menu: "Tools -> Fix Encoding & Reload" option?

Hopefully this will help resolve your issue.

Cheers

@frogandtoad In IDE 2.0 that option doesn't exist

Screen Shot 2022 05 06 at 07.28.20

 

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@zander

Posted by: @zander

@frogandtoad That option doesn't appear to be in 2.0, I tried it in 1.0 with no affect. This is low priority for me for a couple reasons so I am moving on.

I thought it did show up in my rc6 portable download recently as well (I may have clicked it, and it dissappeared?), however, it's still in the menu of my 1.8.20 version.

image

I'll see if I can find out anything else on the issue.


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@frogandtoad I do have it in my 1.8.19 and did try it, but it isn't in 2.0. 

To be clear, IDE 1.0 is fine, 2.0 shows NO libraries with the addition of one specific library. Since there is a second copy of that library. Once I find a file compare tool I will see what the differences are.

Libraries are

OK - FauxmoESP

NOT ok - xoseperez-fauxmosp

 

I just searched the apple store for a file compare utility and found NOTHING.

 

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
frogandtoad reacted
ReplyQuote
Will
 Will
(@will)
Famed Member
Joined: 2 years ago
Posts: 2302
 
Posted by: @zander

Once I find a file compare tool I will see what the differences are.

I believe you said that you had BBEdit. It can compare files and directories as well. Look under Search > Find differences.

Experience is what you get when you don't get what you want.


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@will I was just headed there.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@will Ok, tried it, not a very good tool, but my best guess is the 'official looking' version is the better choice over the author looking version.

I am at the moment not working on Alexa integration and besides it is provided inn the arduino cloud which is why I bought the alexa, so I may just delete both libraries.

I suspect my old favourite programmers editor (SlickEdit) that I can not afford anymore would do a much better job.

Just checked and it's even a separate product called DIFFZilla. 

EDIT OOPS, maybe not separate, but still too expensive for me.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Will
 Will
(@will)
Famed Member
Joined: 2 years ago
Posts: 2302
 

@zander 

Well, you know I'm keen on free solutions. I don't do anything complicated enough to warrant spending money on software tools any more. If I need it desperately, I just write my own 🙂

Experience is what you get when you don't get what you want.


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4537
Topic starter  

@will That reminds me of the early days when working at home with 300 and later 1200 baud modems. The source code we were working with was in the thousands of lines category, so we wrote our own simple differencing engine and only transmitted the delta with a similar engine to update the file at the host end. Before that it took many many minutes to do an update. HOWEVER the idea of re-creating DIFFZilla ain't going to happen and at $299 I can't justify it either, but it is a GREAT tool. With their editor I was able to complete a significant part of one project with nothing else.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Will
 Will
(@will)
Famed Member
Joined: 2 years ago
Posts: 2302
 

@zander 

Ah yes, the "good" old days 🙂

Experience is what you get when you don't get what you want.


   
ReplyQuote
Page 1 / 2