Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Andorra libraries kompilieren (https://www.delphipraxis.net/137902-andorra-libraries-kompilieren.html)

MechMac666 30. Jul 2009 18:42


Andorra libraries kompilieren
 
Hallo,

ich habe versucht die libs von Andorra 2D zu kompilieren (Version 0.451). Sowohl bei den d3D als auch bei OpenGl scheitert dies.
Bei beiden bekomme ich eine Fehlermeldung an folgender Stelle:

Delphi-Quellcode:
procedure LoadFromBitmap(ABmp:TAd2dCustomBitmap; ABitDepth: TAdBitDepth);override;
Und zwar kommt Delphi mit TAd2dCustomBitmap nicht zurecht.

Wer kann mir helfen?

Mfg

MechMac666 30. Jul 2009 21:01

Re: Andorra libraries kompilieren
 
Irgendwie ist das Merkwürdig.

Ich habe mal nachgeforscht.

In den Uses der OGLmain.pas steht: AdBitmapClass

Und in der AdBitmapClass.pas ist folgendes deklariert:
Delphi-Quellcode:
type
  {TAd2DCustomBitmap is the base bitmap class that defines the main bitmap
   properties.}
  TAd2DCustomBitmap = class
    protected
      FMemory: PByte;
      FWidth: integer;
      FHeight: integer;
      FSize: int64;
      [...]
Warum zu Henker findet der das dann nicht?
In den Options von Delphi habe ich den Pfad korrekt angegeben.

So geht die Fehlerliste los:
Build
[Pascal Error] OGLMain.pas(152): E2003 Undeclared identifier: 'TAd2dCustomBitmap'
[Pascal Error] OGLMain.pas(982): E2029 ')' expected but identifier 'Width' found
[Pascal Error] OGLMain.pas(986): E2029 ';' expected but 'IF' found
[Pascal Error] OGLMain.pas(989): E2003 Undeclared identifier: 'FlushTexture'
[Pascal Error] OGLMain.pas(990): E2003 Undeclared identifier: 'FTexture'
[Pascal Error] OGLMain.pas(992): E2003 Undeclared identifier: 'newtex'
[...]

:gruebel:

igel457 31. Jul 2009 16:53

Re: Andorra libraries kompilieren
 
Vielleicht hast du irgendwo noch alte Andorra 2D Dateien rumfliegen, die der Compiler einbindet.

MechMac666 2. Aug 2009 15:32

Re: Andorra libraries kompilieren
 
Hallo,

tatsächlich, daran lag es. Da waren in meinem "lib"-Ordner noch *.pas Dateien von der Vorgängerversion.
Nun geht es.
THX


Mfg


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz