1. glue3 glut wrapper problems...

posted by: sblank at accessus.net

Hi,

I'm a complete neophyte to Euphoria, but have quite a bit of experience with
C/C++ OpenGL/GLUT programming.  I was able to run the OpenGL demos with the
OpenGL wrapper provided by Mic, but I had no luck with the glue3 wrapper.  Each
demo exited with the error message:

(Path to Euphoria)\include\dll.e:48 in function define_c_proc()
Invalid argument type
.. called from C:\(directory)\glue\validate.e:6 in function validate_proc()
.. called from C:\(directory)\glue\gl.e:1335
--> see ex.err

I could send the ex.err file if needed, but I was curious if anyone else had
this problem and what might be possible solutions?

I teach C/C++ to high school students through graphics programming in
OpenGL/Glut.  It really holds their interest and I get some outstanding projects
each year.  I am considering switching to Euphoria if I can get glut working
properly.  I have purchased and am using the full version of Euphoria.

Thanks in advance for any help/suggestions!

Stan

new topic     » topic index » view message » categorize

2. Re: glue3 glut wrapper problems...

Hi Stan,
    I think the problem is that the library was made for Euphoria 2.2 or 
earlier version. I tested it with 2.2 and runned fine, with 2.4 it gave 
me the same error.
    I didn't read the changes of define_c_proc or define_c_func in 
earlier versions after 2.2, so i can't tell you exactly what the problem 
is. Try contacting Mic, i'm sure he, or somebody that reads this mail 
will be able to tell you.

Best Regards,
    Guillermo Bonvehi

Guest wrote:

>
>posted by: sblank at accessus.net
>
>Hi,
>
>I'm a complete neophyte to Euphoria, but have quite a bit of experience with
>C/C++ OpenGL/GLUT programming.  I was able to run the OpenGL demos with the
>OpenGL wrapper provided by Mic, but I had no luck with the glue3 wrapper.  Each
>demo exited with the error message:
>
>(Path to Euphoria)\include\dll.e:48 in function define_c_proc()
>Invalid argument type
>.. called from C:\(directory)\glue\validate.e:6 in function validate_proc()
>.. called from C:\(directory)\glue\gl.e:1335
>--> see ex.err
>
>I could send the ex.err file if needed, but I was curious if anyone else had
>this problem and what might be possible solutions?
>
>I teach C/C++ to high school students through graphics programming in
>OpenGL/Glut.  It really holds their interest and I get some outstanding projects
>each year.  I am considering switching to Euphoria if I can get glut working
>properly.  I have purchased and am using the full version of Euphoria.
>
>Thanks in advance for any help/suggestions!
>
>Stan
>  
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu