Path: news.mv.net!news.shore.net!newsfeed.mathworks.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!xxxx1.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!sager+ From: James W Sager Iii Newsgroups: comp.os.msdos.djgpp Subject: Re: Building Crystal Space Date: Sat, 2 Sep 2000 12:19:48 -0400 Organization: Fifth yr. senior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA Lines: 86 Distribution: world Message-ID: References: <4tgDnW600UwGE6X0gY AT andrew DOT cmu DOT edu> <2f22rs4h8gmidd89juh0fuq8uicqj19i46 AT 4ax DOT com> NNTP-Posting-Host: po6.andrew.cmu.edu X-Trace: bb3.andrew.cmu.edu 967911689 22699 128.2.10.106 (2 Sep 2000 16:21:29 GMT) X-Complaints-To: advisor AT andrew DOT cmu DOT edu NNTP-Posting-Date: 2 Sep 2000 16:21:29 GMT X-Added: With Flames (outnews v2.6) Xref: news.mv.net comp.os.msdos.djgpp:103092 Excerpts from netnews.comp.os.msdos.djgpp: 2-Sep-100 Re: Building Crystal Space by Damian Yerrick AT hotmail DOT c > >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." Just floating anywhere? Um ok... but it sounds deceptively simple. > >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 Oh.... yeaaaah. I didn't knowest about the hidden makefile.dj2! Thanks. > >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... You my friend are beyond the scope of mortal man. Yeah I got this working too. Wooo hooo > 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. > Ok, if I don't need it, I'll learn it later. I just want a damn FPS to show up on my computer screen so I can play around and change it into a game. I can live without jpeg for now.