Coding > FPC Valkyrie

Compile Errors

(1/3) > >>

beam:
Hey, I just want to say that Valkyrie is great, but I've been experiencing some problems with it.


--- Code: ---Free Pascal Compiler version 2.0.4 [2006/08/21] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling c:\fpc\202a8d~1.4\projects\sr\sr.pas
Compiling srmain.pas
Compiling srmap.pas
Compiling srentity.pas
srentity.pas(20,20) Error: There is no method in an ancestor class to be overridden: "constructor TEntity.Init"
srentity.pas(31,1) Fatal: There were 1 errors compiling module, stopping
srentity.pas(10,23) Fatal: Compilation aborted

--- End code ---

I'm trying to do the SR tutorial, and that error always pops up. Any idea what I might be doing wrong?

Kornel Kisielewicz:
The problem is that the sr tutorial was written under the 4.0 valkyrie version :/. I plan making a very updated and complete roguelike tutorial, but not before the 7DRL competition. Till then you may try to replace ALL "Init" names with "Create" (and by ALL I mean ALL). This MIGHT work.

beam:
Thanks, that worked great. It fixed the valkyrie compile errors, but then it said that Freepascal couldn't find the gzio unit. I downloaded paszlib, but for some reason crc.pas generates all kinds of crazy errors. I'm sure I'll get it working though.

Kornel Kisielewicz:
Hmm, you don't need paszlib anyway. You can try commenting off all gz stuff.

konijn:

--- Quote from: Kornel Kisielewicz on February 25, 2007, 18:07 ---The problem is that the sr tutorial was written under the 4.0 valkyrie version :/. I plan making a very updated and complete roguelike tutorial, but not before the 7DRL competition.

--- End quote ---

You know, some people are considering Valkyrie for their 7drl attempt ;) You're not making it easier for us ;)

Cheers,
T.

PS : Evil kaneevil to force me to register ;)

Navigation

[0] Message Index

[#] Next page

Go to full version