Chaosforge Forum

  • December 21, 2024, 09:41
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Compile Errors  (Read 20450 times)

beam

  • Private FC
  • *
  • Offline Offline
  • Posts: 6
    • View Profile
Compile Errors
« on: February 25, 2007, 17:45 »

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

Code: [Select]
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

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

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/
Re: Compile Errors
« Reply #1 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. Till then you may try to replace ALL "Init" names with "Create" (and by ALL I mean ALL). This MIGHT work.
Logged
at your service,
Kornel Kisielewicz

beam

  • Private FC
  • *
  • Offline Offline
  • Posts: 6
    • View Profile
Re: Compile Errors
« Reply #2 on: February 26, 2007, 11:58 »

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.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/
Re: Compile Errors
« Reply #3 on: February 26, 2007, 13:05 »

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

konijn

  • Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 17
    • View Profile
Re: Compile Errors
« Reply #4 on: March 04, 2007, 17:15 »

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.

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 ;)

« Last Edit: March 05, 2007, 07:36 by Kornel Kisielewicz »
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/
Re: Compile Errors
« Reply #5 on: March 05, 2007, 07:37 »

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.

You know, some people are considering Valkyrie for their 7drl attempt ;) You're not making it easier for us ;)
Uh sorry I didn't think of that :/

Cheers,
T.

PS : Evil kaneevil to force me to register ;)
Yup, I'm inherently evil ^^
Logged
at your service,
Kornel Kisielewicz

konijn

  • Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 17
    • View Profile
Re: Compile Errors
« Reply #6 on: March 14, 2007, 06:21 »

For completeness sake,

all instances of 'Done' must be replaced with 'Destroy'.

T.
Logged

you

  • Programmer
  • Elder Chaos Guard
  • First Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 109
  • I am You!
    • View Profile
Re: Compile Errors
« Reply #7 on: February 10, 2009, 09:11 »

Sample Roguelike Tutorial 3, fixed to fit Valkyrie 0.4.2.
http://izmoden.ucoz.ru/myfiles/sr-step-3.zip
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/
Re: Compile Errors
« Reply #8 on: February 10, 2009, 09:27 »

Wow, thanks!

Although 0.4.2 is pretty outdated :).

I hope to have better support, documentation and release info when 0.5.0 comes out.
Logged
at your service,
Kornel Kisielewicz

konijn

  • Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 17
    • View Profile
Re: Compile Errors
« Reply #9 on: March 02, 2009, 20:19 »

Dude,

you said that 2 years ago !!!

fpc -Mobjfpc srmain.pas

Compiling vstream.pas
vstream.pas(160,9) Error: No matching implementation for interface method "IOutputStream.Write(const LongInt, Pointer);"
 found

T.
Logged

Igor Savin

  • Elder Chaos Guard
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 180
    • View Profile
Re: Compile Errors
« Reply #10 on: April 26, 2009, 09:46 »

Wow, thanks!

Although 0.4.2 is pretty outdated :).

I hope to have better support, documentation and release info when 0.5.0 comes out.

Is it coming... well... anytime?..
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/
Re: Compile Errors
« Reply #11 on: April 27, 2009, 02:30 »

I hope so >^_^<
Logged
at your service,
Kornel Kisielewicz
Pages: [1]