View previous topic :: View next topic |
Author |
Message |
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Jun 20, 2018 1:08 am Post subject: OpenGL Animation Example - missing file 'danimate.ins' |
|
|
While investigating Sid's problem I came across and tried to compile the documented OpenGL example here:
https://silverfrost.com/ftn95-help/clearwinp/opengl/animationandmultiplewindows.aspx
It fails because the INCLUE-ed file 'danimate.ins' doesn't exist.
I searched for it in both the ftn95 installation directory and also in the ftn95Examples directory, but no luck finding it.
Any idea where it is Paul ? _________________ ''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... " |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Jun 20, 2018 7:29 am Post subject: |
|
|
It looks like this file has got lost. I can't find it on my machine.
A probable reconstruction for danimate.ins is
Code: | logical window1_active,window2_active,do_draw(2)
integer devicecontext(2),renderingcontext(2) |
The program fails to run correctly and the runtime message is "No OpenGL buffers are open".
I am guessing that the program ran correctly when it was written but that OpenGL has moved on since then. I will make a note that this needs to be investigated.
OpenGL samples that did run (last time I tested them) can be found in C:\Users\YourName\Documents\FTN95 Examples\OpenGL, assuming you use the C drive and you have installed the standard samples. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Jun 20, 2018 8:57 pm Post subject: |
|
|
thanks Paul
I'd checked in the examples directory so saw all those other examples.
I shall give them a try as and when I get time.
Just one point, I'm sure there are many folk who don't even know that the examples directory is put there.
Maybe it would be agood idea to modify the program install for future releases so that the user is prompted (as to where the files will be put) and given the option to specify a different directory. _________________ ''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... " |
|
Back to top |
|
|
|