-
Notifications
You must be signed in to change notification settings - Fork 131
lwip make compile failure #721
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
Comments
no idea at all |
What do you want me to do with this issue? |
Nothing really mate. It's no big issue for me so I'll let you decide if it's worth fixing. I guess that someone finding and needing to fix a bug in the lwip stack might consider this a show stopper, but for me it's not..for the moment at least 😉 |
I tried it on my system with arduino IDE and that one failed :-s |
That sounds great. I personally won't benefit from anything here. I do appreciate the effort that you guys have put into the Eclipse Arduino plugin over the years but I decided a while ago to admit defeat with Eclipse. In the end I got tired of constantly battling with Eclipse being too cumbersome, monolithic and flaky and I made the switch to PlatformIO. Good luck. Please feel free to keep this issue open or close it, I'll leave it to you. Thanks. |
Does PlatformIO offer the indexer functionality? |
My understanding of the Eclipse CDT indexer is that it enables two things:
If the question you're asking is: "does PlatformIO provide any features to enable code to be navigated?" then the answer to that question would be "sort of".. PlatformIO offers two options to choose from when you install:
When PlatformIO is running in the Atom editor "Goto Declaration" is pretty much all you get for semi-intelligent code navigation along with some generic "Find in project" search type features. When PlatformIO is running in VSCode, there are more code navigation options available because VSCode has built in code navigation features i.e. "Goto Definition", "Goto Declaration", "Peek Definition", "Peek Declaration", "Goto Implementation" etc. So the question of quality / availability of code navigation type features largely comes down to the editor that you choose to use PlatformIO with rather than what is provided by PlatformIO itself. For the second part, PlatformIO does include a code completion indexer "engine" to enable code editing intellisense / code completion. I guess VSCode could be considered better that Atom for code navigation type features when developing with PlatformIO. However the Atom editor however does have some features that VSCode doesn't have..so perhaps which one you prefer is a bit of a personal preference thing. Personally I prefer VSCode because VSCode is my general file editor of choice nowadays. For me the "killer" feature of PlatformIO when working with ESP8266 / Arduino projects is the library dependency finder. This enables you to declare the project / board type and what libraries your project depends on in the platformio.ini file with a few lines of text and PlatformIO will then use this to pull library dependencies in and setup library paths automatically. This makes it really easy to get going quickly with PlatformIO enabled project code..library / dependency setup friction is reduced to zero. |
Thanks for the input. It confirms my (old) knowledge from PlatformIO. It is a "closed", "compilation environment" with great "code editor" support. Let me explain what I mean and please do correct me if I'm wrong. In the Arduino framework (implemented in the Arduino IDE and Sloeber) is open in the sense that anyone can create and add libraries/boards. This is open and allows for quick updates but also makes it impossible to guarantee "things will work" With "compilation environment" I mean that PlatformIO makes sure everything is there to get the stuff compiled and does the compilation. It does not "share/integrate" the build commands with a "third party" (like a code editor). With "code editor" I mean that there is no real link between the actual build commands and the editor. In the previous section I explained this at the level of the build command querying but this also accounts for build output (showing errors in the editor).
I can understand that.
For the reasons explained above this will never be possible in a "open" Sloeber. Looking forward to your input. |
Hi there, this is no big deal for me but I thought I'd mention it anyway. I was following along on an issue that was raised in the ESP8266 arduino core project here: esp8266/Arduino#3143 and I learnt something new when igrr mentioned that it's possible to compile lwip from source at project build time by selecting the "Core Development Module" as the board and selecting "Open Source (gcc) as the lwip variant.
The issue I'm seeing is that this does work fine when testing with a new empty skeleton sketch project in the Arduino IDE 1.8.1 but doesn't work and fails with this error when attempting the same thing in Eclipse Neon 4.6.2 with Sloeber 4.0.0.201701171403:
So it would seem that
-llwip_src
is failing to be resolved somehow. Perhaps it's a path resolution failure problem somewhere..but it's hard to see what's going wrong because the above is all that gets output to the console. Any ideas at all?The text was updated successfully, but these errors were encountered: