From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claudio Leonel Date: Wed, 29 Nov 2006 09:14:15 -0200 Subject: [Buildroot] [Fwd: Re: SDL_image, SDL_ttf & Co (libpng12.So bug)] In-Reply-To: <1164648470.456b2016bbf49@imp5-g19.free.fr> References: <456AE31F.9020200@elaxys.com.br> <456AE6A3.1020409@elaxys.com.br> <1164648470.456b2016bbf49@imp5-g19.free.fr> Message-ID: <456D6B87.7070207@elaxys.com.br> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi, Thanks, using this flags in configure, SDL_ttf compiled OK ! Regards, julien.boibessot at free.fr wrote: > Hi, > > >>I was using buildroot version 20061111 and managed to >>compile SDL_image including the following flags (LDFLAGS) for the >>linker. >> >>$(SDL_IMAGE_DIR)/.compiled: $(SDL_IMAGE_DIR)/.configured >> $(MAKE) LDFLAGS=$(STAGING_DIR)/lib/libpng12.so -C $(SDL_IMAGE_DIR) >> touch $(SDL_IMAGE_DIR)/.compiled >> > > > Well I investigate a little too and find that when removing "showimage" example > compilation from Makefile, then I was able to compile SDL_image. (The error on > libpng12.so is during showimage tool link.) But if think your solution is > cleaner > ;-) > > >>I had to change the sdl.mk for SDL adding the following line >>to configure: >> --disable-video-directfb >> > > ok ,thanks for the tip ! > > >>I am now having problems compiling SDL_ttf ... > > > I had problems too :-). I suppose you have the same: missing OpenGL library. > I was able to compile SDL_ttf (2.0.8) when adding the following options to > configure: > --disable-sdltest > --without-x > --disable-opengl > > I attach my SDL_ttf makefile if it can help you. Let me know if it solves your > problem ! > > regards, > Julien