Menu

GLScene can't compile in x64

Help
Maverick
2015-05-06
2015-05-10
  • Maverick

    Maverick - 2015-05-06

    I have Delphi XE5 and the last revision of GLScene 6659.

    GLScene run time package compile in 32 bits BUT can't compile in 64 bits.

    I have some problems with GLSJPG.pas and LinkedObjects such as
    {$L LinkedObjects/jdapimin.obj}

    [dcc64 Erreur] GLSJPG.pas(894): E2045 Format de fichier objet incorrect : 'C:\Developpement\Current\Library\GLScene\Source\LinkedObjects/jdapimin.obj'

    I think this object and next ones are generated for 32 bits.

    If someone encountered the same problem or can help me it could be very useful.

    Thanks

     

    Last edit: Maverick 2015-05-06
    • Pavel Vassiliev

      Pavel Vassiliev - 2015-05-10

      Maveric,
      Yes, it's an intracate problem with glsjpg.pas and libpng.pas compilation under win64. The GLScene's LinkedObjects (.obj) are win32 files, but even after recompiling source codes of jcapimin.c etc. the errors remains. It might be possible to use vcl.imaging.jpeg and vcl.imaging.pngimage instead and exclude GLFileJPG and GLFilePNG from GLScene_RunTime package, but GLScene_DesignTime includes designide package, that also does not applicable for win64. So the right way would be to get GLScene_FMX version to work. Again there should be created own Component Editor and a Property Editor for GLScene_DesignTime_FMX package to replace for vcl's designide functions.
      PW

       

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.