Menu

Can NOT compile GLContext.pas ,Undeclared identifier'TGLQueryType',Why?

Help
sxbug
2020-04-19
2020-04-20
  • sxbug

    sxbug - 2020-04-19

    Can NOT compile GLContext.pas ,Undeclared identifier'TGLQueryType',Why?
    I had downloaded the lastest trunk r7184, I want to reinstall this component

    Thanks

     

    Last edit: sxbug 2020-04-19
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-04-19

    Hi sxbug,
    Try to CleanForRelease.bat in your working directory or may be ununstall old SDL packages.
    Pavel

     
  • sxbug

    sxbug - 2020-04-20

    Hi Pavel
    Thanks at first. After I ClearForRelease, it is also error:
    [dcc32 Error] GLContext.pas(352): E2003 Undeclared identifier: 'TGLQueryType'
    [dcc32 Error] GLContext.pas(369): E2005 'TGLQueryType' is not a type identifier
    ...

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-04-20

    Hi sxbug,

    Undeclared identifier: 'TGLQueryType'
    I've updated paths for GLState unit in projects, it should work now
    Pavel

     
  • sxbug

    sxbug - 2020-04-20

    Hi Pavel
    I am sorry , the other in GLIsosurface.pas:
    [dcc32 Error] GLIsosurface.pas(637): E2003 Undeclared identifier: 'C'
    [dcc32 Error] GLIsosurface.pas(643): E2003 Undeclared identifier: 'C'
    ......

     

    Last edit: sxbug 2020-04-20
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-04-20

      Hi sxbug
      Hm, check your pathes to library sources in IDE as in Installation.pdf. It should be compiled even if a unit is in other directory
      Pavel

       
  • sxbug

    sxbug - 2020-04-20

    Hi Pavel
    All pathes had set in Delphi IDE, and not displayed any unit wasn't found. Only display
    'Tvector3f' does not contain a member named 'C'
    'Tvector4f' does not contain a member named 'C'
    .....

          May I change C  to V?
    
           Thanks for your help
              sxbug
    
     

    Last edit: sxbug 2020-04-20
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-04-20

    sxbug,
    well, where you found it? yes, you can.
    Pavel

     
  • sxbug

    sxbug - 2020-04-20

    Thanks
    I had compiled this component success, after changed C to V.
    sxbug

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.