Menu

Installing GLScene in latest Lazarus using OPM fail because of a minor change in LConvEncoding.pas

Lazarus
2021-07-13
2021-11-13
  • Michael Läßig

    Michael Läßig - 2021-07-13

    the procedure KOI8toUTF8 in LConvEncoding.pas has been renamed to KOI8RtoUTF8 and this has to be changed in GLSLanguage.pas too. I dont know if the OnlinepackageManager has it's own repository or is it using the Download Area of this site?

     
  • Michael Läßig

    Michael Läßig - 2021-07-23

    if this little problem is resolved then GLScene compiles but after that the newly created lazarus.exe crashes on startup. with the help of user Michl on german lazarusforum.de there is an patch that resolves this problem. Please can you apply it on official Version?

     
  • Patrick Chevalley

    Thank you for this patch Michael!

    I was testing my application with Lazarus 2.2.0 RC2 and experienced the Lazarus crash after installing the GLScene package. With your patch everything work fine.

    Any chance someone can commit that to the GLScene Lazarus branch?

    BTW I also found that with this version of Lazarus I have to change the application main form DoubleBuffered property to False, otherwise the OpenGL content is overridden by the form color.
    This need to be applied to the example and demo.

     
    • Pavel Vassiliev

      Pavel Vassiliev - 2021-11-13

      The chance to fix crashes and apply the patch is not zero. Here it is.
      PW

       
  • Patrick Chevalley

    Thank you!

     

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.