Delivery of an opengl application
Has anyone had any success delivering an application which uses the
openGL FLI past delivery level 0? For example, if I try to deliver the
icosahedron example from the opengl directory, it works on level 0, but
for anything higher, I get runtime errors of the sort (LWM4.4):
Error: An error of type CONDITIONS:UNKNOWN-KEYWORD-ERROR occurred,
arguments : (:UNKNOWN-ITEM :FOVY :KEYWORDS NIL :FUNCTION MAKE-INSTANCE
:ARGLIST (PROJECTION :FOVY 45.0D0 :ASPECT 1.0D0 :NEAR 1.0D0 :FAR 100.0D0))
1 (continue) Ignore the keyword :FOVY
2 (abort) Quit process.
I'm getting similar (but not identical) errors when I try to deliver my
personal application at level higher than 0. Here's the delivery script
I used in case it helps (this one is specifically for MacOS, but I think
I get same results on other platforms). This script was placed in the
opengl examples folder.
------------------------------------
(load-all-patches)
(load (make-pathname :directory (append (pathname-directory
(sys::lispworks-examples-dir)) '("configuration")) :name
"macos-application-bundle"))
(load (current-pathname "../host"))
(load "load")
(let ((path (write-macos-application-bundle "../opengl")))
(deliver
(lambda () (capi:display (make-instance 'icosahedron-viewer))) path
1 ; <---- notice the '1', I don't have problems if this is 0.
:interface :capi))
(quit)
Thanks,
--Andrew