Menu

GLCD Syntax Error

Help
Chris S
6 days ago
5 days ago
  • Chris S

    Chris S - 6 days ago

    Complier: GCBASIC (2025.10.04 (Windows 64 bit) : Build 1523)
    Chip Model: 16F1778
    Great Cow BASIC build version utility (1.06)... Build 319
    I am using Synwrite 6.22.2290

    The issue: Its been three years since I last looked at this code and in its current state, its running on hardware! I have to make some updates to it and I havent changed the code yet so I figured I'd compile it to make sure things are good. However, I get the following errors:

    20:28:23 G+Stool started with parameter 'hex' -> processing C:\GCstudio\G+Stools\makeHEX.bat

    WARNINGs / ERRORs reported by GCBASIC (if Syntax Error, doubleclick on the errormessage below) <<<
    BenchtopPSU_2025_11_29_A_WithGLCD.gcb (195): Error: Syntax Error
    glcd.h * (1260): Error: Syntax Error (Library Include)
    glcd.h * (1287): Error: Syntax Error (Library Include)
    Duration: 1.4 Seconds.

    Line 195 just has GLCDCLS and thats it. I always clear the LCD upon start up. The other two look like problems within the actual include file.

    I tried forcing an update and it didnt help. Thanks for any help.

    Note: I am on EST time :).

     
  • Anobium

    Anobium - 5 days ago

    Chris,

    All sorted. Download the MPK. Double click the download. If you have the latest GCSTUDIO then it will automatically update applying the fix.


    Root Cause

    We change the GLCD library configuration to improve ( decrease ) the compilation time. This optimisation isolated each GLCD library. So, rather than load ALL the GLCD libraries the compiler loads only the GLCD library required.

    I had missed a dependent GLCD library for your selected GLCD.

    The file that changed is in the MPK and it will now load the dependent library which will resolve the error.

    This does means that we clearly do not have a test program with your GLCD. I will add your GLCD to the test program suite.


    Thank you for letting us know. Really grateful. Hopefully, this resolves for you.

     
    • Chris S

      Chris S - 5 days ago

      Thanks! That fixed it and it compiled :)

      It always me and these LCDs!

       
      • Anobium

        Anobium - 5 days ago

        Excellent!

        There have been no functional changes. This was purely the way the libraries were loaded.

        If you want to see the change. Look at include\glcd.dat This will show you the structure of the libraries being loaded.

        Enjoy.

        Please donate to the project. The December fund raising is coming up!!

         

Log in to post a comment.