OpenGL and FreePascal



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!"
.




Relevant Pages

  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Wizard #if, #define on VC++ 6.0 vs. Visual Studio
    ... exsiting code under VS 5.0 without many problems. ... This include statement creates some strange errors on compile, ... This IDD_XXXXXX dialog identifier is not new - there are no compile ... This is a dialog template ID. ...
    (microsoft.public.vc.mfc)
  • Re: hid.dll & VC++ 6
    ... VC6 is too old. ... Many of the headers in the current WDK will not compile ... missing ')' before identifier 'HIDP_REPORT_TYPE' ...
    (microsoft.public.win32.programmer.kernel)