I tried it on my usual computer, but it still didn't work. Same error. It must either be a compatibility error with Lazarus, or something irregular about my computer.
So the queestions are:
On my other computer (where Lazarus works) I downloaded and compiled the GLScene package. (There is info on it in the graphics programming tutorial on the wiki) It had multiple warnings, but compile completed. When I installed and rebuilt Lazarus, Lazarus gave an error saying that ode.dll was not found, and Lazarus could not run. Do you guys know what the problem was?
Why won't Lazarus work on my usual computer?
Is there a way in Lazarus to create a new object, say a button, in the onClick event of an existing button, or any event for that matter? How would I code that?