Skip to contentSkip to conversation

]

Buildroot Claudio Leonel 2 participants 2 messages Nov 29, 2006 – Nov 30, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

I think so.
To be sure, I recompiled again from scratch and it compiled OK. I have attached my current makefiles for SDL and SDL_image. On the other hand, SDL and SDL_ttf are already working in the target, but SDL_image is not. My test application in the target freezes in graphic mode when I try to render the image. I am still investigating the problem.

Regards,

Quoted 20 lines

I have tried your "trick" for SDL_image compilation and even if I put the LDFLAGS you advised I always have the same link error (/usr/lib/libpng12.so pb)

Are you sure it was the only thing you changed ?

Thanks,
Julien

Quoting Claudio Leonel <[email protected]>:

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sdl_image.mk
Url: http://busybox.net/lists/buildroot/attachments/20061129/57dd1c57/attachment.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sdl.mk
Url: http://busybox.net/lists/buildroot/attachments/20061129/57dd1c57/attachment.asc

#2 lore raw
Quoted 5 lines · Claudio Leonel

Hi,

I think so.
To be sure, I recompiled again from scratch and it compiled OK. I have attached my current makefiles for SDL and SDL_image.

It would be much friendlier to others if you sent the patches instead. The patches either preserve changes made by others or fail. They don't undo changes made by others. Patches make the intent of the change easier to understand.

Others can make a patch from the whole files if they know your base version. But they cannot know if the patch is changing accidentally something that the author didn't intend to change.

Signature · 2 lines
Regards,
Pavel Roskin