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
LVGL and MPLAB X project on Windows - GCC and CreateProcess issue #6157
Comments
Hi, Line 474 is really very long in the log. I haven't found any good workarounds either, but what you can do on LVGL's side is removing the |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
Okay, so some feedback on this issue. From an example project that I have been given elsewhere, it seems that the main cause of the problem that I have experienced was that, as outlined on the LVGL website, I added the entire "lvgl" folder to my project, where I was seemingly only supposed to add the "src" folder along with the additional header files. So it seems that MPLAB attempted to build all of the examples at once, which caused the issue as described in my initial post. This is in line with what @kisvegabor said above. I can successfully build the project using only the necessary files for my project. Perhaps this can be explained slightly more clearly on the website? It is somewhat misleading, as it was in my case. |
Great that it's working now! I've open #6250 to describe which folders are needed in more detail. |
Introduce the problem
I am creating a basic MPLAB X project in Windows to include the use of LVGL. I have followed all the steps to set up the project as explained on the website.
When building the project, the build fails with the following error:
"make (e=87): The parameter is incorrect."
From reading up on the issue, it seems like this issue is triggered due to the Windows limitation of 32k on the CreateProcess function that is used during the project build. This also doesn't seem to be an issue limited to MPLAB X , as there seem to be various cases of this same issue in platforms such as Eclipse, NXP, etc.
Some online answers suggested that the project could be split up in libraries and built in stages, but I have no idea where to start with this approach. Others suggest that the project be built in Linux where this limit is not a problem.
There must be a straight-forward solution to this issue, as I believe there are a lot of Windows users that use LVGL and have no issues with this.
I am attaching a text file with the complete build console output, as it is very long and I don't want to clutter this question.
Kindly advise on how to move forward with this.
MPLAB X build issue console output.txt
Proposal
No response
The text was updated successfully, but these errors were encountered: