[Tux4kids-tuxtype-dev] Cross-Compile problem
Matthew Trey
tux4kids at treyhome.com
Mon Aug 17 22:48:04 UTC 2009
Reporting back on the cross compilation using the latest and greatest source
packages.
the cross compile works great with the options suggested with one small
change, it should be:
mingw32-config --without-rsvg --without-sdlpango
(just rsvg and not librsvg .. I know.. semantics...)
the only other problem I had was that tuxtype was quitting without warning
when either the
cascade or laser game tried to load, but my build of SDL_image was to blame
here. I did
not have libjpeg installed and SDL_image quietly turned off jpeg support
during configure. The result was that
when tuxtype tried to load the jpeg backgrounds, SDL_image gave nothing and
the application
just quit.
SO if anyone else runs into that problem, check to make sure you have
libjpeg before you build SDL_image!
Thanks for the help Dave.
- Matt Trey
----- Original Message -----
From: "David Bruce" <davidstuartbruce at gmail.com>
To: "Matthew Trey" <tux4kids at treyhome.com>
Cc: <tux4kids-tuxtype-dev at lists.alioth.debian.org>
Sent: Saturday, August 15, 2009 6:10 PM
Subject: Re: [Tux4kids-tuxtype-dev] Cross-Compile problem
> Hi Matthew,
>
> On 8/14/09, Matthew Trey <tux4kids at treyhome.com> wrote:
>> Hello, I would like to kick the tires, so to say, on tuxtype. After some
>> wrestling with the fedora mingw32 packages, I got most of the
>> dependencies
>> compiled and ready to go. Then I went to compile tuxtype, the linker
>> came
>> back complaining that it needs librsvg. OK no problem, just 1 more
>> library
>> right? Not so easy. Librsvg requires popt and when I try to compile
>> popt,
>> the sky falls.
>
> The win32 crossbuilds I've done for tuxmath and tuxtype are for
> versions prior to this year when we added several new dependencies,
> including librsvg. I have not yet worked on trying to add librsvg to
> my cross-build setup. If anything, thanks for the heads-up on this.
> My system is x86-64 Debian - not sure if I will have the same issues
> or different ones. The plan is to try to tackle this after GSoC winds
> down.
>
> In the past I made a brief attempt to support libsdl_pango in the
> crossbuild and ran into problems I could not solve, at least not
> easily.
>
> However, tuxtype does not actually use rsvg for much of anything, and
> the configure script has an option to not use it. So I think you
> should be able to do:
>
> ./configure --without-librsvg --without-sdlpango
>
> Hope that helps, and I would be extremely interested to hear about
> your experience working on this.
>
> David Bruce
More information about the Tux4kids-tuxtype-dev
mailing list