Usplash

Matthew Garrett mjg59 at srcf.ucam.org
Tue Jul 19 12:14:34 CDT 2005


On Tue, Jul 19, 2005 at 07:09:35PM +0200, Wouter Stomp wrote:
> 'gdImageCreateFromPng'pngtobogl.c:117: let op: assignment makes
> pointer from integer without a cast

You probably want libgd2-dev rather than the one you installed.

> cc -Os -g -D_GNU_SOURCE -Wall -D_GNU_SOURCE -DBOGL_CFB_FB=1 -o
> pngtobogl pngtobogl.o -lgd -lpng -lm
> /usr/bin/ld: cannot find -lpng

Install libpng-dev as well.
-- 
Matthew Garrett | mjg59 at srcf.ucam.org



More information about the ubuntu-devel mailing list