Hi Alex,
I'm maybe a bit optimistic, but I had to try OpenGL with pil64emu (again
on Mac) ...
f3bmac3:picoLispEmu jkleiser$ ./pil somePath/tst64.l +
[/Volumes/P3/Pico/gl64/tst64.l:7] !? (native "/usr/lib/libglut.so"
"glutInit" NIL '(NIL (8) . 0))
[DLL] dlopen(/usr/lib/libglut.so, 9): image not found
?
In the lib/openGl.l I can see this:
(default
*GluLib "/usr/lib/libGLU.so"
*GlutLib "/usr/lib/libglut.so" )
From what I can see, there's no libglut.so to be found on my Mac.
If there are others around that want to try the same with pil64emu on
non-Macs (or Macs), here's the tst64.l:
# 22jul10abu
# 21jul10jk
# (c) Software Lab. Alexander Burger
(load "@lib/openGl.l")
(glutInit)
(glutInitDisplayMode (| GLUT_SINGLE GLUT_RGB))
(glutInitWindowSize 250 250)
(glutCreateWindow "Test Window")
(glClearColor 0.0 0.0 0.0 0.0)
(glMatrixMode GL_PROJECTION)
(glLoadIdentity)
(glOrtho 0.0 1.0 0.0 1.0 -1.0 1.0)
(displayPrg
(glClear GL_COLOR_BUFFER_BIT)
(glColor3f 1.0 1.0 1.0)
(glBegin GL_POLYGON)
(glVertex3f 0.25 0.25 0.0)
(glVertex3f 0.75 0.25 0.0)
(glVertex3f 0.75 0.75 0.0)
(glVertex3f 0.25 0.75 0.0)
(glEnd)
(glFlush) )
(glutMainLoop)
# vi:et:ts=3:sw=3
---
/Jon
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe