[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mgp-users 00411) Re: [Fwd: Compiling MagicPoint [Newbie Question]]



Urban Anjar wrote:
> -L/usr/lib -L/usr/lib -lm  -L/usr/lib -lpng  -lXext -lX11
                                          ^problem
Either your libpng is not in /usr/lib (maybe /usr/local/lib ?) or it is
missing at all.

> ./image/libmgpimage.a(png.o): In function `pngLoad':
> png.o(.text+0x1aa): undefined reference to `png_set_palette_to_rgb'
> png.o(.text+0x1cc): undefined reference to `png_set_gray_1_2_4_to_8'
> png.o(.text+0x204): undefined reference to `png_set_tRNS_to_alpha'
> collect2: ld returned 1 exit status
> make: *** [mgp] Error 1

--
David.