In article
<CAAqgp_SLiVcYmDzmi=e7iGJUcr0N4zQ9J+B8F+m1pUV9gF07VQ@mail.gmail.com>,
Michael Grunditz <michael.grunditz@gmail.com> wrote:
> On 10 April 2018 at 00:05, Theo Markettos <theo@markettos.org.uk> wrote:
> > On Mon, Apr 09, 2018 at 11:13:48PM +0200, Michael Grunditz wrote:
> >> If I want to build applications that use SDL, should I build SDL with
> >> autobuilder or manually? I tried building it from source and it
> >> complained that it couldn't find "os.h".
> >
> > Alan probably knows more about this than me, but if you're cross-compiling
> > you can autobuild SDL and it should install into /home/riscos/env (or
> > wherever your GCCSDK tree is) so you can then link your program with it in
> > the normal GCC way (-lSDL).
> >
> > There isn't much to be gained by doing it manually, unless you want to
> > customise for some reason.
> >
> > I think the error about 'os.h' might be because it depends on OSLib (and
> > khronos). The autobuilder will build the prerequisites for you to satisfy
> > those dependencies.
> >
> > Theo
> Autobuilder: Using existing Sources.gz (testing/main)
> Autobuilder: Using existing Sources.gz (testing/contrib)
> Autobuilder: Using existing Sources.gz (stable/main)
> Autobuilder: Using existing Sources.gz (stable/contrib)
> Autobuilder: Searching for libpng12-0 in ../Sources-testing-main.gz...
> Autobuilder: Searching for libpng12-0 in ../Sources-testing-contrib.gz...
> Autobuilder: Searching for libpng12-0 in ../Sources-stable-main.gz...
> Autobuilder: Searching for libpng12-0 in ../Sources-stable-contrib.gz...
> AutoBuilder: Package not found
> Package libpng12-0: ***Failure***
> Build for package "libpng12-0" failed
> Where is libpng?
If the standard system is not retreiving for whatever reason, you can put a
line like
AB_URL=http://http.debian.net/debian/pool/main/libp/libpng/libpng_1.2.50.orig.tar.xz
at the top of the setvars file in the respective autobuilder directory.
ftp address's also work.
I usually search for 'debian source <packagename>' to get staight to a
choice of wheezy jessie or sid debian sources.
You need the link to <package>.orig.tar.gz or .xz or .bz2
Note that newer version could be incompatible with existing patch files,
and you could have to drop back to wheezy or jessie archives.
The above libpng directory also has libpng_1.2.49.orig.tar.bz2 if needed.
If working on a package you can put a copy of the archive on a local ftp
server and get it rapidly everytime.
HTH Ron M.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment