Notifications
Clear all

Issues Trying to get past IDE compile errors I'm seeing in the Elegoo V4 .ino code

80 Posts
9 Users
8 Likes
11.4 K Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7026
 

@eliza Maybe there is some sort of waiting period. Let me send you one.

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: 2535
 

@eliza 

IIRC you need to be vetted and to have completed at least 10 posts before messaging is enabled.

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


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander 

Posted by: @zander

@frogandtoad If by local you mean the location where you install libraries via the Sketch/Include Library/Add .ZIP Library... then yes, just one under your source or sketch library specified in the preferences.

Thanks for your reply... that's exactly what I meant by local.

Posted by: @zander

ESPECIALLY note the greyed out headings on the drop down sub-menu. It says 'Arduino Libraries', 'Contributed Libraries', and you may have to scroll down the sub-menu to see 'Recommended Libraries' (Note how that is 3)

I'm not sure if this is one is the same as the first two though, as the first two actually "install" a library, whereas this one just "include"(s) the library in your project code, in the form of a header file.

Posted by: @zander

I hope that clarifies libraries for you. The ONE thing I want you to take away is to NEVER 'manage' your libraries by using anything other than the Arduino IDE and it's tools under the menus, especially do NOT use your file manager be it Mac Finder, or Windows File Explorer to copy, move, delete files anywhere on your HDD or SSD other than in your user space, ie sketchbook folder!!!!!

I have manually extracted and moved a number of libraries into the Arduino sketchbook libraries location without a problem in the past - It can be a bit faster if you know where they go, but using the Atrduino IDE tools to do it is good advice.

Cheers.


   
ReplyQuote
(@hagardv)
Member
Joined: 2 years ago
Posts: 6
 

Hallo, I have the same problem, did you find a solution? please let me know. Hagardv


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2535
 

@hagardv 

Did you read the thread ? The OP found his own solution to the original problem. First by reverting to a previous version of the IDE and afterwards by deleting a fouled set of libraries and reinstalling the IDE and subsequently getting new software from the manufacturer.

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: 7026
 

@hagardv The vendor instructions at that time were messed up. According to the original poster they have since fixed the install instructions.

IF you are not an experienced arduino IDE user, I suggest you try to determine if the install directions are valid. You could do that by posting those instructions here.

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: 7026
 

@hagardv When you want to reply or address another person's post, use the reply link at the bottom of their post. If you want to include others in the 'conversation' or be the first to 'speak' to a Topic Starter use the standard format of @userid. Yours for example is @hagardv.

 

 

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
(@hagardv)
Member
Joined: 2 years ago
Posts: 6
 

Thank you Will, I'inexperienced with forum use and I just want to answer you. I had to read the threat twice to understand. Indeen metoo, I fouled aroud with Windows explorer. I'll uninstall ide and restart from the beginning. thank you. Hagardv 


   
ReplyQuote
(@hagardv)
Member
Joined: 2 years ago
Posts: 6
 

@zander Thank you Ron, I'm indeed inexperienced with forum use. I now just want to answer. I had to read the threat twice to understand. Indeed metoo, I fouled around with Windows explorer. I'll uninstall ide and restart from the beginning. thank you. Hagardv 


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

@hagardv Ok, but we still have no idea what you are wanting to do, or what happened. Redoing it with bad instructions will give you the same result. What are you attempting?

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
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

@hagardv Ok, but we still have no idea what you are wanting to do, or what happened. Redoing it with bad instructions will give you the same result. What are you attempting?

It appears he's still trying to work that part out, so lets give him some chance to sort it out and respond... as accurately as possible to your questioning.

Cheers


   
ReplyQuote
(@hagardv)
Member
Joined: 2 years ago
Posts: 6
 

Hallo Collegues,

I've uninstalled Arduino and I've deleted my libraries. I want to experiment with modifications in the factorysketch for the smartcar V4.0. So I downloaded "elegoo Smart Robot Car Kit V4.0 2022.03.23" and reinstaled Arduino. I checked the hardware and found that I needed the TB6612 & MPU6050 version.

I checked the USB connection and I saw: a CH340 com6 port. as far everything allright.

the upload of the factory sketch TB6612 & MPU6050 gives as faultsubject "fastled.h".

I attache the faultrapport here: 


   
ReplyQuote
robotBuilder
(@robotbuilder)
Member
Joined: 5 years ago
Posts: 2043
 

@hagardv 

You appear to be missing fastLED.h

https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries

 


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

@hagardv I know the MPU6050 has many errors, and some versions of the elegoo install are highly flawed.

One of your last errors mentions your download folder. It has NO part in this other than as a temporary place to download any github code needed to be installed as a library. It does not appear to be that so why?

If you are running with admin privileges then your windows environment is likely damaged.

Worst case is you may have to format and reinstall windows if you can't find the misplaced files. You could try from the terminal window using the find command from root looking for elegoo.

Try to contact elegoo to get the new correct install instructions.

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: 7026
 

@hagardv I went to the elegoo site and downloaded the software. I followed the instructions and compiled the main sketch. It fails due to some sort of size error. I did notice the versions they were using were extremely old so it may be that current versions will not work. I do know that another forum member got it to work by calling elegoo and getting a new install procedure.

BTW, the procedure I followed is just expand the zip, notice the filenames are 01, 02, etc and the 01 filename is ReadMeFirst. Couldn't be simpler. They have included instructions to deal with the chip shortage but since I am only compiling it doesn't matter. Just click the main ino file and go. Here is a picture of the errors.

Screen Shot 2022 08 29 at 17.49.35

 

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 4 / 6