Re: [fpc-pascal] FreeGLUT on Windows

2015-12-24 Thread Michalis Kamburelis
Ryan Joseph wrote: > I’m trying to learn some basics of Windows and porting some OpenGL > code. The first step is getting an OpenGL context prepared but I’m > already stuck here. > I would recommend our Castle Game Engine http://castle-engine.sourceforge.net/ . It can be used together with Lazaru

Re: [fpc-pascal] FreeGLUT on Windows

2015-12-24 Thread Ryan Joseph
> On Dec 24, 2015, at 12:28 PM, leledumbo wrote: > > FreeGLUT is a drop-in replacement for GLUT (well, minus some behavior > difference which is documented in their website), so any GLUT program should > work on FreeGLUT. The Pascal wrapper, however, is not the same glut32 unit > because it link

Re: [fpc-pascal] FreeGLUT on Windows

2015-12-24 Thread Ryan Joseph
Thanks for all the links I appreciate it; I’ll look over these also and compare them to FreeGLUT for my uses. > On Dec 24, 2015, at 12:02 PM, Anthony Walter wrote: > > I recommend SDL 2.0. > > https://www.libsdl.org/download-2.0.php > > I have a complete pascal source code declaration of it

Re: [fpc-pascal] FreeGLUT on Windows

2015-12-23 Thread leledumbo
> There is a FreeGLUT package which it looks like FPC supports and I was able to find the units and download a recent .dll but it complains about missing symbols unless I add the glut unit which then attempts to load the glut32.dll and fails FreeGLUT is a drop-in replacement for GLUT (well, minus

Re: [fpc-pascal] FreeGLUT on Windows

2015-12-23 Thread Anthony Walter
I recommend SDL 2.0. https://www.libsdl.org/download-2.0.php I have a complete pascal source code declaration of it here: http://github.com/sysrpl/Bare.Game/blob/master/source/bare.interop.sdl2.pas I also have an object orient wrapper if you want to get straight into OpenGL: immediate mode cu