GLScene: Lazarus rebuild error. lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- Kjooow · 2008-11-28 15:22 Hi all! I'm using Lazarus ( 0.9.27.17377-20081114.i386 ) + FPC 2.3.1 on Ubuntu 8.10. All is fine (no errors on projects, no errors on rebuilding Lazarus). When I try to install GLScene 1.0.0.3 (from svn), I get this error: Quote ... "LCL" completed "SynEdit" completed "CodeTools" completed "Registrazione Pacchetto" completed "Interfaccia IDE" completed "Form JIT" completed /usr/lib/lazarus/examples/speedtest.pp(40,15) Note: Virtual method "TForm1.Paint;" has a lower visibility (protected) than parent class TCustomControl (public) "Esempi" completed "Compiling package ImagesForLazarus 1.0.1" completed ... "Compiling package glscenelazarus 1.0.0.3" completed /usr/bin/ld: cannot find -lGL /usr/lib/lazarus/ide/lazarus.pp(122,1) Error: Error while linking /usr/lib/lazarus/ide/lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Can you help me? ---------------------------------------------------------------------- Kjooow · 2008-11-28 23:58 Solved... 1° solution (it didn't work for me): cd /usr/lib/ sudo ln -s libGL.so.XXX libGL.so where XXX is the drivers version. (just do ls in /usr/lib/) 2° solution (it worked for me): libglu1-mesa-dev was missing, so: sudo apt-get install libglu1-mesa-dev GLScene installed and working with Lazarus 0.9.27 + fpc 2.3.1 (and gtk2 graphics) Bye