BerryBots pre-release testing help

Jump to navigation Jump to search

Versions after libpng12 broke compatability with libpng12 in notable ways. For this reason, libpng12 still has maintnance release, and many distributions (i.e. Arch Linux, Ubuntu, Debian, and after checking, Fedora 18 too) have pakages for both libpng12 and the newst version of libpng, which can be installed simuntaneously without conflict.

AW: You should be able to install a "libpng12" package from your package manager I believe.

Rednaxela17:05, 7 March 2013

I have no attachment to any libpng versions, so I guess the best move is to compile against whichever version works most commonly across default installs of Ubuntu / Mageia / Fedora, probably libpng14. Is that what you'd recommend?

Voidious18:01, 7 March 2013
 

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Voidious/BerryBots pre-release testing help/reply (14).

 

Thanks Rednaxela, this has been really helpful. If installing libpng12 is simple on most distros that don't ship with it, that sounds like the way to go.

I could still have a problem, though. wxWidgets will dynamically link to GTK, which dynamically links to system libpng. So I could then be linking to libpng12 and libpng15, which seems bad, but maybe it's not. I'll do some tests. Maybe I just have to build a separate binary release for Ubuntu/Debian and Fedora/Arch/Mageia, which isn't really a big deal.

Voidious19:47, 7 March 2013
 

Yeah, I installed libpng 1.2 and now I need libGLEW 1.8 (fedora's package mannager only has 1.7) It runs fine on Windows though!

AW21:58, 7 March 2013
 

Cool, thanks AW! Funny, Windows was the platform I was most worried about. :-) Btw are you on Windows 7?

I guess offering binaries compiled on several common Linux distros is probably a fairly safe way to go. Packaging as an RPM may help in defining/managing these dependencies, too, though.

Voidious23:13, 7 March 2013
 

It works here as well. But does seem to have an unused console window. Windows tends to be fairly straight forward once you know what it needs to have. Namely dlls.

On a side note, I have noticed random bot hitting itself with its own laser shots.

Chase04:11, 8 March 2013
 

Woot, thanks! And yeah, he's dumb like that. Chaser's even worse. :-)

Voidious04:12, 8 March 2013