Problem with VideoTest Linux lazarus / 39-Graphics ---------------------------------------------------------------------- klacus · 2010-12-02 07:07 Hi Folks. I have a following troubles when I try to compile the VideoTest.lpr. " TFMainForm.pas(82,27) Hint: Parameter "Src" not used /usr/bin/ld: warning: /home/kozma/Dokumentumok/lazarus/VideoTest/lib/i386-linux/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lglib VideoTest.lpr(19,1) Error: Error while linking VideoTest.lpr(19,1) Fatal: There were 1 errors compiling module, stopping " I use Lazarus 0.9.28.2 Ubuntu 10.10. What a frick is -lglib? Any dependency, or what?  Any package need for run? I want to use my webcam, the system can handle it ex. skype. So I don't know what's wrong... Please help me. Best Regards Laszlo ---------------------------------------------------------------------- Blaazen · 2010-12-02 17:44 Hi, I use Kubuntu, the same version like you. I think lglib could be libglib. Try open your package manager and write libglib. You will see what will be found. ---------------------------------------------------------------------- klacus · 2010-12-03 03:12 Hello. Thanks for your reply. Unfortunately I have it. I tried to install other modules, but no function. B.R. L. ---------------------------------------------------------------------- klacus · 2010-12-03 03:43 Quote from: Blaazen on December 02, 2010, 06:44:16 pmHi, I use Kubuntu, the same version like you. I think lglib could be libglib. Try open your package manager and write libglib. You will see what will be found. klacus@csysc-desc-design:~$ dpkg -l libgtk* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig- aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Név           Verzió        Leírás +++-==============-==============- ============================================ un  libgtk-directf         (nincs leírás) ii  libgtk-vnc-1.0 0.4.1-3ubuntu2 A VNC viewer widget for GTK+ (runtime librar ii  libgtk2-perl   2:1.222-1      Perl interface to the 2.x series of the Gimp un  libgtk2-perl-d         (nincs leírás) ii  libgtk2.0-0    2.22.0-0ubuntu The GTK+ graphical user interface library ii  libgtk2.0-0-db 2.22.0-0ubuntu The GTK+ libraries and debugging symbols ii  libgtk2.0-bin  2.22.0-0ubuntu The programs for the GTK+ graphical user int ii  libgtk2.0-cil  2.12.10-1      CLI binding for the GTK+ toolkit 2.12 ii  libgtk2.0-cil- 2.12.10-1      CLI binding for the GTK+ toolkit 2.12 ii  libgtk2.0-comm 2.22.0-0ubuntu Common files for the GTK+ graphical user int ii  libgtk2.0-dev  2.22.0-0ubuntu Development files for the GTK+ library un  libgtk2.0-doc          (nincs leírás) un  libgtkada2-bin         (nincs leírás) ii  libgtkgl2.0-1  2.0.1-1build1  OpenGL context support for GTK+ (shared libr ii  libgtkgl2.0-de 2.0.1-1build1  OpenGL context support for GTK+ (development ii  libgtkglext1   1.2.0-1.1fakes OpenGL Extension to GTK+ (shared libraries) ii  libgtkhtml-edi 1:3.30.3-1ubun HTML rendering/editing library - editor widg ii  libgtkhtml-edi 1:3.30.3-1ubun HTML rendering/editing library - editor widg un  libgtkhtml3.14         (nincs leírás) ii  libgtkhtml3.14 1:3.30.3-1ubun HTML rendering/editing library - runtime fil un  libgtkhtml3.14         (nincs leírás) un  libgtkmm-2.4-1         (nincs leírás) un  libgtkmm-2.4-1         (nincs leírás) ii  libgtkmm-2.4-1 1:2.20.3-1     C++ wrappers for GTK+ (shared libraries) ii  libgtksourcevi 2.10.5-0ubuntu shared libraries for the GTK+ syntax highlig ii  libgtksourcevi 2.10.5-0ubuntu common files for the GTK+ syntax highlightin un  libgtksourcevi         (nincs leírás) ii  libgtkspell0   2.0.16-1       a spell-checking addon for GTK's TextView wi ---------------------------------------------------------------------- Bart · 2010-12-03 12:27 The message probably refers to not finding the glib library. ld prepends a "-l" before the filename if it is a library. sudo apt-get install glib ? You probably need the glib-devel package as well. Bart ---------------------------------------------------------------------- klacus · 2010-12-06 04:01 I already have it.... ---------------------------------------------------------------------- davesimplewear · 2010-12-06 06:59 use synaptic or apt-get and install libglib-dev ---------------------------------------------------------------------- l_netwalker · 2011-02-05 11:49 Hi all, got the same error! So I searched a bit and set the following: TFMainForm.pas: change glib to glib2 in the uses clause RGBGTKRoutines.pas: insert: {$DEFINE LCLgtk2} after the interface statement Now everything compiles, but I get only a black image from my 2 different cams. Seems the same problem as in my post about 5dpo, my cams have jpeg frames! Any hints ? Hartmut