Chaosforge Forum

  • November 12, 2024, 17:25
  • Welcome, Guest
Please login or register.



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

Author Topic: Compiling won't work  (Read 10201 times)

Don Andy

  • Private
  • *
  • Offline Offline
  • Posts: 1
    • View Profile
Compiling won't work
« on: June 25, 2008, 00:45 »

Soo, yah, I figured Valkyrie would be an awesome library to start making Roguelikes with, however, I can't get it to work, at all.

I got both the 0.8 as well as the 0.85 source of Berserk and tried to compile them with both the SVN Valkyrie version, as well as the 0.4.1 version (as it says in the readme) of the Valkyrie website, again to no avail.

Currently, I'm trying to compile with 0.8 Berserk and 0.4.1 Valkyrie and get the following error:

vutil.pas(86,64) Fatal: Syntax error, ) expected but = found

I've tried with multiple command line options, ranging from -Sc, -Sd over to -S2 but nothing seems to work :/

Also, I dunno if the tutorial on the website still is horribly out of date, but a new version would be kinda awesome. Nevertheless, a tutorial wouldn't be of much use if I can't even get the library itself to compile, so yeah xD

Edit:
Sooo, after a lot of fiddling around, I came to the conclusion that I have the syntax switches (and all the other compiler stuff) set wrong. Sadly, I can't for the love of god figure out which settings work, so I'll keep trying.

Another Edit:
Everything SEEMS to work for now, except for one tiny thing, being the same error as in http://forum.chaosforge.org/index.php?topic=977.0
The suggested solution is to use the SVN version of Valkyrie, which I AM using, so I'm kind of at a loss what to do there.
« Last Edit: June 25, 2008, 11:26 by Don Andy »
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4576
    • View Profile
    • http://chaosforge.org/
Re: Compiling won't work
« Reply #1 on: October 13, 2008, 02:53 »

Valkyrie and the open source projects using it (DiabloRL and Berserk!) will be updated soon. I plan to make Valkyrie more stable now, and more up to date.
Logged
at your service,
Kornel Kisielewicz

Igor Savin

  • Elder Chaos Guard
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 180
    • View Profile
Re: Compiling won't work
« Reply #2 on: October 14, 2008, 04:22 »

How soon is "soon" (-: ?

BTW, updating for FPC 2.2.2 would win additional points of Awesome.
« Last Edit: October 14, 2008, 04:23 by Igor Savin »
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4576
    • View Profile
    • http://chaosforge.org/
Re: Compiling won't work
« Reply #3 on: October 14, 2008, 15:14 »

2.2.2 has broken generics support ( http://bugs.freepascal.org/view.php?id=12249 ) , until it will be fixed, use the more stable 2.2.0.
Logged
at your service,
Kornel Kisielewicz
Pages: [1]