I am trying to compile the Marlin 3D printer program which used to work with a lower version, before 1.8.8.
In both instances with 1.8.9 and 1.8.8 of Arduino IDE I get the same two errors;
error while detecting libraries ....\sketch\stepper.cpp and ...\sketch\Sd2Card.cpp
I've tried downloading libraries for motors and like, but it doesn't help, instead it made it worse because I get an error message about duplicate access.
The two *.cpp files and *.h files with same names are in the build. Apparently some files that were part of the old version are still missing.
Hi,
I don't have a definitive answer to your problem but I can tell you how I "clean out" the computer when uninstalling the Arduino IDE.
I've done this when troubleshooting a problem compiling a new board and I got to the point I was no longer sure what libraries were installed and where. My steps were:
-
Download IObitUnstaller free
-
Uninstall the Arduino IDE. The IObit program will clean out any registry entries associated with Arduino IDE.
-
Delete files in:
C:\Users<your directory>\AppData\Local\temp
C:\Users<your name>\AppData\Local\Arduino15 -
reboot and reinstall the IDE.
Good luck
I looked into C:\USERS\Fred\ directory and there is no \AppData. . . subdirectory
maybe it was cleared out by the installation of 1.8.8 Arduino ? which uninstalled old versions before installing itself.
The AppData folder is a "system folder" so Windows hides it from you by default. You can change that in Window Explorer: View > check the box next to "Hidden Items".
I deleted Arduino IDE the standard way, then rebooted and downloaded it again. I was able to compile and download the unchanged original file, even though there were 2 messages during compiling.
Then I started to make the recommended changes for Marlin 3D software and tried compiling. Then I got a ton of error messages all of them to do with duplicated SD type library files. So I guess the problem is still around and I guess I need to follow your directions.
I couldn't get Marlin to compile with 1.8.2, 1.8.5. Only 1.6.9.
Then I was told on May 12 about a version that had a bug fixed that had been preventing the compiling.
Search for my posts on May 12 for the Github link to the fixed version. I saved it as
Marlin-bugfix-1.1.x.zip
but I don't recall if it was mentioned by name in the discussion.
Sketch uses 55154 bytes (21%) of program storage space. Maximum is 253952 bytes.
Global variables use 2526 bytes (30%) of dynamic memory, leaving 5666 bytes for local variables. Maximum is 8192 bytes.
Hello friends, I am very new to Arduino and my first shot at initial setup of the UNO board seems to be a failure. The board I have has the square chip in the center, the info on the chit is as follows ATMEL MEGA 328P 354 73D (I'm not too sure, it may be a 0 or a D) 1824 YP.
I installed the software; 'Arduino-1.8.9-windows' in Windows 10 Pro 64bit, as soon as I connect the board to the PC, the "ON" red LED came on and right after the "L" LED kept on blinking without stopping. I got error messages trying to transfer "blink" to the board.
Bottom line, nothing worked as had expected, obviously I am doing something wrong. That's not all, I cannot find Arduino in Windows Device Manager, so I have no idea where the board is connected. I have shelved everything pending any help I can get here. If there is anything further to add that I missed I'd be happy to try to comply.
I trust that someone will be able to help me.
Thanks in advance.
GeddesJ:
I cannot find Arduino in Windows Device Manager
Do you see any new device appear in Device Manager when you plug your Uno in?
GeddesJ:
I have shelved everything pending any help I can get here.
You make it far less likely that you will get help by picking some random unrelated thread to hijack. But stop! I know you're about to go cross post now. You already posted here, so we'll help you here. In the future, do better.
I found the source of the problem. 2 includes in front at the start of the Marlin file. I commented them out then it compiled. However I still get two error messages during compiling one for Sd2card.cpp and other for Stepper.cpp library included .. However it compiles none the less?? I've also made some changes to do Auto leveling and that also compiled with Arduino version 1.8.8. I haven't started debugging it with the hardware yet.
Also after I deleted Arudiono IDE I tried to follow:
Delete files in:
C:\Users<your directory>\AppData\Local\temp
C:\Users<your name>\AppData\Local\Arduino15
following "Window Explorer: View > check the box next to "Hidden Items"." but did not see that selection.