Recent

Author Topic: OpenGL in Lazarus??  (Read 11721 times)

Mike no worth

  • Guest
OpenGL in Lazarus??
« on: December 16, 2004, 10:53:47 pm »
I'm not sure where to ask this. Anyway..

 What do I set so I may compile OpenGL programs? It's really heart-breaking that there is no direct support for OpenGL in a freepascal IDE..

 Anyway, couldn't find any OpenGL questions in here on setting it up, and yeah I'm not a big xhardcorex year 2004 IDE programmer. (I don't know my way around any IDE made after '96) I'm still in the turbo pascal past.

 Any help would be greatful.  8)

Anonymous

  • Guest
OpenGL in Lazarus??
« Reply #1 on: December 17, 2004, 01:25:01 am »
Hah. I figured it out.. I was using a tutorial's example which called for the unit OpenGL (not GL). My bad.  :mrgreen:

Lightning

  • Sr. Member
  • ****
  • Posts: 422
OpenGL in Lazarus??
« Reply #2 on: December 17, 2004, 11:48:36 am »
Man, check www.delphigamer.com (it's all about graphics, sound, games, opengl, openal, directx, etc.), you might find links to other websites like, www.sulaco.co.za or www.delphi3d.net
FPC uses the delphi3d gl units wich have the original C names not the borland names, you can also find other OpenGL headers on the web wich might work like those from delphigl.
GLScene is being ported to Lazarus too so you see it's not that hard to use OpenGL with a Pascal compiler.
I suggest trying Lazarus (i found delphi hard to use until someone showed me it's as simple as clicking on a component then on the main form) using IDEs like Lazarus is verry easy, codetools are also verry useful and you can make simple pascal projects with Lazarus too having decent scrolling not 80x25 chars :lol:
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Flo

  • New Member
  • *
  • Posts: 10
OpenGL in Lazarus??
« Reply #3 on: June 24, 2005, 10:26:34 pm »
You do not really need a component to use OpenGL. You may use a SDL from the jedis.

DelphiGL.com is the best "Pascal & OpenGL" site, the only problem is that it is in german.

If you have some questions about OpenGL and Pascal you may have a visit the englisch Forum of DelphiGL.com.


Flo

 

TinyPortal © 2005-2018