Re: Glut Problem

2010-12-13 Thread Klaus Ramstöck
Am 12.12.2010 21:33, schrieb Reini Urban: > 2010/12/9 Klaus Ramstöck: >> Am 08.12.2010 18:33, schrieb André Bleau: int button, state; ((GLUTbuttonBoxFCBUSR)__glutGetFCB(GLUT_FCB_BUTTON_BOX))(&button, &state); > > Can you try it with long for button and state? > > Fortran calling conven

Re: Glut Problem

2010-12-12 Thread Reini Urban
2010/12/9 Klaus Ramstöck: > Am 08.12.2010 18:33, schrieb André Bleau: >>> int button, state; >>>  ((GLUTbuttonBoxFCBUSR)__glutGetFCB(GLUT_FCB_BUTTON_BOX))(&button, &state); Can you try it with long for button and state? Fortran calling conventions are weird, und usually require argument padding.

Re: Glut Problem

2010-12-09 Thread Klaus Ramstöck
Hi André, Am 08.12.2010 18:33, schrieb André Bleau: > "Dont start". What does that mean? Your programs crash? You get an error > message? Please be more > explicit. No, this is windows, I dont get an error message. Unless I start the program with the sysinternals tool VMMayp, when he tells me he

Re: Glut Problem

2010-12-08 Thread André Bleau
Klaus Ramstöck wrote: > Dear list, Hi Klaus, > > I tried to compile f90gl under a current cygwin. With some grey hair, I > succeded, but my programs dont start. "Dont start". What does that mean? Your programs crash? You get an error message? Please be more explicit. > I analysed the

Glut Problem

2010-12-02 Thread Klaus Ramstöck
Dear list, I tried to compile f90gl under a current cygwin. With some grey hair, I succeded, but my programs dont start. I analysed the problem an can reproduce it with this modified example glut program. >From /usr/share/doc/opengl-1.1.0/GLUTexamples/helloGlut.c: cut #include #include #incl