Re: EuTigr Released!
- Posted by jmduro 2 days ago
- 75 views
On Linux, OpenGL example fails on glClearColor.
/usr/local/euphoria-4.1.0-Linux-x64/include/std/ffi.e:1011 in function c_func()
c_proc/c_func: bad routine number (1)
rid = 1
args = {1,0,1,0}
fn = <no value>
cif = <no value>
name = <no value>
nargs = <no value>
parg_types = <no value>
rtype = <no value>
pargs = <no value>
pfree = <no value>
arg_types = <no value>
i = 1
parg = <no value>
rtype_size = <no value>
prvalue = <no value>
rvalue = <no value>
i = 3
... called from /home/duro/Data/Euphoria/v4/EuTigr-main/example/openGL.e:693 in procedure glClearColor()
r = 1
g = 0
b = 1
a = 0
void (from inlined routine 'c_proc' at 20) = <no value>
args (from inlined routine 'c_proc' at 17) = {1,0,1,0}
openGL.e has been modified as here:
ifdef WINDOWS then gl = open_dll("opengl32.dll") elsifdef LINUX then gl = open_dll("libOpenGL.so.0") end ifdef
Jean-Marc

