Re: Want to compile my roguelike



On 2006-07-30 09:02:46, Ojomax <lahtonen.sampsa@xxxxxxxxxx> wrote:

On 2006-07-29 21:46:24, Cosmic Gerbil wrote:

On 2006-07-29 18:16:21, Cosmic Gerbil wrote:

On 2006-07-29 18:07:41, Cosmic Gerbil wrote:

On 2006-07-29 01:00:43, Hugo Kornelis wrote:

On Fri, 28 Jul 2006 06:29:36 +0000 (UTC), Cosmic Gerbil wrote:

(snip)
Lol, I have no idea where I got a makefile from. I just downloaded the source
code for FuryBand and was using that :)

Do I need a seperate FuryBand makefile then?

Hi Cosmic,

In my experience, you don't need a makefile with lcc-win32. At least not
for compiling vanilla Angband.

Start by following the instruction listen on www.thangorodrim.net for
the lcc compiler. Beware - in the step where it says which files to
import, it relies on a sorting order that's not standard anymore. You'll
have to include all .c files except the various main*.c - from that set,
you only need the main-win.c version.

After following the steps, click "Compiler" / "Generate Makefile". And
then, click "Compiler" / "Make". You'll probably get an error with a
very non-descriptive message. Now, use "File" / "Open" to open the
main-win.c file and click "Compiler" / "Make" again. You still have an
error, but there's more info now (appparently, a library file or
reference or such that's missing - I never can remember) - and an offer
to automatically correct the error. Accept the offer.

Now, click "Compiler" / "Make" once more, and it works.

Note: The aboove applies to compiling Vanilla Angband 3.0.6 on my
computer (both my current, using Win XP Pro and my previous, using Win
2K Pro). No guarantees for other variants and other computers.

Best, Hugo

--
Angband spoilers: http://ourworld.compuserve.com/homepages/hugo_kornelis/Angband/Spoiler/index.htm
Angband UI Patch: http://ourworld.compuserve.com/homepages/hugo_kornelis/Angband/UIpatch/index.htm
--



Aw, it's still giving the same error. I opened the main-win.c file and clicked
make again, but it didn't offer to fix an error :(

At least I know what the makefile is now...it builds one for me :) I'll just
keep trying and see if I can get it to work.

Thanks for helping me dude :)
--
Cosmic Gerbil (r)


If it's any help if I tell the compiler to create a skeleton code, it will
generate a Gerband exe. However this exe doesn't do anything...you can open it
and it has a toolbar across the top saying file and help. If you click on them
nothing happens, lol :) I've no idea what it's for.

--
Cosmic Gerbil (r)


I've been working nearly all day trying to compile. i've tried the FuryBand
source code and the Angband 3.0.5 source code (I can't download 3.0.6).
Everytime I get loads of errors. Lol, I think I'll just give up with the lcc
compiler :D

--
Cosmic Gerbil (r)

Well if it's any help you're not the only one who can't compile anything with
lcc... tried it a couple months ago and couldn't compile anything without
errors. (Actually, I could create an exe that seemingly worked by removing
everything
concerning lua from the makefile but not surprisingly that exe crashed when the
character race/class were chosen ;-) )

Ojomax




Lol, I'm glad I'm not the only one having problems ;) Compiling is a pain isn't
it :)
--
Cosmic Gerbil (r)
.



Relevant Pages

  • Re: Want to compile my roguelike
    ... Do I need a seperate FuryBand makefile then? ... you don't need a makefile with lcc-win32. ... The aboove applies to compiling Vanilla Angband 3.0.6 on my ... If it's any help if I tell the compiler to create a skeleton code, ...
    (rec.games.roguelike.angband)
  • Re: Want to compile my roguelike
    ... Do I need a seperate FuryBand makefile then? ... you don't need a makefile with lcc-win32. ... The aboove applies to compiling Vanilla Angband 3.0.6 on my ... If it's any help if I tell the compiler to create a skeleton code, ...
    (rec.games.roguelike.angband)
  • Re: How to not build all projects when pressing <F5>
    ... Luis Capriles wrote: ... > Even after I find it, it does exactly the same thing –it visits all the projects in the solution before compiling the files that need compiling. ... use themselves for project managing. ... A lot of sample codes comes with makefile, ...
    (microsoft.public.vc.ide_general)
  • Re: How to not build all projects when pressing <F5>
    ... It would just be very nice if I could find a way to reproduce the build behavior of the Developer Studio 6.0 ... >> Even after I find it, it does exactly the same thing –it visits all the projects in the solution before compiling the files that need compiling. ... >> Luis. ... A lot of sample codes comes with makefile, ...
    (microsoft.public.vc.ide_general)
  • Re: makefile help
    ... linker utility to generate an output file. ... I'm compiling for our own processor. ... makefile for achieving this. ... Linux Potpourri and a.o.l.s. ...
    (alt.os.linux.suse)