-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bf-2.0.x - LCD compile error #7931
Comments
u8glib added? |
Yes. It worked previously but I lost track as some of the pushes caused file errors from some of the devs using platform.io. |
Surely dupe of of #7707 (problem with Arduino IDE) Look in here for updated arduino-builder.exe binary to resolve: arduino/arduino-builder#249 |
I just tried it, no different. |
You'll see my report of the same on the Arduino-builder tracker I liknked you to above They had a different debug version posted earlier that did work for me but haven't been able to re-test it (need to hot up a VM since it too has the AV warning). Regardless, as Anhardt mentioned: w/o the info requested on issue open (Configs, full error messages) it's tough to help :) |
I spent some time looking into this, it is the same underlying cause as #7707 but a different incarnation. There is another limit within avr-gcc. It creates processes internally, and it appears the line gets truncated (maybe related to ARG_MAX or something like that?). This then causes Windows to error on a mangled file name. Searching on google suggests that "avr-gcc: error: CreateProcess: No such file or directory" is frequently related to line length too long, although there are several other causes. If the line length happens to be in the region ~31,000 to 32,767 you will get this error and not "line too long". By testing, I found that a line length of 31426 is OK, and 31748 fails, so the limit is somewhere in there. The fix applied in arduino/arduino-builder#249 needs to have a lower threshold before kicking in, e.g. 31000. |
fiveangle- No need for configs is there, I un-commented one line? And that is the entire error message from the Arduino IDE. It compiles fine in platform.io. bobc- So you are thinking this is somewhere between those numbers. In case it was close I moved it directly into my home drive's root folder, no luck. I'm not trying to be a pain and I am in no rush, I am just trying to help out. Unfortunately I only know enough programming to be dangerous and not enough to be truly helpful. I will do what I can, If you have any suggestions let me know. I have been following along daily and keeping a Pull Request current #7648 with a new 2.0 build, but as of late these new issues are popping up and going away so I was hoping this was an easy one as well, I guess not. |
How are we supposed to know this ? If I had a dime for everytime someone's configs had an obvious error in it, we'll... but if you want to make it harder, so be it ;)
Submit the issue to Arduino, since they are the ones with the problem they need to hear about it. |
fiveangle - It is the first sentence of this bug report, I am sorry if you think I am being difficult. I figured it was actually easier to delete two "//" and confirm it than to load my config. Please don't waste your time on me close the bug report and I will wait it out. I thought was here to lend a hand, sorry to have ruined your day. |
@Allted there are several workarounds, none of them very nice. The simplest is probably to edit Arduino preferences.txt and add a line "build.path=c:\tmp" or similar. That means all sketches compile to the same location though which may lead to conflicts. The best solution is probably to abandon Arduino and use platform.io. They use the @file option on gcc, which Arduino appear to have rejected in favor of a temporary hack. I have more confidence that platform.io guys know what they are doing when it comes to large scale software development. |
Thanks bobc. That does work Thank you. I tried with a few different version of the firmware and no problems so far. I can also get it to work with platform.io as well, I was just hoping to help to get it to work with the Arduino IDE . Please let me know if there is anything I can do to help but it looks like we will just have to wait for an arduino update? As 2.0 matures I am sure this will get ugly quick as more and more try and "update". A majority of my users have a very hard time with arduino as it is, trying to get them on to some other platform is probably not going to happen. |
@Allted - my day is going fine :) . I've obviously not made my point so sorry for that or my poor word choice. I didn't mean to offend. This last line of your issue open I missed, so I apologize for that: "
Again, sorry to offend. But I'm no more or less powerful than you here, so no ability to close anything. I see you closed this (which is probably the right action) but did you open a new issue with arduino guys you can mention here (so it links) ? I think the more we send their way, the sooner they will be pressured to fix it. @bobc - I've been pushing on the DevIoT plugin author that allows very easy use of PlatformIO within Sublime Text 3 (granted, honorware), but it's been just one small bug after anther. Once it is solid, I'll publish a video and/or doc of a quick setup of compiling Marlin under PIO. I agree with @Allted that people already have a tough time with Arduino IDE so any alternative needs to be at least as simple. Atom+PIO doesn't even come close. I also agree that the hack they came up with is exactly that. I figure the more that open issues with them, the more pressure they will feel to craft a more workable fix. |
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. |
Compile Error
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Bug Report
No other changes made to the config files. Works fine in 1.1.x, and it worked fine at some point in bf-2..0.x. a while back.
The text was updated successfully, but these errors were encountered: