RE: OPENGL HELP!!!!

new topic     » topic index » view thread      » older message » newer message

ck,

You'll get this error if you don't have glut32.dll in your path.  
However, when I downloaded the latest version from 
http://www.xmission.com/~nate/glut.html the program terminates without 
errors when doing glutCreateWindow.  So there may be some version 
compatibility problems here as well.

I'll let you know if I can get it working with the latest version of 
glut32.dll.

-- Brian 

C. K. Lester wrote:
> Hi.
> 
> I'm trying to get into OpenGL/GLUT programming with EUPHORIA and I'm 
> trying to use Daniel Kluss' glut demos but they crash with the following 
> 
> message:
> 
> C:\Documents and 
> Settings\Administrator\Desktop\daniel_kluss_opengl\glut.e:501 in 
> procedure glutInit() 
> c_proc/c_func: bad routine number (-1) 
>     cmd = {{67'C',58':',92'\',69'E',85'U',80'P',72'H',79'O',82'R',73'I',
> 65'A',92'\',66'B',73'I',78'N',92'\',69'E',88'X',87'W',46'.',69'E',88'X',
> 69'E'},{67'C',58':',92'\',68'D',111'o',99'c',117'u',109'm',101'e',110'n',
> 
> 
> 116't',115's',32' ',97'a',110'n',100'd',32' 
> ',83'S',101'e',116't',116't',
> 105'i',110'n',103'g',115's',92'\',65'A',100'd',109'm',105'i',110'n',105'i',
> 
> 
> 115's',116't',114'r',97'a',116't',111'o',114'r',92'\',68'D',101'e',115's',
> 
> 
> 107'k',116't',111'o',112'p',92'\',100'd',97'a',110'n',105'i',101'e',108'l',
> 
> 
> 95'_',107'k',108'l',117'u',115's',115's',95'_',111'o',112'p',101'e',110'n',
> 
> 
> 103'g',108'l',92'\',103'g',108'l',117'u',116't',100'd',101'e',109'm',
> 111'o',46'.',101'e',120'x',119'w'}}
>     a = 7879088
>     b = 7962520
> 
> ... called from C:\Documents and 
> Settings\Administrator\Desktop\daniel_kluss_opengl\glutdemo.exw:139 
> 
> Global & Local Variables
> 
>  C:\EUPHORIA\include\machine.e:
>     check_calls = 1
> 
>  C:\Documents and 
> Settings\Administrator\Desktop\daniel_kluss_opengl\glutdemo.exw:
>     my_window = <no value>
> 
> Somebody please help... Daniel? Mic?
> 
> Thanks!
> ck
> 
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu