Notifications
Clear all

[Solved] IDE messing up

22 Posts
5 Users
1 Likes
1,591 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

For some reason code that is compiled and deployed all of a sudden will not compile. I suspect open source code has been updated with a bug and I don't know how to discover which one so I can roll it back if that's even possible. Attached is the errors

Screen Shot 2022 04 14 at 08.44.58

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Quote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

This is just a WAG... try going into both the Board's Manager and the Manage Libraries... and set the type to Updatable and see if anything is available (like dependencies) that need to be further updated.

 

I did a search on my install and found the file fd_forward.h in:

X:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\1.0.6\tools\sdk\include\esp-face\fd_forward.h

... however, I use the portable install method, so YMMV.  I also don't have any projects working with the camera and face recognition, so I wouldn't hit this error anyway.  It may be present on my computer.

Here's my copy if for some strange reason you're has been blown off.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@inq Ok, some progress. My path is different and I mean after we factor out the portable/not portable part, but still no go. TBH, I am not 100% sure where the compiler is searching, it's been decades since I used GCC and there is a ton of compiler output that is many many screens wide. Where does one start? I should mention this does show yp on a google search and the accepted response is the file is indeed missing but not needed. So comment it out and the eror moves to fr_forward.h, so sounds similar so comment it out and the error now is mtmn_config_t does not name a type. Googling that tells me it is part of the face detection code. There is something missing, and it worked a few weeks ago. Time to fire up the time machine. Back in a minute.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

No joy in mudville. The prev version of that tree does contain the missing file. The dir it is in is totally different from the current version. I simply placed the contents of the old into the new but it still shows as not found. I am obviously missing something but don't know what. I am now on ver 2.0.2 the old is 1.0.6 and the missing files were in a dir called esp-face.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

I downloaded the ESP32 board library just days ago for the first time.  I have not downloaded any other libraries that are ESP32 related since then.  Point being... since I have those files, it is part of the ESP32 board library.  Maybe if you just uninstall and re-install the ESP32 board library, you'll get those replaced correctly.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@inq I thought I already did that, but maybe I need to physically delete the dirs from the top. One thing apple computers do very badly at is uninstalling. It is a 3rd party app and not that good.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1122
 
Posted by: @zander

I am now on ver 2.0.2 the old is 1.0.6

I thought that V2.xx is the new and buggy Arduino IDE (still a Release candidate), and see the issues list in github)  The older classic is 1.8.x  But don't hold me to all that I've not checked of late and I may be spouting rubbish.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@byron AH maybe, I have played with 2 a few times. I will see what happens when I install 1. My disk is now cleaned of the arduino app and the dirs where the problem was. My fear is that the 2.0.2 is a coincidence.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@byron @inq I have started over and when I got to installing the ESP32 boards, I checked the version selector and YES it's now at 2.0.2. I selected 1.0.6 as I know that is a good one. As soon as it is done I will retry the compile that I know worked as it's running the camera in my basement.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2533
 
Posted by: @zander

 it's running the camera in my basement.

Cameras in the basement of an RV ? ? ?

Troubled by leprechauns ?

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

The compile almost worked, the face recognition stuff was fixed but now the python error is back.

At terminal I type python --version and get the expected answer. Does GCC use a different $PATH?

Screen Shot 2022 04 14 at 11.39.24

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

I also see another 'error' but is it? Can it be possibly connected?

Screen Shot 2022 04 14 at 11.48.42

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@will Maybe, but the reason is I have a device that makes sure my power is good, it is called an autoformer. The reason it's in the basement is many RV parks don't allow them so I hide mine. The reason for the camera is I recently discovered that it had taken some kind of hit and had a red light. Not enough to knock it out but they sent a new (under warranty) surge device (this product has a seperate replaceable surge module) and I decided I needed to keep an eye on the 6 green lights.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1122
 
Posted by: @zander

I have started over and when I got to installing the ESP32 boards,

Well I was talking about IDE versions and I now think you are talking about ESP32 board libraries versions. Lucky we were not engineering the the latest Hubble telescope. 😀

Posted by: @will

Cameras in the basement of an RV ? ? ?

Troubled by leprechauns ?

But did he remember to switch the light on down there, no wonder he cant see anything from his camera.  


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6988
Topic starter  

@byron It's ok, I knew what you were saying, but it triggered me to check the other. That problem is now solved, but now I got back the weird python problem.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Page 1 / 2