[lazarus] problem with linking: gdk_pixbuf

Marc Weustink marc at dommelstein.net
Sat Oct 25 07:27:33 EDT 2003


At 08:09 25-10-2003, Joris Spriet wrote:


> > Is there any output on the console window ?
>
>Yes, this is what I get in the console window:
>
>TOutputFilter: "Assembling project1"
>TOutputFilter: "Linking
>/home/joris/projects/project1/project1"
>TOutputFilter: "/usr/bin/ld: cannot find -lgdk_pixbuf"
>TOutputFilter: "project1.lpr(15) Error: Error while
>linking"
>TOutputFilter: "Closing script ppas.sh"
>[TMainIDE.DoOpenMainUnit] A ProjectLoading=FALSE
>MainUnitID=0
>
>The funny this is, I can compile lazarus, but not a
>project; when I build lazarus WITH
>OPT=-dNoGdkPixBufLib, it works, of course.  Strange ?

EHm... Do you mean here that you can build Lazarus without
OPT=-dNoGdkPixBufLib ?

>What "settings" should I check additionally ?

If you can build (clean) and run lazarus without options, you should be 
able to build & run your project.

>The compiler options are, according to the "Compiler
>options" dialog:  -Rintel -S2cgi -CD -Ch8000000 -OG1p1
>-gl -XD -vewnhi -l -Fu../lazarus/lcl/units/
>-Fu../lazarus/lcl/units/gtk/
>-Fu../lazarus/packager/units/ -Fu. -dLCL

What is the output of the "Test" button on the same "Compiler options" dialog

Marc







More information about the Lazarus mailing list