Closed Iamturbo1978 closed 6 years ago
If I am having this much trouble just to get it to compile, what are others that don't fully understand the Arduino IDE environment supposed to do?
Marlin 2.0 is not released so the majority of users know that they are beta testers and comfortable with the consequences of being on the bleeding edge.
This problem is a known issue with Arduino IDE 1.8 so moving to 1.9 beta was the correct course of action, make sure that your computer isn't still using parts of the Arduino IDE 1.8 toolchain.
I've tested your configs with Arduino IDE 1.9 beta and it compiles after a few modifications unrelated to your issue. In your configuration.h you did not add the new option…
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
…in the probe section.
The rest of the issues are in pins_AZTEEG_X3_PRO.h
and are due to another issue with Arduino IDE, comments on the same line as a define cause a problem with token concatenation, the easiest thing to do is delete all comments on the same line as a #define
(or only the ones mentioned in the errors), @thinkyhead is this something we have to work around or is it going to be fixed in Arduino IDE 1.9 do you think?
If using Arduino 1.9 beta didn't work (it should have),
add this to your %localappdata%\Arduino15\preferences.txt:
build.path=C:\arduino_builds
Please consider dumping the Arduino compiler and switching to PlatformIO.
The latest WIKI has a write up on using PlatformIO. Once setup it's only 2 or 3 mouse clicks to upload your board.
Marlin 2.0 is not released so the majority of users know that they are beta testers and comfortable with the consequences of being on the bleeding edge.
That's the main headache for me, I want to be part of the bleeding edge... Mostly because of the better planner, and linear advance 1.5
The rest of the issues are in
pins_AZTEEG_X3_PRO.h
and are due to another issue with Arduino IDE, comments on the same line as a define cause a problem with token concatenation.
That makes it a big issue, I added comments for everything. That way I don't have to remember what I changed, and what the original value was. That's a lot of comments to delete
If using Arduino 1.9 beta didn't work (it should have), add this to your %localappdata%\Arduino15\preferences.txt: build.path=C:\arduino_builds
I tried your suggestion, and still no go. I would add build.path=C:\arduino_builds
restart the Arduino IDE, try to compile, it fails, I check the preferences.txt file, and build.path=C:\arduino_builds
is missing.
Please consider dumping the Arduino compiler and switching to PlatformIO.
The latest WIKI has a write up on using PlatformIO. Once setup it's only 2 or 3 mouse clicks to upload your board.
I dont think I have any other choice but to start using PlatformIO. I did not know there was a WIKI that went in that much detail. I'll have to give it a shot.
I dont think I have any other choice but to start using PlatformIO.
Other than the comment issue (admittedly annoying) there is no reason you can't use Arduino IDE 1.9 beta, I did manage to compile with your configs successfully.
Please consider dumping the Arduino compiler and switching to PlatformIO.
The latest WIKI has a write up on using PlatformIO. Once setup it's only 2 or 3 mouse clicks to upload your board.
I'll have to give it a shot. I'll reply to this post if it works or not
@Iamturbo1978 arduino ide 1.85; I add this line "build.path=c:\tmp"
Also note that, apart from a few features, the bugfix-1.1.x
branch has full parity with bugfix-2.0.x
. So unless you want to use the BEZIER_JERK_CONTROL
option, you can stick with bugfix-1.1.x
for a while longer.
I'm not very experienced so please don't be cross, one solution ( work around) I have found to the file name to long error is to create a TMP folder on the root of C:\ and edit the system advanced variables to point at that folder, reducing the path to tmp while compiling I think, anyhoo it worked for me after a restart.
create a TMP folder on the root of C:\ and edit the system advanced variables to point at that folder
Arduino 1.9 beta is the option we'll continue to recommend, especially as many are using macOS and Linux, where setting system-wide environment variables requires some expertise.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
Can't compile Bugfix 2.0 no matter what I try. The error I get is "The filename or extension is too long." I have tried moving the marlin folder to the root of the drive (D:\Marlin), I've moved the Arduino folder to the root (D:\Arduino), I've moved the sketch folder to the root (D:\sketch). I asked for help on the reprap forum, it was suggested to use Arduino beta 1.9, I just downloaded the most current version I could, and still I cant compile it. I don't know anything about platformIO, so I don't want to go that route. If I am having this much trouble just to get it to compile, what are others that don't fully understand the Arduino IDE environment supposed to do?
I have included my config, and my config_adv files. Please help me, I want to really use V2.0
Here is what the Arduino IDE is saying
Iamturbo1978_2018.05.03.zip