DoomRL > Bug Reports

DRL won't compile with default settings


I'm interested in keeping this game alive and adding some features to my own personal version of the game, but while I've got Lua experience, I've got no experience programming in Pascal, so first I decided to try compiling a fresh batch of DoomRL Source Code to make sure I knew that was working.

I followed the instructions on the GitHub exactly:

I installed the latest 32-bit version of Lazarus, as instructed. I managed to put the Valkyrie libraries in the right place, and the program found them, so that was promising.

The problem is, when I clicked Build after opening src/makewad.lpi, it gave me an error, and I suspect this is why the instructions tell you to use 32-bit Lazarus:

--- Quote ---vconui.pas(411,20) Error: Can't determine which overloaded function to call
--- End quote ---

A google search told me that this is related to the compiler trying to build it in 64-bit and having two options for which data type to use and not being able to decide. However, the search results also stated it does compile in 32-bit Lazarus...

4 years ago.

Unfortunately, I triple-checked that I am in fact using 32-bit Lazarus, I even tried using an older version dated to Jan 5 2022, and when that also failed, I used many options in the menus to try and get it to compile a 32-bit program. None of them worked. Unfortunately, I am using 64-bit Windows, so maybe that's the issue...

Unfortunately, this means the instructions are incomplete, and I can't create makewad.exe. Without these files, any changes or updates I try to make to the source code would be pointless, so I'm afraid I can't continue unless somebody knows a workaround.

Can somebody help me?

EDIT: I may have figured it out. Cross-compiler instructions may be needed.

I'll try this and update later.

EDIT 2: NOPE. That did not work. Exact same problem.

I had an idea! Could someone else with access to 32-bit Windows compile makewad.exe for me, using the instructions on the github? That's all I need, really. If I had that, I might be able to do the rest myself and start seeing what I can do! Maybe even start adding some content. Been dying to try.

Kornel Kisielewicz:
Hey, use the development branch of both doomrl and fpc valkyrie - should compile both in 32 and 64 bit without issues.


[0] Message Index

Go to full version