FLI type error
"Paul Werkowski (as pw at snoopy dot qozzy dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
I'm looking at some code from 5-10 years ago, experimenting with OPENGL, that uses the LW example code to setup the interface. The icosahedron example works fine so no issue there. Here are two fragments from my code. (let ((pos-attr (gl-get-attrib-location shader-pgm "aPos")) (let((unicolor (gl-get-uniform-location shader-pgm "triangleColor"))) Both of these get a runtime error "aPos" (and "triangleColor") cannot be converted to foreign type (:POINTER OPENGL:GLCHAR). GLCHAR is defined in opengl/types.lisp as (fli:define-c-typedef (glchar (:foreign-name "GLchar")) :char) Same issue with both LWW 8.1.2 64 bit and 7.1.2 32 bit. This all used to work. What could be wrong??? Puzzled again, Paul _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html