Menu

GLScene Installation

Lazarus
2018-10-31
2019-10-18
  • Felipe Alvares de Azevedo Macedo

    Hello friends, I've been using GLScene for a while on RAD Studio, however because of the high cost, and I'm moving to Lazarus!

    I've tried to find tutorials to install GLScene on Lazarus 1.8.4 but I couldn't find any! the only version I found was the 1.6 using the GLS 1.4.

    Is there a way to install it on newer Lazarus versions? and how?

     
  • Daniel

    Daniel - 2018-10-31

    Hi Felipe!
    In the Installation folder there is a file called Installation_lazarus_en.htm.
    It works well in Lazarus 1.8 with the latest GLScene aswell.

    Cheers!
    /Daniel

     
    • Felipe Alvares de Azevedo Macedo

      Hello Daniel! thanks for your reply!

      I couldn't find this file... in which version of GLScene I can find it?

      Thanks,
      Felipe

       
  • Jerome.D (BeanzMaster)

    Hi Felipe if you don't want to use Lazarus you can now also download the Delphi Community Edition https://www.embarcadero.com/products/delphi/starter

     
    • Felipe Alvares de Azevedo Macedo

      Hello Jerome! thanks for your message! I'll definetely take a look on the Delphi Community Edition!

       
  • tambok

    tambok - 2019-02-19

    Hi,
    I have problem to install GLScene ver 1.4 to new Lazarus version 2.0.
    I change Lazarus version from 1.8.4 to 2.0.
    Now GLScene RunTime package couldn't be compiled.

    Any help, how can i resolve this problem?

    Thank you,
    tbk

     
  • Jerome.D (BeanzMaster)

    Hi Tambok, i've just tried to install GLScene on Lazarus 2.0 and i haven't got any problem.
    Make sure to take source from SVN and place it under the Lazarus/Component/GLSceneLCL folder. If the source of GLScene it's the same as Lazarus 1.8.4 please clean folders of any ppu and others before

    Are you on Windows or Linux ?

     
  • tambok

    tambok - 2019-02-19

    Hi Jerome,
    I use Windows 10 64Bit.
    Do you mean the remaining files when lazarus is uninstaled? I have cleaned that.
    Yes, i did it, i tried as instructed by https://sourceforge.net/p/glscene/wiki/Lazarus%20Installation/

    Are you using GLScene version 1.4 too? because i get several error messages like:

    Identifier not found"ParamStrUTF8", in line 656, 29, path := ExtractFilePath(ParamStrUTF8(0));
    or
    Conversion between ordinals and pointers is not portable, in line 845, 32.

    could you explain your intructions/steps, that can i follow it? i tried and failed it again.

    thank you
    tbk

     
  • tambok

    tambok - 2019-02-20

    I am back again,
    i have tried to go back to the previous version 1.8.4, the problems are same.
    Posibility, you are right, there arent problems with the two versions.
    Maybe, because of Windows Updates. I already remember there are no changes that i used before in OS except just updating and only uses antivirus and firewall from Windows.

    the OS is now Win 10 x64, ver 1803, build 17134.590.
    Is there a same problem, maybe something similar?

    thank you
    tbk

     
  • Jerome.D (BeanzMaster)

    Hi perhaps some units are in conflicts between your two version of Lazarus or something was changed in commons paths.

    For news, i prepare a new update of GLScene for Lazarus. Coming soon.....

    Cheers

     
  • Kendall Sears

    Kendall Sears - 2019-09-05

    Any news on the progress of this?

     
  • tambok

    tambok - 2019-10-18

    Hi Kendall,
    Yes the progrea was success with little corrections.
    for my project i just need at least 2 from glscene components, i dont need components for sound.
    I use glscene from Jerome.D attached file.
    https://sourceforge.net/p/glscene/discussion/lazarus/thread/c4845e29/6289/attachment/glscene-code-7120-branches-GLSceneLCL.zip
    And i use Lazarus 2.0.2.
    The progress below:
    1.RunTime:
    GLCrossPlatform and GLUtils
    for line 656 path := ExtractFilePath(ParamStrUTF8(0));
    use Unit LazUTF8
    for line 904 and same other SetCurrentDirUTF8(path);
    use Unit LazFileUtils

    GLWindowsFont
    for line 299 GetTextMetricsW(DC, tm);
    change to GetTextMetricsW(DC, @tm);

    compile and Install
    2.DesignTime
    3.WinOnly

    Hope can help
    Tbk

     

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.