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 Reactions
11.7 K Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7105
 

@frogandtoad Just an FYI, I doubt the OP has a clue what you are saying. He bought a kit and all we know is something he tried to compile in the arduino IDE messed up.

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.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


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

@zander

Posted by: @zander

@frogandtoad Just an FYI, I doubt the OP has a clue what you are saying. He bought a kit and all we know is something he tried to compile in the arduino IDE messed up.

Clearly, the OP is lacking experience in both programming and using the IDE, but all we can do is try to guide them through their issue.

Now, as I stated yesterday, I would try the same one you downloaded, which I did, and in fact... I did try "all project versions" as shown for each driver below:

robotcar 0

... likewise as yesterday, I had no problem in compiling and uploading each of them to my UNO, from a Windows10 machine - The following results also show different amounts of space usage for each of the different driver versions:

robotcar 1
robotcar 2
robotcar 3

I was hoping to be able to replicate the error both you and the OP were receiving, but it appears to compile and upload perfectly for me, so not sure I can help any further.

Cheers


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

@frogandtoad Very strange. Did you install the libraries like FastLed, replacing your current versions for the extremely old versions in the download?

I have other things to do so have deleted the downloads and returned my library to normal. Since you had correct results, let's call this Solved!

It just occurred to me, I am Mac you are Windows so that might change the end result, but the OP was windows so once he understands the procedure he will be ok too.

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.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


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

@zander

Posted by: @zander

@frogandtoad Very strange. Did you install the libraries like FastLed, replacing your current versions for the extremely old versions in the download?

I have other things to do so have deleted the downloads and returned my library to normal. Since you had correct results, let's call this Solved!

It just occurred to me, I am Mac you are Windows so that might change the end result, but the OP was windows so once he understands the procedure he will be ok too.

Yes, I mentioned in my first post that I received the error for the missing FastLED.h library, then I downloaded it and everything compiled and uploaded successfully thereafter.

I'm not sure it is a MAC/Windows difference... as I think more about it, it could be that the FastLED library I downloaded may be smaller that the ones you both are using? Dunno!

Cheers


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

@frogandtoad I am sure you noticed the AddLibrary folder, it has the FastLED_master zip file. I tried both that library and the normal version the library manger gets for you plus the other libraries in the AddLibrary folder. All had the same result. I recall seeing somewhere that a certain version of IDE (old) was needed but I did not pursue that. However that does not explain your success. If I was running windows I would be really mystified, but for me the explanation is a difference in the platform somehow has an effect. Maybe some other windows user will see this and try to replicate your success. In any case this is a Solved as the OP was Windows. By following the documented install procedure the code at least compiles. I thought he had a lot more than a missing FastLed, but my memory has been known to fail.

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.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Page 6 / 6