www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/02/11:00:04.2

Path: news.mv.net!news.shore.net!newsfeed.mathworks.com!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail
From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Building Crystal Space
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <2f22rs4h8gmidd89juh0fuq8uicqj19i46@4ax.com>
References: <4tgDnW600UwGE6X0gY AT andrew DOT cmu DOT edu>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 75
X-Trace: +SCKgJ6wBl8DpOR/K3aVSlBbZScy5sA9vbdHYn3UO8bqO9LOpp4yTMXMbL+KxueENEJwT7+qisun!mEVqrf8XFFQOvSD0kidpZ22e5CHvl0L5uQHeKduYU86kOAGRcM3K9PW5k50cWHyaoe5P32Y3JMIK!szKAngw=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 02 Sep 2000 14:29:35 GMT
Distribution: world
Date: Sat, 02 Sep 2000 14:29:35 GMT
Xref: news.mv.net comp.os.msdos.djgpp:103088

On Sat,  2 Sep 2000 09:13:06 -0400, James W Sager Iii
<sager+@andrew.cmu.edu> wrote:

>If you don't know how to build the 3d library Crystal Space, disregard
>this post. I doubt many have done this, but I'm posting here for now.  I
>will also track down where the Crystal Space guru's live and post there.
>
>Any help would be appreciated.
>
>I am simply trying to build Crystal Space on DJGPP
>
>
>Steps taken to compile:
>
>Reading the faq:
>
>2.2 External libraries
>
>PROBLEM 1) External libraries:
>
>Downloaded: ftp://ftp.linuxgames.com/crystal/support/winlibs14.zip 
>
>But it doesn't say where to unzip this stuff at.

Assume: "in a new folder" unless readme says otherwise once you've
tried "in a new folder."

>PROBLEM 2) Zlib:

It loads 'deflate' compressed data such as the data inside PNG
textures.

>Downloaded zlib:ftp://ftp.uu.net/graphics/png/src zlib113
>
>C:\CS\libs\zlib>make
>cc -O   -c -o example.o example.c
>make.exe: *** [example.o] Error -1

I did

unzip zlib.zip -d zlib          # or use winzip
cd zlib
cp msdos/makefile.dj2 makefile
make

works4me

>PROBLEM 3) libpng:

It loads textures in .png format.

>There is like super arcane instructions beyond the scope of
>mortal man on how to compile for DJGPP...

After I built zlib and unzipped libpng, I did

cp scripts/makefile.dj2 makefile
make test
cp libpng.a c:/Personal/DJGPP/lib
cp *.h c:/Personal/DJGPP/include

Then I installed an Allegro wrapper for libpng.

>PROBLEM 4) libjpg:

It loads textures in .jpg format.  It might be hard to compile but
there may be an option in Crystal Space to disable use of JPEG
textures.

-- 
tiddly-day interj. (used to express agreement.)
  [American cellphone lingo]

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019