Skip to content
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

Compiling on arduino IDE #506

Open
Neoteb2 opened this issue Apr 10, 2023 · 1 comment
Open

Compiling on arduino IDE #506

Neoteb2 opened this issue Apr 10, 2023 · 1 comment

Comments

@Neoteb2
Copy link

Neoteb2 commented Apr 10, 2023

NOTE: For issues with the GUIslice Builder, please file a report instead at:
https://github.com/ImpulseAdventure/GUIslice-Builder-source/issues

I am running Arduino IDE with Raspberry pi Pico board and a IL9341 TFT.

I am just trying to verify the code and the issue I'm seeing is

fatal error: Touchscreen project_GSLC.h: No such file or directory
15 | #include "Touchscreen project_GSLC.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: Touchscreen project_GSLC.h: No such file or directory

I used the wiki pages to install on arduino and I'm running the GUIslice builder running on MacBookPro M1. tried looking for the file after GUIslice builder generated code in the folder I have everything saved in but I didnt find it. Probably a simple fix but running around with two jobs along with this side project that im doing thought I would check back and maybe ask for some simple help

@Pconti31
Copy link
Contributor

@Neoteb2 A Couple of things, did you read the first two lines of your post? The reason we ask you to post in the Builder's repository are twofold, one there is a better template that asks for the all of the information I need to help you out. Not being a mind reader I can't reproduce your issue without your help. Two, this isn't my repository, I have no special access here. Here I'm just a normal user like you and can't even close issues, but most importantly I don't get email notices of new issues. So, unless I happen on by things can go a long time before I have any idea someone is having a problem.

I see that you followed the wiki, a bad idea since Calvin @ImpulseAdventure has been MIA for over a year and a half now so the wiki is way out of date. Again I can't do an update since I don't have write permissions. You should only follow the Builder's README for the install and run.

Also, when creating a new project always do a save not a saveas, saveas works best when renaming an existing project to a new name and folder or moving an existing project from the Arduino IDE to The PlatformIO IDE.

Now as to your problem you are the second one to have reported the *_GSLC.h file not being created. See Closed issue 233

His solution of deleting and reinstalling a newer Java frankly makes little sense to me since java is bundled with the builder. Still he did get things running so...
Maybe there is a very bad bug with the GUIslice.sh script.???

So lets start with providing some information. What exact version of the builder is being used?
Latest is 0.17.b21 Please include the cpu architecture, arch64, x86.

Is this a new project or are you trying to update an older version?
What is the target platform, Adafruit_GFX, TFT_eSPI, Linux?
How are you invoking the Builder? Using GUIsliceBuilder/GUIslice.sh?

Something to try. Go to your project folder and delete everything but your *.prj file.
Open the builder and do a new code generation and then simply close the builder.
This very IMPORTANT do not reopen the builder until you capture the following log file since reopening the builder will delete and recreate a new one.
If the *_GSLC.h file is still not created move the newly created GUIsliceBuilder/logs/builder.log file to your project folder and create a zip file you can post here.
Paul--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants