Menu

Install of GLScene 1.5 on XE5 needs System.Math.Vectors.dcu

Help
Torud
2017-08-21
2019-06-04
  • Torud

    Torud - 2017-08-21

    Hi Guys,

    I tryed to install GLScene 1.5 to XE5 and did all the previous needed steps.

    While compiling all packages I receive an error which says this:

    [dcc32 Fataler Fehler] GLTypes.pas(18): F1026 Datei nicht gefunden: 'C:\Users\CADuser\Downloads\GLScene_v1.5_for_Win32_Win64(1)\GLScene\Packages\Win32\System.Math.Vectors.dcu'

    Any idea, where to find this file or whats wrong?

    Cheers Thomas

     
  • Torud

    Torud - 2017-08-21

    As far as I understand the Embarcadero-Site, there is no section for this in XE5.

    http://docwiki.embarcadero.com/RADStudio/XE5/en/Mathematical_Routines

    So in GLTypes this is declared

    System.Math.Vectors,

    What do I have to change to make it work?

    Cheers Thomas

     
  • Jerome.D (BeanzMaster)

    Hi first don't install glscene in you download folder. Delphi normally has created a folder at the installation where you put your own libs and Projects. ("user\embarcadero\delphi\projetcs" or something like that.)
    The problem is that your folder : 'C:\Users\CADuser\Downloads\GLScene_v1.5_for_Win32_Win64(1)\GLScene\Packages\Win32\ " is clearly out the right path. Check your Delphi compilations options. for say where to install third party components.

     

    Last edit: Jerome.D (BeanzMaster) 2017-08-21
  • Olaf Plotzke

    Olaf Plotzke - 2018-08-16

    Hi. I've got the same problem with GLScene 1.6 and Delphi XE5. There is no System.Math.Vectors unit. I installed the package under 'd:\components\', as suggested by the install.exe.

     
  • Jerome.D (BeanzMaster)

    Hi problem is the path is surely wrong. Try placing unit to GLScene Source folder directly

     
  • Olaf Plotzke

    Olaf Plotzke - 2018-08-20

    The unit System.Math.Vectors.* does not exist anywhere on the PC (I searched all drives for it). I am trying to compile the GLScene_RT.bpl package directly in the d:\Components\GLScene\Packages\Win32 directory.

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2018-08-24

    Hi Olaf,
    As you rightly note the System.Math.Vectors is not in GLScene library so you losed a path to standard libs of RAD Studio. Setup default pathes or copy from another computer, or reinstall Studio. And, please, download and install a new release of GLScene_v1.7_for_Win32_Win64.7z
    PW

     
  • DaveW

    DaveW - 2018-12-18

    I have the same problem. Clean Win 10 installation on a new laptop, Clean XE3 installation, try to install GLScene 1.7 but System.Math.Vectors is not found. Searched C & D drives, System.Math.Vectors is not present. Have had to drop down to GLScene v1.2 to get it to install. That was the latest version I could find that dd not reference System.Math.Vectors

     
  • IanH

    IanH - 2019-01-24

    I also have this problem. I'm trying to install GLScene 1.8 into XE5 but get a failure when compiling GLScene_RT.bpl because System.Math.Vectors is missing.

    Pavel - I don't understand your instructions to resolve this. I don't think reinstalling XE5 will fix it, and I don't have access to another machine that contains this file.

    Any ideas ???

     
  • Mark Stephen Day

    IanH FYI,

    Open GLScene_Win32.grouproj.

    Embarcadero with all their wisdom decided to take all the Vector math from System.UITypes and park it in System.Math.Vectors. So the first problem is System.Math.Vectors. Create a new unit called System.Math.Vectors and save it to the GLScene source directory, this is the unit.

    unit System.Math.Vectors;
    
    interface
    
    uses
      System.UITypes; Has the vector types and methods required
    
    implementation
    
    end.
    

    Any GLScene unit that uses System.Math.Vectors will now be able to use the Vectors.

    The next problem is System.ImageList. You will run in to this problem next. Embarcadero parked the TImageList into this unit. So to enable TimageList with GLScene 1.5, create a new unit and save as System.ImageList in the GLScene source directory. This is the unit.

    unit System.ImageList;
    
    interface
    
    uses
       Vcl.Controls; //Has type TImageList
    
    implementation
    
    end.
    

    That takes care of System.ImageList.

    The next problem you will run into is TGLBlendingMode from the GLMaterial unit :(. This has been the hardest problem to overcome, and, I still haven't got through this yet. I created a new unit called GLBlendingMode -

    unit GLBlendingMode;
    
    interface
    
    type
       TGLBlendingMode = ( bmOpaque, bmTransparency, bmAdditive,        bmAlphaTest50, bmAlphaTest100, bmModulate, bmCustom );
    
    implementation
    
    end.
    

    In the GLMaterial unit, comment out the TGLBlendingMode declaration, build the group project and when you get and error for TGLBlendingMode add the GLBlendingMode unit to each unit whith the error. This as far as I have got with installing GLScene 1.5 into Rad Studio XE5. I am in the process of resolving the last error I have -

    [dcc32 Error] FMaterialEditorForm.pas(128): E2010 Incompatible types: 'TBlendingMode' and 'TGLBlendingMode'. I can't find TBlendingMode declared in any GLScene unit as yet.

    Keep Posted,

    Sharky.

     

    Last edit: Mark Stephen Day 2019-02-20
  • w.k.m. Van Rij

    w.k.m. Van Rij - 2019-06-04

    After following (the first of) above steps I now get the message :
    [dcc32 Error] GLTypes.pas(970): E2010 Incompatible types: 'TAbstractVector' and 'array[0..3] of Extended'
    As I mainly use C++ I got stuck here, because I have no clue as to debugging this error in Delphi.
    Anybody here to help me out please?

     

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.