PDA

View Full Version : Project ? raised exception class Unknown



chronozphere
03-01-2010, 04:48 PM
Hey everyone

I installed FPC and lazarus and now I want to test some SDL/OpenGL samples. :)

I'm talking about the samples in:


/usr/share/fpcsrc/2.2.4/packages/opengl/examples

for example:

bounce.pp
glutdemo.pp
glxtext.pp


I had to move the pp files in the directory to my home directory, because lazarus wasn't authorized to write there. Now I can build the programs without problems, but running them results in the following message:



Project ??? raised exception class Unknown.


I've tried setting a breakpoint at the entry point of the program, but it never get's there.
I've allready looked at the compiler options but I can't find anything suspicious. I'm using Lazarus 0.9.28.2-0 in conjunction with FPC 2.2.4.

Can someone help me out?

Thanks a bunch :)

JSoftware
03-01-2010, 05:02 PM
Do you have glut libraries installed?

chronozphere
03-01-2010, 05:23 PM
Haha.. such a simple solution. :D Installing glut fixed the problem. Thanks. ;)