OpenGL and FreePascal
- From: Dennis-Bendert Schramm <dennisschramm@xxxxxx>
- Date: Fri, 28 Oct 2005 15:44:22 +0200
Hello,
maybe someone of you can help. I'm trying to compile the SDL-OpenGL sample program from the JEDI-SDL package but it doesn't work. I use SuSE Linux Pro 8.0.
Here are the error messages:
dennis@linux:~/projekte/testordner> fpc -Mdelphi sdl_opengl.pas
Free Pascal Compiler version 1.9.4 [2004/05/30] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Linux for i386
Compiling sdl_opengl.pas
Compiling /usr/local/dglsdk/header/dglOpenGL.pas
Compiling /usr/local/dglsdk/header/dglGLX.pas
dglGLX.pas(232,18) Error: Identifier not found "XID"
dglGLX.pas(232,21) Error: Error in type definition
dglGLX.pas(233,15) Error: Identifier not found "XID"
dglGLX.pas(233,18) Error: Error in type definition
dglGLX.pas(234,17) Error: Identifier not found "XID"
dglGLX.pas(234,20) Error: Error in type definition
dglGLX.pas(235,16) Error: Identifier not found "XID"
dglGLX.pas(235,19) Error: Error in type definition
dglGLX.pas(236,15) Error: Identifier not found "XID"
dglGLX.pas(236,18) Error: Error in type definition
dglGLX.pas(237,19) Error: Identifier not found "XID"
dglGLX.pas(237,22) Error: Error in type definition
dglGLX.pas(248,97) Error: Identifier not found "PXVisualInfo"
dglGLX.pas(250,66) Error: Identifier not found "PXVisualInfo"
dglGLX.pas(251,68) Error: Identifier not found "PXVisualInfo"
dglGLX.pas(251,85) Error: Identifier not found "Pixmap"
dglGLX.pas(251,113) Error: Type "GLXPixmap" is not completely defined
dglGLX.pas(252,3) Fatal: Syntax error, ";" expected but "identifier GLXDESTROYCONTEXT" found
dennis@linux:~/projekte/testordner>
Maybe someone of you has got knowledge with the dgl-OpenGL headers and can help me.
Furthermore I compiled the (pure) OpenGL sample code that comes with the FreePascal package. The examples were from the FPC-1.10.x package and I compiled them with FPC 1.9.4. But when I try to execute them, I get an Access Violoation message :-(
Any help?
Thanks in advance,
Dennis Schramm
-- batchtranscode.sourceforge.net
"Sie war so fett, ich musste sie in Mehl waelzen, um die feuchte Stelle zu finden!"
.
- Follow-Ups:
- Re: OpenGL and FreePascal
- From: Marco van de Voort
- Re: OpenGL and FreePascal
- Prev by Date: Re: To Resuscite 15-year-old Pascal Program
- Next by Date: Re: To Resuscite 15-year-old Pascal Program
- Previous by thread: To Resuscite 15-year-old Pascal Program
- Next by thread: Re: OpenGL and FreePascal
- Index(es):
Relevant Pages
|